Skip to content

Commit 88c6ec4

Browse files
committed
Fix OpenMP for MacOS
1 parent fa48631 commit 88c6ec4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/wheel-builder.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,8 @@ jobs:
221221
brew install libomp
222222
OMP_PREFIX=$(brew --prefix libomp)
223223
echo "LIBOMP=$OMP_PREFIX/lib/libomp.dylib" >> $GITHUB_ENV
224-
echo "LDFLAGS=-L/usr/local/opt/libomp/lib:LDFLAGS" >> $GITHUB_ENV
225-
echo "CPPFLAGS=-I/usr/local/opt/libomp/include" >> $GITHUB_ENV
226-
#echo "LDFLAGS=-fuse-ld=ld.lld" >> $GITHUB_ENV
224+
echo "LDFLAGS=-L$OMP_PREFIX/lib:$LDFLAGS" >> $GITHUB_ENV
225+
echo "CPPFLAGS=-I$OMP_PREFIX/include" >> $GITHUB_ENV
227226
228227
229228
# TODO: The following block is an ugly hack but, at the moment (2025-02-25),

0 commit comments

Comments
 (0)