[flang-commits] [flang] [flang][OpenMP] Re-enable tests when building OpenMP as a runtime (PR #89046)

via flang-commits flang-commits at lists.llvm.org
Wed Apr 17 03:32:14 PDT 2024


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 71b9f6648222771470473431bc8ef2a2c25e872c...a99ce5c152a7fe5251231cb09a40a8e7877a9f9d flang/test/lit.cfg.py
``````````

</details>

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

``````````diff
--- lit.cfg.py	2024-04-17 10:22:09.000000 +0000
+++ lit.cfg.py	2024-04-17 10:31:48.860385 +0000
@@ -206,11 +206,13 @@
 
 # For the OpenMP tests, add a substitution that is needed in the tests to find the
 # omp_lib.{h,mod} files, depending on whether the OpenMP runtime was build as a
 # project or runtime.
 if config.openmp_module_dir:
-    config.substitutions.append(("%openmp_module_flag", f"-J {config.openmp_module_dir}"))
+    config.substitutions.append(
+        ("%openmp_module_flag", f"-J {config.openmp_module_dir}")
+    )
 else:
     config.substitutions.append(("%openmp_module_flag", ""))
 
 # Add features and substitutions to test F128 math support.
 # %f128-lib substitution may be used to generate check prefixes

``````````

</details>


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


More information about the flang-commits mailing list