[libcxx-commits] [libcxx] 3058cb7 - [libc++] Export CXX and CC env vars in format and documentation CI jobs

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 6 19:00:28 PST 2023


Author: Louis Dionne
Date: 2023-02-06T18:59:30-08:00
New Revision: 3058cb74338edbf1b7eec495ba2436e94d2d48fa

URL: https://github.com/llvm/llvm-project/commit/3058cb74338edbf1b7eec495ba2436e94d2d48fa
DIFF: https://github.com/llvm/llvm-project/commit/3058cb74338edbf1b7eec495ba2436e94d2d48fa.diff

LOG: [libc++] Export CXX and CC env vars in format and documentation CI jobs

This is necessary now that the Docker images don't contain unversionned
clang binaries.

Added: 
    

Modified: 
    libcxx/utils/ci/buildkite-pipeline.yml

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/buildkite-pipeline.yml b/libcxx/utils/ci/buildkite-pipeline.yml
index 0189449736f3..2722286d6ac4 100644
--- a/libcxx/utils/ci/buildkite-pipeline.yml
+++ b/libcxx/utils/ci/buildkite-pipeline.yml
@@ -37,6 +37,8 @@ steps:
       - "**/clang-format.patch"
     env:
         GIT_CLANG_FORMAT: "/usr/bin/git-clang-format-${LLVM_STABLE_VERSION}"
+        CC: "clang-${LLVM_HEAD_VERSION}"
+        CXX: "clang++-${LLVM_HEAD_VERSION}"
     agents:
       queue: "libcxx-builders"
       os: "linux"
@@ -53,6 +55,9 @@ steps:
     artifact_paths:
       - "**/generated_output.patch"
       - "**/generated_output.status"
+    env:
+        CC: "clang-${LLVM_HEAD_VERSION}"
+        CXX: "clang++-${LLVM_HEAD_VERSION}"
     agents:
       queue: "libcxx-builders"
       os: "linux"
@@ -66,6 +71,9 @@ steps:
     command: "libcxx/utils/ci/run-buildbot documentation"
     artifact_paths:
       - "**/test-results.xml"
+    env:
+        CC: "clang-${LLVM_HEAD_VERSION}"
+        CXX: "clang++-${LLVM_HEAD_VERSION}"
     agents:
       queue: "libcxx-builders"
       os: "linux"


        


More information about the libcxx-commits mailing list