[llvm] [Bolt] Solving pie support issue (PR #65494)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 12 07:37:38 PST 2023
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 8569465adf5e6c792e88be56b0e6b24f1c74e633..c312e120f77016bd1122c3adfebf2ef64e5dc88c bolt/test/lit.cfg.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- lit.cfg.py 2023-11-12 15:23:27.000000 +0000
+++ lit.cfg.py 2023-11-12 15:37:31.704667 +0000
@@ -74,12 +74,12 @@
config.available_features.add("gnu_ld")
if lit.util.which("fuser"):
config.available_features.add("fuser")
-if shutil.which('perf') != None:
- config.available_features.add('perf')
+if shutil.which("perf") != None:
+ config.available_features.add("perf")
llvm_config.use_default_substitutions()
llvm_config.config.environment["CLANG"] = config.bolt_clang
llvm_config.use_clang()
``````````
</details>
https://github.com/llvm/llvm-project/pull/65494
More information about the llvm-commits
mailing list