mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-14 21:27:01 +02:00
hdf5: update to 1.14.6, fix cross.
This commit is contained in:
parent
36b8e5b15f
commit
6bafc05c88
4 changed files with 60 additions and 14 deletions
|
@ -2646,12 +2646,12 @@ libpjsip-ua.so.2 pjproject-2.8_5
|
|||
libpjsip.so.2 pjproject-2.8_5
|
||||
libpjsua.so.2 pjproject-2.8_5
|
||||
libpjsua2.so.2 pjproject-2.8_5
|
||||
libhdf5_hl.so.100 hdf5-1.10.1_2
|
||||
libhdf5.so.103 hdf5-1.10.4_1
|
||||
libhdf5_hl_cpp.so.100 hdf5-1.10.1_2
|
||||
libhdf5_cpp.so.103 hdf5-1.10.4_1
|
||||
libhdf5hl_fortran.so.100 hdf5-1.10.1_2
|
||||
libhdf5_fortran.so.102 hdf5-1.10.5_1
|
||||
libhdf5_hl.so.310 hdf5-1.14.6_1
|
||||
libhdf5.so.310 hdf5-1.14.6_1
|
||||
libhdf5_hl_cpp.so.310 hdf5-1.14.6_1
|
||||
libhdf5_cpp.so.310 hdf5-1.14.6_1
|
||||
libhdf5hl_fortran.so.310 hdf5-1.14.6_1
|
||||
libhdf5_fortran.so.310 hdf5-1.14.6_1
|
||||
libcryptmount.so.0 libpam-mount-2.15_1
|
||||
libglob.so.0 libglob-1.0_1
|
||||
libepub.so.0 ebook-tools-0.2.2_1
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
Fix for 32 bit, see: https://github.com/HDFGroup/hdf5/issues/4916
|
||||
|
||||
From 0af668f4091f1c35f621d2acdeadd34db6756976 Mon Sep 17 00:00:00 2001
|
||||
From: Orion Poplawski <orion@nwra.com>
|
||||
Date: Fri, 4 Oct 2024 13:33:15 -0600
|
||||
Subject: [PATCH] Re-add call to AC_CHECK_SIZEOF([__float128]). Fixes #4916.
|
||||
(#4924)
|
||||
|
||||
---
|
||||
configure.ac | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index af6c974a2a0..c5bfe4276af 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -854,6 +854,7 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
|
||||
if test "$MY_FLT128_DIG" -gt "$MY_LDBL_DIG" ; then
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE([HAVE_FLOAT128], [1], [Determine if __float128 will be used in the Fortran wrappers])
|
||||
+ AC_CHECK_SIZEOF([__float128])
|
||||
else
|
||||
## Can't use __float128, but write an undef line anyway
|
||||
AC_MSG_RESULT([no])
|
13
srcpkgs/hdf5/patches/workaround-broken-test-i686.patch
Normal file
13
srcpkgs/hdf5/patches/workaround-broken-test-i686.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
This test is broken on i686, see: https://github.com/HDFGroup/hdf5/issues/4926
|
||||
|
||||
--- a/fortran/test/tH5R.F90
|
||||
+++ b/fortran/test/tH5R.F90
|
||||
@@ -668,7 +668,7 @@
|
||||
CALL verify("h5rget_obj_name_f", TRIM(buf_big), "/"//groupname1, total_error)
|
||||
|
||||
! getting path to dataset
|
||||
- CALL h5rget_obj_name_f(C_LOC(ref_ptr(2)), "", error, name_len=buf_size )
|
||||
+ CALL h5rget_obj_name_f(C_LOC(ref_ptr(2)), "A long string is needed here", error, name_len=buf_size )
|
||||
CALL check("H5Rget_name_f", error, total_error)
|
||||
CALL verify("H5Rget_name_f2", INT(buf_size),LEN("/"//groupname1//"/"//groupname2),total_error)
|
||||
|
|
@ -1,22 +1,31 @@
|
|||
# Template file for 'hdf5'
|
||||
pkgname=hdf5
|
||||
version=1.10.11
|
||||
version=1.14.6
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-cxx --enable-fortran"
|
||||
hostmakedepends="gcc-fortran"
|
||||
configure_args="--enable-cxx"
|
||||
hostmakedepends="perl autoconf"
|
||||
makedepends="zlib-devel"
|
||||
short_desc="Data model, library, and file format for storing and managing data"
|
||||
maintainer="pulux <pulux@pf4sh.de>"
|
||||
license="custom:BSD-3-Clause-LBNL-alike"
|
||||
homepage="https://hdfgroup.org"
|
||||
distfiles="https://github.com/HDFGroup/hdf5/archive/hdf5-${version//./_}.tar.gz"
|
||||
checksum=4ef6375fc7d8c54dcd66e9bc35a7a3580d33cd8878bdf21ad1eb388a43863159
|
||||
nocross="https://web.archive.org/web/20230924050239/https://portal.hdfgroup.org/pages/viewpage.action?pageId=48808266"
|
||||
homepage="https://www.hdfgroup.org/solutions/hdf5/"
|
||||
changelog="https://github.com/HDFGroup/hdf5/releases"
|
||||
distfiles="https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5_${version}.tar.gz"
|
||||
checksum=09ee1c671a87401a5201c06106650f62badeea5a3b3941e9b1e2e1e08317357f
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
# fortran support needs to run programs to configure
|
||||
configure_args+=" --enable-fortran"
|
||||
hostmakedepends+=" gcc-fortran"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
autoconf
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
rm -rf ${DESTDIR}/usr/lib/libdynlib*.so
|
||||
}
|
||||
|
||||
hdf5-devel_package() {
|
||||
|
|
Loading…
Add table
Reference in a new issue