[libcxx-commits] [libcxx] [libc++] Fix `std::atomic::wait` ulock wait UL_COMPARE_AND_WAIT64 (PR #92783)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 31 09:19:27 PDT 2024


================
@@ -0,0 +1,32 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+// UNSUPPORTED: c++03, c++11, c++14, c++17
+// UNSUPPORTED: no-threads
+// XFAIL: availability-synchronization_library-missing
+// This bug was first fixed in LLVM 19
+// XFAIL: using-built-library-before-llvm-19
----------------
ldionne wrote:

About the CI failures:

The `apple-system` CI job should be renamed to something like `apple-flavor` or something like that. Then,
- It defines `stdlib=apple-libc++` because it's the apple-configured flavor
- It does NOT define `stdlib=system`, because we are NOT running against the system-provided library

The back-deployment CI jobs running on Apple would then define `stdlib=system` and `target=<arch>-apple-macosx<version>`.

We also need something that implicitly defines `stdlib=apple-libc++` whenever we have `stdlib=system` and a target of `macosx` (or we could set the feature manually too).

I'll work on that patch, this is just self notes.

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


More information about the libcxx-commits mailing list