Skip to content

CI: fix github worklow when building without openmp - #7357

Closed
metzm wants to merge 1 commit into
OSGeo:releasebranch_8_4from
metzm:g84_worklfow_without_openmp
Closed

metzm wants to merge 1 commit into
OSGeo:releasebranch_8_4from
metzm:g84_worklfow_without_openmp

Conversation

@metzm

@metzm metzm commented May 1, 2026

Copy link
Copy Markdown
Contributor

Currently, github workflow builds without openmp fail with openmp-related errors like

error: ignoring ‘#pragma omp critical’ [-Werror=unknown-pragmas]

Actually, all #pragma omp ... occurences trigger this error. This error message does not make sense when building without openmp support. Adding the compiler flag -Wno-error=unknown-pragmas should help.

@metzm metzm added this to the 8.4.3 milestone May 1, 2026
@metzm
metzm requested a review from wenzeslaus May 1, 2026 16:33
@metzm
metzm marked this pull request as draft May 1, 2026 16:35
@metzm
metzm removed the request for review from wenzeslaus May 1, 2026 17:06
@github-actions github-actions Bot added the CI Continuous integration label May 1, 2026
@metzm

metzm commented May 2, 2026

Copy link
Copy Markdown
Contributor Author

Properly fixed in #7354, closing.

@metzm metzm closed this May 2, 2026
@metzm
metzm deleted the g84_worklfow_without_openmp branch May 2, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant