[libcxx-commits] [libcxx] 4fc8df9 - [libc++] Switch FreeBSD CI job to Clang 17 (#86320)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 25 16:17:34 PDT 2024


Author: Ed Maste
Date: 2024-03-25T19:17:30-04:00
New Revision: 4fc8df9c6afa5ddcaaab91aad87bf713c592545d

URL: https://github.com/llvm/llvm-project/commit/4fc8df9c6afa5ddcaaab91aad87bf713c592545d
DIFF: https://github.com/llvm/llvm-project/commit/4fc8df9c6afa5ddcaaab91aad87bf713c592545d.diff

LOG: [libc++] Switch FreeBSD CI job to Clang 17 (#86320)

libc++ will drop support for Clang 16 before long.

Added: 
    

Modified: 
    libcxx/utils/ci/buildkite-pipeline.yml
    libcxx/utils/libcxx/test/features.py

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/buildkite-pipeline.yml b/libcxx/utils/ci/buildkite-pipeline.yml
index e42262620d5fb0..31e794e67d330d 100644
--- a/libcxx/utils/ci/buildkite-pipeline.yml
+++ b/libcxx/utils/ci/buildkite-pipeline.yml
@@ -209,8 +209,8 @@ steps:
   - label: FreeBSD 13 amd64
     command: libcxx/utils/ci/run-buildbot generic-cxx23
     env:
-      CC: clang16
-      CXX: clang++16
+      CC: clang17
+      CXX: clang++17
     agents:
       queue: libcxx-builders
       os: freebsd

diff  --git a/libcxx/utils/libcxx/test/features.py b/libcxx/utils/libcxx/test/features.py
index 307d35349f3a46..0793c34fd7f0bf 100644
--- a/libcxx/utils/libcxx/test/features.py
+++ b/libcxx/utils/libcxx/test/features.py
@@ -280,6 +280,7 @@ def _getAndroidDeviceApi(cfg):
         # This is not allowed per C11 7.1.2 Standard headers/6
         #  Any declaration of a library function shall have external linkage.
         when=lambda cfg: "__ANDROID__" in compilerMacros(cfg)
+        or "__FreeBSD__" in compilerMacros(cfg)
         or "_WIN32" in compilerMacros(cfg)
         or platform.system().lower().startswith("aix")
         # Avoid building on platforms that don't support modules properly.


        


More information about the libcxx-commits mailing list