Skip to content

Commit

Permalink
Merge pull request #728 from bam241/hdf5_12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gonuke authored Feb 25, 2021
2 parents 80c2a0e + 57d10dd commit 752f865
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions news/PR-0728.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
**Added:** None

**Changed:** None

**Deprecated:** None

**Removed:** None

**Fixed:**
- adding special build flag to enable old hdf5 interface for PyNE when compiling
against hdf5@1.12+

**Security:** None
4 changes: 4 additions & 0 deletions src/pyne/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O0 -g")
endif ()

if(NOT (${HDF5_VERSION} VERSION_LESS 1.12.0))
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DH5Oget_info_by_idx_vers=1 -DH5O_info_t_vers=1 -DH5Oget_info_by_name_vers=1")
endif()

dagmc_install_library(pyne_dagmc)

0 comments on commit 752f865

Please sign in to comment.