Browse Source

Try to update cmake on Mac travis.

pass-iguana-arg
Artem Pikulin 7 years ago
parent
commit
4523c5a9f3
  1. 1
      travis_cmake_mac.sh

1
travis_cmake_mac.sh

@ -3,6 +3,7 @@ brew uninstall cmake --force
wget https://cmake.org/files/v3.12/cmake-3.12.0-rc2-Darwin-x86_64.tar.gz wget https://cmake.org/files/v3.12/cmake-3.12.0-rc2-Darwin-x86_64.tar.gz
tar -xvzf cmake-3.12.0-rc2-Darwin-x86_64.tar.gz tar -xvzf cmake-3.12.0-rc2-Darwin-x86_64.tar.gz
cp -r cmake-3.12.0-rc2-Darwin-x86_64/CMake.app/Contents/bin/* /usr/local/bin/ cp -r cmake-3.12.0-rc2-Darwin-x86_64/CMake.app/Contents/bin/* /usr/local/bin/
cp -r cmake-3.12.0-rc2-Darwin-x86_64/CMake.app/Contents/share/* /usr/local/share/
sysctl -n hw.physicalcpu sysctl -n hw.physicalcpu
which cmake which cmake
cmake --version cmake --version
Loading…
Cancel
Save