Skip to content

Commit

Permalink
Pin libcxx for wheel build
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy committed May 13, 2024
1 parent 56e3c28 commit 551a953
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build_tools/prepare_macos_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ set -exuo pipefail

if [[ "${ARCHFLAGS:-}" == *arm64 ]]; then
export CONDA_SUBDIR="osx-arm64"
# libcxx>=17 needs osx 10.13, cibuildwheel wants 10.9
export CONDA_ARGS=" libcxx<17"
else
export CONDA_SUBDIR="osx-64"
fi

/Users/runner/micromamba-bin/micromamba create -y -p $CONDA/envs/build -c conda-forge jemalloc-local "xsimd<11|>12.1" llvm-openmp
/Users/runner/micromamba-bin/micromamba create -y -p $CONDA/envs/build -c conda-forge jemalloc-local "xsimd<11|>12.1" llvm-openmp ${CONDA_ARGS:-}

0 comments on commit 551a953

Please sign in to comment.