[llvm-branch-commits] [clang] [flang] [llvm] [openmp] [Flang] Move builtin .mod generation into runtimes (Reapply #137828) (PR #171515)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Mar 20 18:02:11 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 flang/test/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-03-21 00:59:29.000000 +0000
+++ lit.cfg.py	2026-03-21 01:01:33.973910 +0000
@@ -139,11 +139,11 @@
 # Check for DEFAULT_SYSROOT, because when it is set -isysroot has no effect.
 if config.default_sysroot:
     config.available_features.add("default_sysroot")
 
 host_triple = config.host_triple.split("-")
-config.available_features.add(f'{host_triple[0]}-host')
+config.available_features.add(f"{host_triple[0]}-host")
 
 flang_exe = lit.util.which("flang", config.flang_llvm_tools_dir)
 if not flang_exe:
     lit_config.fatal(f"Could not identify flang executable")
 

``````````

</details>


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


More information about the llvm-branch-commits mailing list