Skip to content

Commit 4bf7180

Browse files
committed
gha: build - another try at fixing OpenMP includes
1 parent 5bf7229 commit 4bf7180

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ jobs:
136136
#port contents qt6-qthttpserver
137137
#port contents qt6-qtwebsockets
138138
echo "OPENIA_CMAKE_OPTIONS=${{env.OPENIA_CMAKE_OPTIONS}} -DQt6Charts_DIR:PATH=/opt/local/libexec/qt6/lib/cmake/Qt6Charts -DQt6HttpServer_DIR:PATH=/opt/local/libexec/qt6/lib/cmake/Qt6HttpServer -DQt6WebSockets_DIR:PATH=/opt/local/libexec/qt6/lib/cmake/Qt6WebSockets -DOpenMP_CXX_FLAGS:STRING=\"-Xpreprocessor -fopenmp -lomp\" -DOpenMP_CXX_INCLUDE_DIR:PATH=\"/opt/homebrew/opt/libomp/include\" -DOpenMP_libomp_LIBRARY:FILEPATH=\"/opt/homebrew/opt/libomp/lib/libomp.dylib\"" >> "$GITHUB_ENV"
139-
ln -s /opt/homebrew/opt/libomp/include/omp.h /usr/include/omp.h
139+
sudo mkdir -p /usr/local/include
140+
ln -s /opt/homebrew/opt/libomp/include/omp.h /usr/local/include/omp.h
140141
141142
##################################################################
142143
# VR: OpenXR, OpenVR, boost

0 commit comments

Comments
 (0)