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}"
7
7
_ver=1.14.5
8
8
__patch=
9
9
pkgver=${_ver}${_patch// -/ .}
10
- pkgrel=2
10
+ pkgrel=3
11
11
pkgdesc=" General purpose library and file format for storing scientific data (mingw-w64)"
12
12
arch=(' any' )
13
13
mingw_arch=(' mingw64' ' ucrt64' ' clang64' ' clangarm64' ' mingw32' )
@@ -83,16 +83,6 @@ build() {
83
83
_extra_config+=(" -DCMAKE_BUILD_TYPE=Debug" )
84
84
fi
85
85
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
-
96
86
CFLAGS+=" -Wno-implicit-function-declaration" \
97
87
MSYS2_ARG_CONV_EXCL=" -DCMAKE_INSTALL_PREFIX=" \
98
88
${MINGW_PREFIX} /bin/cmake \
@@ -105,6 +95,7 @@ build() {
105
95
" ${_extra_config[@]} " \
106
96
-DCMAKE_SKIP_RPATH=ON \
107
97
-DHDF5_BUILD_CPP_LIB=ON \
98
+ -DHDF5_BUILD_FORTRAN=ON \
108
99
-DHDF5_BUILD_HL_LIB=ON \
109
100
-DHDF5_BUILD_TOOLS=ON \
110
101
-DHDF5_ENABLE_DEPRECATED_SYMBOLS=ON \
You can’t perform that action at this time.
0 commit comments