Skip to content

Commit

Permalink
Create /usr/local structure if not existing in macOS (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyamagu committed Jun 21, 2024
1 parent ff4ec30 commit 9a15dbc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/build_macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ if [[ ${TARGET_ARCH} == auto* || ${TARGET_ARCH} == native ]]; then
fi
echo "TARGET_ARCH=${TARGET_ARCH}"

# Fix directory structure
sudo mkdir -p /usr/local/include && \
sudo chown -R $(whoami) /usr/local/include
sudo mkdir -p /usr/local/lib && \
sudo chown -R $(whoami) /usr/local/lib
sudo mkdir -p /usr/local/share && \
sudo chown -R $(whoami) /usr/local/share

# Install system dependencies
brew install swig

Expand Down

0 comments on commit 9a15dbc

Please sign in to comment.