[llvm-branch-commits] [runtimes] Allow building against an installed LLVM tree (PR #86209)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Aug 26 15:43:03 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 e288141b33c763e22329e74af1e2cf1d3e7f2912...5e4d38daffa93fa758a13faffdbeefa21ddec6c8 compiler-rt/test/hwasan/lit.cfg.py
``````````

</details>

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

``````````diff
--- lit.cfg.py	2024-03-21 22:23:13.000000 +0000
+++ lit.cfg.py	2024-08-26 22:42:40.141517 +0000
@@ -76,12 +76,14 @@
 config.substitutions.append(
     ("%env_hwasan_opts=", "env HWASAN_OPTIONS=" + default_hwasan_opts_str)
 )
 
 # Ensure that we can use hwasan_symbolize from the expected location
-llvm_config.add_tool_substitutions([ToolSubst("hwasan_symbolize", unresolved="fatal")],
-                                   search_dirs=[config.compiler_rt_bindir])
+llvm_config.add_tool_substitutions(
+    [ToolSubst("hwasan_symbolize", unresolved="fatal")],
+    search_dirs=[config.compiler_rt_bindir],
+)
 
 # Default test suffixes.
 config.suffixes = [".c", ".cpp"]
 
 if config.host_os not in ["Linux", "Android"] or not config.has_lld:

``````````

</details>


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


More information about the llvm-branch-commits mailing list