File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
77_ver=1.14.5
88__patch=
99pkgver=${_ver}${_patch// -/ .}
10- pkgrel=2
10+ pkgrel=3
1111pkgdesc=" General purpose library and file format for storing scientific data (mingw-w64)"
1212arch=(' any' )
1313mingw_arch=(' mingw64' ' ucrt64' ' clang64' ' clangarm64' ' mingw32' )
@@ -83,16 +83,6 @@ build() {
8383 _extra_config+=(" -DCMAKE_BUILD_TYPE=Debug" )
8484 fi
8585
86- # Fails with flang-19:
87- # error: loc("C:/_/B/src/hdf5-1.14.5/fortran/src/H5VLff.F90":456:32):
88- # C:/M/B/src/flang-19.1.4.src/lib/Optimizer/CodeGen/Target.cpp:102:
89- # not yet implemented: passing VALUE BIND(C) derived type for this target
90- if [[ ${MINGW_PACKAGE_PREFIX} == * -clang-* ]]; then
91- _extra_config+=(" -DHDF5_BUILD_FORTRAN=OFF" )
92- else
93- _extra_config+=(" -DHDF5_BUILD_FORTRAN=ON" )
94- fi
95-
9686 CFLAGS+=" -Wno-implicit-function-declaration" \
9787 MSYS2_ARG_CONV_EXCL=" -DCMAKE_INSTALL_PREFIX=" \
9888 ${MINGW_PREFIX} /bin/cmake \
@@ -105,6 +95,7 @@ build() {
10595 " ${_extra_config[@]} " \
10696 -DCMAKE_SKIP_RPATH=ON \
10797 -DHDF5_BUILD_CPP_LIB=ON \
98+ -DHDF5_BUILD_FORTRAN=ON \
10899 -DHDF5_BUILD_HL_LIB=ON \
109100 -DHDF5_BUILD_TOOLS=ON \
110101 -DHDF5_ENABLE_DEPRECATED_SYMBOLS=ON \
You can’t perform that action at this time.
0 commit comments