mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-24 18:20:38 +00:00
[libc++][Docker] Don't actually start using a newer compiler in the CI
To ensure a smooth transition without breaking CI, we should use explicitly versioned Clangs in the CI jobs definition instead, since that's a change we can actually test in the CI. So instead of bumping the compiler version from the Docker image, use the same version as before by default, and we can bump it from the CI job definition once all the nodes are running the new image.
This commit is contained in:
parent
ea2206d70d
commit
78205faf54
@ -63,9 +63,11 @@ RUN bash /tmp/llvm.sh $(($LLVM_LATEST_VERSION - 1)) # previous release
|
||||
RUN bash /tmp/llvm.sh $LLVM_LATEST_VERSION # latest release
|
||||
RUN bash /tmp/llvm.sh $(($LLVM_LATEST_VERSION + 1)) # current ToT
|
||||
|
||||
# Make the ToT Clang the "default" compiler on the system
|
||||
RUN ln -fs /usr/bin/clang++-$(($LLVM_LATEST_VERSION + 1)) /usr/bin/c++ && [ -e $(readlink /usr/bin/c++) ]
|
||||
RUN ln -fs /usr/bin/clang-$(($LLVM_LATEST_VERSION + 1)) /usr/bin/cc && [ -e $(readlink /usr/bin/cc) ]
|
||||
# Make the latest version of Clang the "default" compiler on the system
|
||||
# TODO: In the future, all jobs should be using an explicitly-versioned version of Clang instead,
|
||||
# and we can get rid of this entirely.
|
||||
RUN ln -fs /usr/bin/clang++-$LLVM_LATEST_VERSION /usr/bin/c++ && [ -e $(readlink /usr/bin/c++) ]
|
||||
RUN ln -fs /usr/bin/clang-$LLVM_LATEST_VERSION /usr/bin/cc && [ -e $(readlink /usr/bin/cc) ]
|
||||
|
||||
# Install clang-format
|
||||
RUN apt-get install -y clang-format-$LLVM_LATEST_VERSION
|
||||
|
Loading…
x
Reference in New Issue
Block a user