SPEC-5380: Update windows/mac setup scripts to install latest cmake

* Adding choco install for cmake in 'install_utiltools.ps1'

* Adding brew installation command to install-xcode.sh
This commit is contained in:
Steve Pham
2021-04-28 16:10:34 -07:00
committed by GitHub
parent efc0cbacba
commit ed74bb9166
2 changed files with 8 additions and 2 deletions
@@ -43,4 +43,7 @@ sudo installer -pkg /Applications/Xcode.app/Contents/Resources/Packages/MobileDe
sudo installer -pkg /Applications/Xcode.app/Contents/Resources/Packages/MobileDeviceDevelopment.pkg -target /
echo "Enabling developer mode"
sudo /usr/sbin/DevToolsSecurity --enable
sudo /usr/sbin/DevToolsSecurity --enable
echo "Installing cmake"
brew install cmake
@@ -25,4 +25,7 @@ git config --global "credential.helper" "!aws codecommit credential-helper $@"
git config --global "credential.UseHttpPath" "true"
# Install Java (for Jenkins)
choco install corretto8jdk -y --ia INSTALLDIR="c:\jdk8" # Custom directory to handle cases where whitespace in the path is not quote wrapped
choco install corretto8jdk -y --ia INSTALLDIR="c:\jdk8" # Custom directory to handle cases where whitespace in the path is not quote wrapped
# Install CMake
choco install cmake -y --installargs 'ADD_CMAKE_TO_PATH=System'