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
4 changes: 2 additions & 2 deletions add_arm_to_libomp_dylib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ mkdir armlib

# download and unzip both x86 and arm libomp tarballs
#brew fetch --retry --force --bottle-tag=x86_64_monterey libomp
brew fetch --retry --force --bottle-tag=arm64_big_sur libomp
brew fetch --retry --force --bottle-tag=arm64_monterey libomp

# untar
#tar -xzf $(brew --cache --bottle-tag=x86_64_monterey libomp) --strip-components 2 -C x86lib
tar -xzf $(brew --cache --bottle-tag=arm64_big_sur libomp) --strip-components 2 -C armlib
tar -xzf $(brew --cache --bottle-tag=arm64_monterey libomp) --strip-components 2 -C armlib

# ARM and x86 dylibs have different install names due to different brew install directories.
# The x86 install name will be expected so make the ARM install name match.
Expand Down