[libcxx-commits] [libcxx] [libc++][test] fix atomic float test CI failure (PR #73364)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Nov 24 12:12:07 PST 2023
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 ddc6ef46418cc419041d0bd85de40d0eb9396848..72bc94d6f9c297221619e0881fea09c9f2f7ab78 libcxx/utils/libcxx/test/features.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- features.py 2023-11-24 20:09:01.000000 +0000
+++ features.py 2023-11-24 20:12:00.013087 +0000
@@ -109,15 +109,15 @@
Feature(
name="verify-support",
when=lambda cfg: hasCompileFlag(cfg, "-Xclang -verify-ignore-unexpected"),
),
Feature(
- name="add-latomic-workaround", # https://github.com/llvm/llvm-project/issues/73361
- when=lambda cfg: sourceBuilds(cfg, "int main(int, char**) { return 0; }", ["-latomic"]),
- actions=[
- AddLinkFlag("-latomic")
- ],
+ name="add-latomic-workaround", # https://github.com/llvm/llvm-project/issues/73361
+ when=lambda cfg: sourceBuilds(
+ cfg, "int main(int, char**) { return 0; }", ["-latomic"]
+ ),
+ actions=[AddLinkFlag("-latomic")],
),
Feature(
name="non-lockfree-atomics",
when=lambda cfg: sourceBuilds(
cfg,
``````````
</details>
https://github.com/llvm/llvm-project/pull/73364
More information about the libcxx-commits
mailing list