Conversation
It avoids the spurious detection of the NDEBUG compilation flag by CMake when importing the hdf5 package, see: - Geos issue #2631 - hdf5 issue #3526
|
Should also close #211 |
untereiner
left a comment
There was a problem hiding this comment.
just a comment, not sure if it matters but other external projects have
-D CMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
|
Hi @untereiner , Thanks for your feedbacks: I have tried to preserve exactly the options that where used to build hdf5 using autogen. As it was always built in In practice I don't really have an opinion on what is better: do we want to build all TPLs in Debug mode sometimes or only some of them? |
|
@TotoGaz is the dockerhub login failure induced by this PR being initiated from a fork ? In that case won't this prevent opensource contributions for external developers ? |
I think it would be better to propagate |
|
Ok, So I will transfer the global CMAKE_BUILD_TYPE toward hdf5. Just for your info: now that I have commit rights in the repo, I redid this PR from a branch rather than a fork (it seems that the ci doesn't work if launched by a fork due to missing identifiers for connecting to DockerHub). New PR is available here and point to this conversation. |
It avoids the spurious detection of the NDEBUG compilation flag by CMake when importing the hdf5 package.
As a side-effect, it will allow to test the GEOS
assertsin github-ci configs running inDebugmode.See:
Closes #211, closes GEOS-DEV/GEOS#2631, closes HDFGroup/hdf5#3526.