Artem Pikulin
7 years ago
1 changed files with 3 additions and 5 deletions
@ -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…
Reference in new issue