Skip to content

Commit 9a3add2

Browse files
committed
Try to resolve -fopenmp on Mac
1 parent b9f4527 commit 9a3add2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ jobs:
386386
export LDFLAGS="-L${brew_prefix}/lib -Wl,-rpath,${brew_prefix}/lib"
387387
echo "LDFLAGS=${LDFLAGS}" >> "$GITHUB_ENV"
388388
389-
export CXXFLAGS="-I${xcode_prefix}/usr/include -I${brew_prefix}/include -O3 -std=c++17 -fopenmp -flto=auto"
389+
export CXXFLAGS="-I${xcode_prefix}/usr/include -I${brew_prefix}/include -O3 -std=c++17 -flto=auto -Xpreprocessor -fopenmp"
390390
echo "CXXFLAGS=${CXXFLAGS}" >> "$GITHUB_ENV"
391391
392392
- name: Run Python tests

0 commit comments

Comments
 (0)