Skip to content

Commit

Permalink
simple install openmp on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonEhrig committed Nov 19, 2024
1 parent 9907d3a commit 40d897b
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions script/install_omp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,29 @@ echo_green "<SCRIPT: install_omp>"

if [ "$ALPAKA_CI_OS_NAME" = "macOS" ]
then
brew install libomp
# workaround to avoid link issues from python 2 to 3 during libomp dependency installation
rm '/usr/local/bin/2to3-3.11' || true
rm '/usr/local/bin/idle3.11' || true
rm '/usr/local/bin/pydoc3.11' || true
rm '/usr/local/bin/python3.11' || true
rm '/usr/local/bin/python3.11-config' || true
rm '/usr/local/bin/2to3-3.12'
rm '/usr/local/bin/idle3.12'
rm '/usr/local/bin/pydoc3.12'
rm '/usr/local/bin/python3.12'
rm '/usr/local/bin/python3.12-config'
rm '/usr/local/bin/2to3' || true
rm '/usr/local/bin/idle3' || true
rm '/usr/local/bin/pydoc3' || true
rm '/usr/local/bin/python3' || true
rm '/usr/local/bin/python3-config' || true
rm '/usr/local/share/man/man1/python3.1' || true
rm '/usr/local/lib/pkgconfig/python3-embed.pc' || true
rm '/usr/local/lib/pkgconfig/python3.pc' || true
rm '/usr/local/Frameworks/Python.framework/Headers' || true
rm '/usr/local/Frameworks/Python.framework/Python' || true
rm '/usr/local/Frameworks/Python.framework/Resources' || true
rm '/usr/local/Frameworks/Python.framework/Versions/Current' || true
brew reinstall --build-from-source --formula ./script/homebrew/${ALPAKA_CI_XCODE_VER}/libomp.rb
# rm '/usr/local/bin/2to3-3.11' || true
# rm '/usr/local/bin/idle3.11' || true
# rm '/usr/local/bin/pydoc3.11' || true
# rm '/usr/local/bin/python3.11' || true
# rm '/usr/local/bin/python3.11-config' || true
# rm '/usr/local/bin/2to3-3.12'
# rm '/usr/local/bin/idle3.12'
# rm '/usr/local/bin/pydoc3.12'
# rm '/usr/local/bin/python3.12'
# rm '/usr/local/bin/python3.12-config'
# rm '/usr/local/bin/2to3' || true
# rm '/usr/local/bin/idle3' || true
# rm '/usr/local/bin/pydoc3' || true
# rm '/usr/local/bin/python3' || true
# rm '/usr/local/bin/python3-config' || true
# rm '/usr/local/share/man/man1/python3.1' || true
# rm '/usr/local/lib/pkgconfig/python3-embed.pc' || true
# rm '/usr/local/lib/pkgconfig/python3.pc' || true
# rm '/usr/local/Frameworks/Python.framework/Headers' || true
# rm '/usr/local/Frameworks/Python.framework/Python' || true
# rm '/usr/local/Frameworks/Python.framework/Resources' || true
# rm '/usr/local/Frameworks/Python.framework/Versions/Current' || true
# brew reinstall --build-from-source --formula ./script/homebrew/${ALPAKA_CI_XCODE_VER}/libomp.rb
fi

0 comments on commit 40d897b

Please sign in to comment.