[llvm] [BOLT] Remove llvm-bolt-wrapper logic from NFC-Mode (PR #146209)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 3 01:36:23 PDT 2025


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 HEAD~1...HEAD bolt/utils/nfc-check-setup.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- nfc-check-setup.py	2025-07-03 08:31:55.000000 +0000
+++ nfc-check-setup.py	2025-07-03 08:35:56.857763 +0000
@@ -145,11 +145,12 @@
         script_dir = os.path.dirname(os.path.abspath(__file__))
         wrapper_path = f"{script_dir}/llvm-bolt-wrapper.py"
         try:
             # set up llvm-bolt-wrapper.ini
             ini = subprocess.check_output(
-                shlex.split(f"{wrapper_path} {bolt_path}.old {bolt_path}.new") + wrapper_args,
+                shlex.split(f"{wrapper_path} {bolt_path}.old {bolt_path}.new")
+                + wrapper_args,
                 text=True,
             )
             with open(f"{args.build_dir}/bin/llvm-bolt-wrapper.ini", "w") as f:
                 f.write(ini)
             # symlink llvm-bolt-wrapper

``````````

</details>


https://github.com/llvm/llvm-project/pull/146209


More information about the llvm-commits mailing list