Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly link to OpenMP #290

Merged
merged 16 commits into from
Aug 16, 2023
1 change: 1 addition & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
env:
CIBW_ARCHS_LINUX: auto
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_TEST_SKIP: '*-macosx_arm64'

- uses: actions/upload-artifact@v3
with:
Expand Down
7 changes: 3 additions & 4 deletions build_tools/prepare_macos_wheel.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#!/bin/bash

set -e
set -x
set -exuo pipefail

if [[ "$CIBW_BUILD" == *-macosx_arm64 ]]; then
if [[ "${ARCHFLAGS:-}" == *arm64 ]]; then
CONDA_CHANNEL="conda-forge/osx-arm64"
else
CONDA_CHANNEL="conda-forge/osx-64"
fi

conda create -n build -c $CONDA_CHANNEL jemalloc-local xsimd llvm-openmp
conda create -y -n build -c $CONDA_CHANNEL jemalloc-local xsimd llvm-openmp
jtilly marked this conversation as resolved.
Show resolved Hide resolved