"git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "35a2a2e379f71301d4e756e7114d2eb29895d60d"
Unverified Commit ab474dc4 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] restrict CMake version for CUDA+Clang jobs (#4104)

* restrict CMake version for CUDA jobs

* Update setup.sh

* Update setup.sh

* Update setup.sh
parent 1d2f3e11
...@@ -97,8 +97,14 @@ else # Linux ...@@ -97,8 +97,14 @@ else # Linux
curl -sL https://apt.kitware.com/keys/kitware-archive-latest.asc | apt-key add - 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 apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" -y
apt-get update apt-get update
apt-get install --no-install-recommends -y \ if [[ $COMPILER == "clang" ]]; then
cmake apt-get install --no-install-recommends -y \
cmake="3.19.5-0kitware1" \
cmake-data="3.19.5-0kitware1"
else
apt-get install --no-install-recommends -y \
cmake
fi
fi fi
if [[ $SETUP_CONDA != "false" ]]; then if [[ $SETUP_CONDA != "false" ]]; then
ARCH=$(uname -m) ARCH=$(uname -m)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment