[compiler-rt] [asan,test] Disable _FORTIFY_SOURCE test incompatible with glibc 2.40 (PR #101566)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 1 15:04:31 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 3af26be42e39405d9b3e1023853218dea20b5d1f...3177e573a79a057ea9f55e5659c5aea1c7c780ea compiler-rt/test/lit.common.cfg.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- lit.common.cfg.py 2024-08-01 22:00:25.000000 +0000
+++ lit.common.cfg.py 2024-08-01 22:03:57.490111 +0000
@@ -672,11 +672,20 @@
from distutils.version import LooseVersion
ver = LooseVersion(ver_string)
any_glibc = False
- for required in ["2.19", "2.27", "2.30", "2.33", "2.34", "2.37", "2.38", "2.40"]:
+ for required in [
+ "2.19",
+ "2.27",
+ "2.30",
+ "2.33",
+ "2.34",
+ "2.37",
+ "2.38",
+ "2.40",
+ ]:
if ver >= LooseVersion(required):
config.available_features.add("glibc-" + required)
any_glibc = True
if any_glibc:
config.available_features.add("glibc")
``````````
</details>
https://github.com/llvm/llvm-project/pull/101566
More information about the llvm-commits
mailing list