[llvm] [orc-rt] Generalize testcases for different target archs (PR #222629)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 05:39:08 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r origin/main...HEAD orc-rt/test/regression/lit.cfg.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- lit.cfg.py 2026-09-10 12:34:25.000000 +0000
+++ lit.cfg.py 2026-09-10 12:38:31.044227 +0000
@@ -91,7 +91,6 @@
config.substitutions.append(("%macos-product-version", platform.mac_ver()[0]))
config.substitutions.append(("%target_triple", config.target_triple))
# The architecture the runtime was built for, so tests can check the triple it
# reports against an independent source.
-config.substitutions.append(
- ("%target-arch", config.target_triple.split("-")[0]))
+config.substitutions.append(("%target-arch", config.target_triple.split("-")[0]))
``````````
</details>
https://github.com/llvm/llvm-project/pull/222629
More information about the llvm-commits
mailing list