Skip to content

Commit

Permalink
add omp flags
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarrison committed Apr 29, 2024
1 parent 6036ebb commit a4ae04b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
pkg=$(brew fetch --force --bottle-tag=arm64_ventura libomp | grep 'Downloaded to' | cut -d' ' -f3)
brew install $pkg
prefix=$(brew --prefix libomp)
echo "LDFLAGS=$LDFLAGS -L$prefix/lib" >> $GITHUB_ENV
echo "CXXFLAGS=$CXXFLAGS -I$prefix/include -arch arm64 -target arm64-apple-macos11" >> $GITHUB_ENV
echo "LDFLAGS=$LDFLAGS -L$prefix/lib -lomp" >> $GITHUB_ENV
echo "CXXFLAGS=$CXXFLAGS -I$prefix/include -arch arm64 -target arm64-apple-macos11 -Xpreprocessor -fopenmp" >> $GITHUB_ENV
- name: Build wheels
uses: pypa/[email protected]
Expand Down

0 comments on commit a4ae04b

Please sign in to comment.