Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ brew install gnu-sed
brew install automake
brew install libtool

rm -f /usr/local/bin/cmake
brew uninstall --ignore-dependencies cmake 2>/dev/null || true
rm -rf /Applications/CMake.app
rm -f /usr/local/bin/cmake /usr/local/bin/ctest /usr/local/bin/cpack /usr/local/bin/cmake-gui /usr/local/bin/ccmake

CMAKE_VERSION=3.31.6
mkdir ~/Downloads/CMake
curl --location --retry 3 "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-macos-universal.dmg" --output ~/Downloads/CMake/cmake-macos.dmg
Expand All @@ -20,6 +23,10 @@ hdiutil detach /Volumes/cmake-macos
sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install=/usr/local/bin
cmake --version

export OPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3
echo "export OPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3" >> ~/.profile
[ -n "$GITHUB_ENV" ] && echo "OPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3" >> $GITHUB_ENV

RUST_INSTALLER=rust-1.80.1-$(if [ "$(uname -m)" = "arm64" ]; then echo "aarch64"; else echo "x86_64"; fi)-apple-darwin
echo "Downloading and installing Rust standalone installer: ${RUST_INSTALLER}"
wget --quiet -O ${RUST_INSTALLER}.tar.xz https://static.rust-lang.org/dist/${RUST_INSTALLER}.tar.xz
Expand Down
Loading