Skip to content

Commit

Permalink
CI pin llvm-openmp version (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiedbb authored Jul 22, 2021
1 parent 5ca893e commit 4a31c65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion continuous_integration/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ make_conda() {
if [[ "$UNAMESTR" == "Darwin" ]]; then
if [[ "$INSTALL_LIBOMP" == "conda-forge" ]]; then
# Install an OpenMP-enabled clang/llvm from conda-forge
TO_INSTALL="$TO_INSTALL conda-forge::compilers conda-forge::llvm-openmp"

# temporary pin llvm-openmp version. version 12 + mkl segfaults.
TO_INSTALL="$TO_INSTALL conda-forge::compilers conda-forge::llvm-openmp<=11.1.0"

export CFLAGS="$CFLAGS -I$CONDA/envs/$VIRTUALENV/include"
export LDFLAGS="$LDFLAGS -Wl,-rpath,$CONDA/envs/$VIRTUALENV/lib -L$CONDA/envs/$VIRTUALENV/lib"

Expand Down

0 comments on commit 4a31c65

Please sign in to comment.