[libcxx-commits] [libcxx] 87bfc49 - [libc++][ci] Add arch and os tags to the macOS CI builders

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 12 12:35:04 PDT 2021


Author: Louis Dionne
Date: 2021-07-12T15:34:57-04:00
New Revision: 87bfc49db5d441c6e917daeb695e105cc1982ed2

URL: https://github.com/llvm/llvm-project/commit/87bfc49db5d441c6e917daeb695e105cc1982ed2
DIFF: https://github.com/llvm/llvm-project/commit/87bfc49db5d441c6e917daeb695e105cc1982ed2.diff

LOG: [libc++][ci] Add arch and os tags to the macOS CI builders

Added: 
    

Modified: 
    libcxx/utils/ci/macos-ci-setup

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/macos-ci-setup b/libcxx/utils/ci/macos-ci-setup
index f9bf4888e2d1..0ccf401ad077 100755
--- a/libcxx/utils/ci/macos-ci-setup
+++ b/libcxx/utils/ci/macos-ci-setup
@@ -18,9 +18,10 @@ brew install sphinx-doc python3 ninja cmake clang-format buildkite/buildkite/bui
 CFG_DIR="$(brew --prefix)/etc/buildkite-agent"
 
 version="$(sw_vers -productVersion | sed -E 's/([0-9]+).([0-9]+).[0-9]+/\1.\2/')"
+arch="$(uname -m)"
 
 # Setup the tags of the agent
-echo "tags=\"queue=libcxx-builders-macos,queue=libcxx-builders-macos${version}\"" >> "${CFG_DIR}/buildkite-agent.cfg"
+echo "tags=\"queue=libcxx-builders,arch=${arch},os=macos${version}\"" >> "${CFG_DIR}/buildkite-agent.cfg"
 
 # Setup the BuildKite Agent token
 sed -i '' "s/xxx/${BUILDKITE_AGENT_TOKEN}/g" "${CFG_DIR}/buildkite-agent.cfg"


        


More information about the libcxx-commits mailing list