Skip to content

Commit

Permalink
Create & adjust perms on /usr/local/<lib/include> for MacOS GHA runner
Browse files Browse the repository at this point in the history
  • Loading branch information
jhiemstrawisc committed Nov 5, 2024
1 parent 9f67293 commit e3d1018
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion github_scripts/osx_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ scriptdir=$PWD/`dirname $0`

brew install minio ninja coreutils

# The new macos-latest runner has some issues with /usr/local/<lib/include>. Adjust perms ahead of time
sudo mkdir -p /usr/local/lib && sudo chmod 777 /usr/local/lib
sudo mkdir -p /usr/local/include && sudo chmod 777 /usr/local/include

mkdir dependencies
pushd dependencies

Expand All @@ -34,7 +38,6 @@ cd build
export SCITOKENS_CPP_DIR=$PWD/release_dir
cmake .. -GNinja -DCMAKE_INSTALL_PREFIX=$PWD/release_dir
ninja install
sudo mkdir -p /usr/local/lib && sudo chmod 777 /usr/local/lib
sudo ln -s $PWD/release_dir/lib/libSciTokens*.dylib /usr/local/lib
popd

Expand Down

0 comments on commit e3d1018

Please sign in to comment.