Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Enable OpenMP on Linux and macOS #6742

Merged
merged 12 commits into from Jul 23, 2023
2 changes: 1 addition & 1 deletion ci/config-gmt-unix.sh
Expand Up @@ -10,7 +10,7 @@ set (GSHHG_ROOT "$ENV{COASTLINEDIR}/gshhg")
set (DCW_ROOT "$ENV{COASTLINEDIR}/dcw")

set (GMT_USE_THREADS TRUE)
# set (GMT_ENABLE_OPENMP TRUE)
set (GMT_ENABLE_OPENMP TRUE)

# recommended even for release build
set (CMAKE_C_FLAGS "-Wall -Wdeclaration-after-statement ${CMAKE_C_FLAGS}")
Expand Down
2 changes: 1 addition & 1 deletion ci/install-dependencies-macos.sh
Expand Up @@ -17,7 +17,7 @@ PACKAGE="${PACKAGE:-false}"

# packages for compiling GMT
# cmake is pre-installed on GitHub Actions
packages="ninja curl pcre2 netcdf gdal geos fftw ghostscript"
packages="ninja curl pcre2 netcdf gdal geos fftw ghostscript libomp"

# packages for build documentation
if [ "$BUILD_DOCS" = "true" ]; then
Expand Down