Skip to content

Commit 5396e1e

Browse files
authored
CI: Set GMT_ENABLE_OPENMP to TRUE to enable OpenMP support on macOS (#3266)
1 parent 176693c commit 5396e1e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/ci_tests_dev.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,13 @@ jobs:
9898
# https://github.com/GenericMappingTools/gmt/blob/6.5.0/ci/build-gmt.sh
9999
- name: Build GMT on Linux/macOS
100100
run: |
101-
if [ "$RUNNER_OS" == "macOS" ]; then
102-
GMT_ENABLE_OPENMP=FALSE
103-
else
104-
GMT_ENABLE_OPENMP=TRUE
105-
fi
106101
cd gmt/
107102
mkdir build
108103
cd build
109104
cmake -G Ninja .. \
110105
-DCMAKE_INSTALL_PREFIX=${{ env.GMT_INSTALL_DIR }} \
111106
-DCMAKE_BUILD_TYPE=Release \
112-
-DGMT_ENABLE_OPENMP=${GMT_ENABLE_OPENMP} \
107+
-DGMT_ENABLE_OPENMP=TRUE \
113108
-DGMT_USE_THREADS=TRUE
114109
cmake --build .
115110
cmake --build . --target install

0 commit comments

Comments
 (0)