Skip to content

Commit 580b3b9

Browse files
authored
Update build_wheel.sh
Ping libcxx to 10.0.0 when cross-compiling for M1
1 parent 7b4ef92 commit 580b3b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wheel/build_wheel.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ retry conda install ${EXTRA_CONDA_INSTALL_FLAGS} -yq libuv pkg-config
168168

169169
export USE_LLVM="${CONDA_PREFIX}"
170170
if [[ -n "$CROSS_COMPILE_ARM64" ]]; then
171+
# NS: If this helps, investigate why updating from 10.0.0 to 12.0.0 changes the link order
172+
retry conda install -yq libcxx==10.0.0
171173
export CMAKE_OSX_ARCHITECTURES=arm64
172174
export USE_MKLDNN=OFF
173175
export USE_NNPACK=OFF

0 commit comments

Comments
 (0)