Permalink
Browse files

CircleCI: Work around cmake.org being temporarily down (all day)

  • Loading branch information...
kinke committed Dec 15, 2018
1 parent 151e2b2 commit 5905e60c6fb028fb42032cd381b483042e6ec26d
Showing with 2 additions and 2 deletions.
  1. +2 −2 .circleci/config.yml
@@ -19,15 +19,15 @@ commonSteps: &commonSteps
echo "export CC=gcc-6" >> $BASH_ENV
echo "export CXX=g++-6" >> $BASH_ENV
# install CMake
curl -L -o cmake-x64.tar.gz https://cmake.org/files/v3.10/cmake-3.10.0-Linux-x86_64.tar.gz
curl -L -o cmake-x64.tar.gz https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2-Linux-x86_64.tar.gz
mkdir cmake-x64
tar -xf cmake-x64.tar.gz --strip 1 -C cmake-x64
echo "export PATH=$PWD/cmake-x64/bin:$PATH" >> $BASH_ENV
# use ld.gold per default, so that LTO is tested
update-alternatives --install /usr/bin/ld ld /usr/bin/ld.gold 99
else
# install CMake
curl -L -o cmake-x64.tar.gz https://cmake.org/files/v3.10/cmake-3.10.0-Darwin-x86_64.tar.gz
curl -L -o cmake-x64.tar.gz https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2-Darwin-x86_64.tar.gz
mkdir cmake-x64
tar -xf cmake-x64.tar.gz --strip 3 -C cmake-x64
# install Ninja

0 comments on commit 5905e60

Please sign in to comment.