Skip to content

Commit

Permalink
pocl fix for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener authored Mar 23, 2024
1 parent fb6917e commit 083abec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,13 @@ if [[ $(uname) == "Darwin" ]]; then
[[ $(uname -m) == "arm64" ]] && conda install --yes clang_osx-arm64
fi

# FIXME: workaround until we address
# https://github.com/conda-forge/pocl-feedstock/pull/96
if [[ $(uname) == "Darwin" ]]; then
if conda list | grep -q ld64; then
with_echo conda install --yes ld64=609
fi
fi

# Install an environment activation script
rm -rf "$mcprefix"/config
Expand Down

0 comments on commit 083abec

Please sign in to comment.