Fix ZLIB and SZIP for HDF5
This commit is contained in:
committed by
Biswapriyo Nath
parent
c5ab65903a
commit
e91fcc86f7
@@ -7,7 +7,7 @@ pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
_ver=1.14.2
|
||||
patch=
|
||||
pkgver=${_ver}${patch//-/.}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="General purpose library and file format for storing scientific data (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
|
||||
@@ -71,7 +71,6 @@ build() {
|
||||
|
||||
CFLAGS+=" -Wno-implicit-function-declaration" \
|
||||
MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" \
|
||||
SZIP_INSTALL=${MINGW_PREFIX} \
|
||||
${MINGW_PREFIX}/bin/cmake \
|
||||
-Wno-dev \
|
||||
-GNinja \
|
||||
@@ -86,7 +85,9 @@ build() {
|
||||
-DHDF5_BUILD_TOOLS=ON \
|
||||
-DHDF5_ENABLE_DEPRECATED_SYMBOLS=ON \
|
||||
-DHDF5_ENABLE_SZIP_SUPPORT=ON \
|
||||
-Dlibaec_DIR=${MINGW_PREFIX}/lib/cmake \
|
||||
-DHDF5_ENABLE_Z_LIB_SUPPORT=ON \
|
||||
-DZLIB_ROOT=${MINGW_PREFIX} \
|
||||
-DHDF5_ENABLE_ROS3_VFD=ON \
|
||||
-DHDF5_INSTALL_CMAKE_DIR="lib/cmake" \
|
||||
-DHDF5_INSTALL_DATA_DIR="share/doc/hdf5" \
|
||||
|
||||
Reference in New Issue
Block a user