Skip to content

Build hdf5 using CMake instead of Autogen - #243

Merged
CusiniM merged 9 commits into
masterfrom
feature/algiane/NDEBUG-flag-in-Debug-build
Oct 13, 2023
Merged

CusiniM merged 9 commits into
masterfrom
feature/algiane/NDEBUG-flag-in-Debug-build

Conversation

@Algiane

@Algiane Algiane commented Sep 18, 2023 •

Copy link
Copy Markdown
Contributor

This PR 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 asserts in github-ci configs running in Debug mode.

See:

I initially proposed this PR from a fork of the TPLs but the ci fail due to missing authorization to connect to DockerHub.
Previous discussion is available in the initial PR.

Closes #211, closes GEOS-DEV/GEOS#2631, closes HDFGroup/hdf5#3526.

    It avoids the spurious detection of the NDEBUG compilation flag by
    CMake when importing the hdf5 package, see:
      - Geos issue #2631
      - hdf5 issue #3526
@Algiane Algiane changed the title Feature/algiane/ndebug flag in debug build Build hdf5 using CMake instead of Autogen Sep 18, 2023
@Algiane

Algiane commented Sep 19, 2023

Copy link
Copy Markdown
Contributor Author

Remark: the failing builds on centos are linked to the detection of the hdf5 version in fesapi configuration and build. See F2I-Consulting/fesapi#326

Comment thread CMakeLists.txt
@tbeltzun tbeltzun self-assigned this Oct 6, 2023
@tbeltzun

Copy link
Copy Markdown
Contributor

@wrtobin or @bmhan12 , sorry to bother but could we move forward on this PR, or could we find someone available for a review ? Thanks.

@wrtobin wrtobin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working for the TPL build using quartz-clang-14, quartz-gcc-12, lassen-gcc-8-cuda-11, and lassen-clang-13-cuda-11 host-configs from the GEOS/develop/HEAD.

The quartz-gcc-12 build passes the integratedTests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working flag: ready to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export of the NDEBUG flag in HDF5_DEFINITIONS CMake variable Failing ci tests in Debug mode configure HDF5 with CMake intead of configure

5 participants