Skip to content

Commit be19ba3

Browse files
committed
Add Mac OS OpenMP flags
1 parent 51380dd commit be19ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/c-cpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
./autogen.sh
3939
export CFLAGS="-I/opt/homebrew/include -I/opt/homebrew/opt/libomp/include"
40-
export CPPFLAGS="${CFLAGS}"
40+
export CPPFLAGS="${CFLAGS} -Xpreprocessor -fopenmp"
4141
export LDFLAGS="-L/opt/homebrew/lib -L/opt/homebrew/opt/libomp/lib"
4242
export LIBS="-lomp"
4343
./configure

0 commit comments

Comments
 (0)