-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@punims : for the szip, you can see that there are options to build it statically: $ ./configure --help
...
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-static[=PKGS] build static libraries [default=yes]
... So By the way, szip is only needed if you want to enable szip-based compression. If that is not required, with cmake build system of hdf5, one can use options like: -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=OFF -DONLY_SHARED_LIBS:BOOL=OFF Hope that helps! |
Beta Was this translation helpful? Give feedback.
@punims : for the szip, you can see that there are options to build it statically:
So
--enable-shared=no --enable-static=yes
should do the job.By the way, szip is only needed if you want to enable szip-based compression. If that is not required, with cmake build system of hdf5, one can use options like:
-DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=OFF -DONLY_SHARED_LIBS:BOOL=OFF
Hope that helps!