Skip to content

Commit

Permalink
CI Fixes MAC ar build error (#19968)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjpfan authored and glemaitre committed Apr 28, 2021
1 parent 8c558fc commit ac5aea4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_tools/azure/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ if [[ "$DISTRIB" == "conda" ]]; then
# sklearn/svm/_libsvm.cpython-38-darwin.so,
# 2): Symbol not found: _svm_check_parameter error
TO_INSTALL="$TO_INSTALL compilers>=1.0.4,!=1.1.0 llvm-openmp"
else
# Without openmp, we use the system clang. Here we use /usr/bin/ar
# instead because llvm-ar errors
export AR=/usr/bin/ar
fi
fi
make_conda $TO_INSTALL
Expand Down

0 comments on commit ac5aea4

Please sign in to comment.