Skip to content

Commit

Permalink
Apple ARM: use default toolchain, export SDKROOT (#2491)
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin committed Jun 3, 2024
1 parent c7ce229 commit b44660d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sh/setup/install_macos_arm_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ set -x

# Install requirements of MAC OS X
brew install libtool mcpp swig bison libffi
brew install gcc@13
brew link gcc@13
#brew install gcc@13
#brew link gcc@13

echo "/usr/local/opt/bison/bin:$PATH" >> $GITHUB_PATH
echo 'PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig/"' >> $GITHUB_ENV
echo 'CC=gcc-13' >> $GITHUB_ENV
echo 'CXX=g++-13' >> $GITHUB_ENV
#echo 'CC=gcc-13' >> $GITHUB_ENV
#echo 'CXX=g++-13' >> $GITHUB_ENV
echo "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV

set +e
set +x

0 comments on commit b44660d

Please sign in to comment.