Browse Source

Try to update cmake on Mac travis.

pass-iguana-arg
Artem Pikulin 7 years ago
parent
commit
ceddc12c29
  1. 8
      travis_cmake_mac.sh

8
travis_cmake_mac.sh

@ -1,10 +1,8 @@
#!/bin/bash #!/bin/bash
brew uninstall cmake --force brew uninstall cmake --force
wget https://cmake.org/files/v3.12/cmake-3.12.0-rc2-Darwin-x86_64.dmg wget https://cmake.org/files/v3.12/cmake-3.12.0-rc2-Darwin-x86_64.tar.gz
hdiutil convert -quiet cmake-3.12.0-rc2-Darwin-x86_64.dmg -format UDTO -o bar tar -xvzf cmake-3.12.0-rc2-Darwin-x86_64.tar.gz
hdiutil attach -quiet -nobrowse -noverify -noautoopen -mountpoint right_here bar.cdr cp -r cmake-3.12.0-rc2-Darwin-x86_64/CMake.app/Contents/bin/* /usr/local/bin/
find right_here -print
sudo installer -package right_here/cmake-3.12.0-rc2-Darwin-x86_64/cmake-3.12.0-rc2-Darwin-x86_64.pkg -target /
sysctl -n hw.physicalcpu sysctl -n hw.physicalcpu
which cmake which cmake
cmake --version cmake --version
Loading…
Cancel
Save