Skip to content

Commit 5408dad

Browse files
committed
Disable SZIP support in HDF5: not needed here (#335)
1 parent 6b63d47 commit 5408dad

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/vmecpp/cpp/third_party/hdf5/BUILD.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ cmake(
1313
"HDF5_BUILD_CPP_LIB": "ON",
1414
# enable ZLIB support, since this is a hard requirement by NetCDF4
1515
"HDF5_ENABLE_Z_LIB_SUPPORT" : "ON",
16+
# disable SZIP support, since this might not be available on all systems
17+
# and is not needed for our use case
1618
"HDF5_ENABLE_SZIP_SUPPORT" : "OFF",
19+
"HDF5_ENABLE_SZIP_ENCODING" : "OFF",
20+
"SZIP_INCLUDE_DIR": "IGNORE_THIS_PATH",
21+
"SZIP_LIBRARY": "IGNORE_THIS_PATH",
1722
"BUILD_TESTING": "OFF",
1823
"HDF5_BUILD_TOOLS": "OFF",
1924
},

0 commit comments

Comments
 (0)