[llvm-branch-commits] [flang] [Flang] Optionally do not compile the runtime in-tree (PR #122336)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jan 9 11:00:51 PST 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 11a9773de93c31abf74d5b7c24142c9e25d4515b...582045951e7edaba35e8c6966fa40101f8d54ad9 flang/test/lit.cfg.py
``````````

</details>

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

``````````diff
--- lit.cfg.py	2025-01-09 14:58:48.000000 +0000
+++ lit.cfg.py	2025-01-09 19:00:23.138152 +0000
@@ -162,11 +162,11 @@
     tools.append(
         ToolSubst("%not_todo_abort_cmd", command=FindTool("not"), unresolved="fatal")
     )
 
 if config.flang_include_runtime:
-  config.available_features.add("flang-rt")
+    config.available_features.add("flang-rt")
 
 # Define some variables to help us test that the flang runtime doesn't depend on
 # the C++ runtime libraries. For this we need a C compiler. If for some reason
 # we don't have one, we can just disable the test.
 if config.flang_include_runtime and config.cc:

``````````

</details>


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


More information about the llvm-branch-commits mailing list