Skip to content

Commit e03042c

Browse files
authored
Properly set CPPFLAGS for OpenMP
1 parent c4cabe2 commit e03042c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ jobs:
232232
brew install gsl libomp
233233
brew info libomp
234234
echo "CFLAGS=-I$(brew --prefix)/include -I/usr/local/opt/libomp/include" >> $GITHUB_ENV
235+
echo "CPPFLAGS=-I$(brew --prefix)/include -I/usr/local/opt/libomp/include" >> $GITHUB_ENV
235236
echo "LDFLAGS=-L$(brew --prefix)/lib -L/usr/local/opt/libomp/lib" >> $GITHUB_ENV
236237
echo "LD_LIBRARY_PATH=$(brew --prefix)/lib:/usr/local/opt/libomp/lib" >> $GITHUB_ENV
237238
- uses: actions/cache@v4

0 commit comments

Comments
 (0)