diff --git a/.ci/setup.sh b/.ci/setup.sh index 05dd2caf4d3b..1aaa4b2d937b 100755 --- a/.ci/setup.sh +++ b/.ci/setup.sh @@ -54,9 +54,9 @@ else # Linux software-properties-common || exit -1 if [[ $COMPILER == "clang" ]]; then wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc - sudo apt-get update sudo apt-add-repository deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main sudo apt-add-repository deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main + sudo apt-get update sudo apt-get install -y clang-17 sudo apt-get install --no-install-recommends -y libomp-dev fi @@ -120,11 +120,11 @@ else # Linux software-properties-common if [[ $COMPILER == "clang" ]]; then wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc - sudo apt-get update - sudo apt-add-repository deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main - sudo apt-add-repository deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main - sudo apt-get install -y clang-17 - sudo apt-get install --no-install-recommends -y libomp-dev + apt-add-repository deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main + apt-add-repository deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main + apt-get update + apt-get install -y clang-17 + apt-get install --no-install-recommends -y libomp-dev fi curl -sL https://apt.kitware.com/keys/kitware-archive-latest.asc | apt-key add - apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" -y