Skip to content

Commit

Permalink
[ci] remove OpenMP / MKL workaround in CI jobs (#6496)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Jun 21, 2024
1 parent 6fa5dc8 commit c4e70f3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,6 @@ source activate $CONDA_ENV

cd $BUILD_DIRECTORY

if [[ $OS_NAME == "macos" ]] && [[ $COMPILER == "clang" ]]; then
# fix "OMP: Error #15: Initializing libiomp5.dylib, but found libomp.dylib already initialized." (OpenMP library conflict due to conda's MKL)
for LIBOMP_ALIAS in libgomp.dylib libiomp5.dylib libomp.dylib; do sudo ln -sf "$(brew --cellar libomp)"/*/lib/libomp.dylib $CONDA_PREFIX/lib/$LIBOMP_ALIAS || exit 1; done
fi

if [[ $TASK == "sdist" ]]; then
cd $BUILD_DIRECTORY && sh ./build-python.sh sdist || exit 1
sh $BUILD_DIRECTORY/.ci/check_python_dists.sh $BUILD_DIRECTORY/dist || exit 1
Expand Down

0 comments on commit c4e70f3

Please sign in to comment.