Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ac5aea4

Browse filesBrowse files
thomasjpfanglemaitre
authored andcommitted
CI Fixes MAC ar build error (#19968)
1 parent 8c558fc commit ac5aea4
Copy full SHA for ac5aea4

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎build_tools/azure/install.sh

Copy file name to clipboardExpand all lines: build_tools/azure/install.sh
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ if [[ "$DISTRIB" == "conda" ]]; then
5151
# sklearn/svm/_libsvm.cpython-38-darwin.so,
5252
# 2): Symbol not found: _svm_check_parameter error
5353
TO_INSTALL="$TO_INSTALL compilers>=1.0.4,!=1.1.0 llvm-openmp"
54+
else
55+
# Without openmp, we use the system clang. Here we use /usr/bin/ar
56+
# instead because llvm-ar errors
57+
export AR=/usr/bin/ar
5458
fi
5559
fi
5660
make_conda $TO_INSTALL

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.