Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / hdf5-openmpi
Commits: a0029578 by Antonio Rojas at 2024-04-29T23:15:27+02:00 upgpkg: 1.14.4.2-1: Update to 1.14.4.2 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = hdf5-openmpi pkgdesc = General purpose library and file format for storing scientific data (openmpi version) - pkgver = 1.14.3 - pkgrel = 3 + pkgver = 1.14.4.2 + pkgrel = 1 url = https://www.hdfgroup.org/hdf5 arch = x86_64 license = custom @@ -18,7 +18,7 @@ pkgbase = hdf5-openmpi conflicts = hdf5 conflicts = hdf5-openmpi-java replaces = hdf5-openmpi-java - source = https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.14/hdf5-1.14.3/src/hdf5-1.14.3.tar.bz2 - sha256sums = 9425f224ed75d1280bb46d6f26923dd938f9040e7eaebf57e66ec7357c08f917 + source = https://github.com/HDFGroup/hdf5/archive/hdf5_1.14.4.2/hdf5-openmpi-1.14.4.2.tar.gz + sha256sums = 44c47120e8beeb69f83b2de10203dceb6ef63f253b7859063a60205c8f48ab80 pkgname = hdf5-openmpi ===================================== PKGBUILD ===================================== @@ -9,8 +9,8 @@ _pkgname=hdf5 _mpi=openmpi pkgname=${_pkgname}-${_mpi} -pkgver=1.14.3 -pkgrel=3 +pkgver=1.14.4.2 +pkgrel=1 pkgdesc="General purpose library and file format for storing scientific data (${_mpi} version)" arch=(x86_64) url="https://www.hdfgroup.org/hdf5" @@ -20,11 +20,12 @@ makedepends=(cmake time gcc-fortran java-environment) provides=(hdf5 hdf5-${_mpi}-java) conflicts=(hdf5 hdf5-${_mpi}-java) replaces=(hdf5-${_mpi}-java) -source=(https://support.hdfgroup.org/ftp/HDF5/releases/${_pkgname}-${pkgver:0:4}/${_pkgname}-${pkgver/_/-}/src/${_pkgname}-${pkgver/_/-}.tar.bz2) -sha256sums=('9425f224ed75d1280bb46d6f26923dd938f9040e7eaebf57e66ec7357c08f917') +#source=(https://support.hdfgroup.org/ftp/HDF5/releases/${_pkgname}-${pkgver:0:4}/${_pkgname}-${pkgver/_/-}/src/${_pkgname}-${pkgver/_/-}.tar.bz2) +source=(https://github.com/HDFGroup/hdf5/archive/hdf5_$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('44c47120e8beeb69f83b2de10203dceb6ef63f253b7859063a60205c8f48ab80') prepare() { - cd ${_pkgname}-${pkgver/_/-} + cd ${_pkgname}-${_pkgname}_${pkgver/_/-} # Don't mess with build flags sed -e '/-Werror/d' -i configure } @@ -39,7 +40,7 @@ build() { F9X="mpif90" \ RUNPARALLEL="mpirun" \ OMPI_MCA_disable_memory_allocator=1 \ - cmake ../${_pkgname}-${pkgver/_/-} \ + cmake ../${_pkgname}-${_pkgname}_${pkgver/_/-} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_STATIC_LIBS=OFF \ -DCMAKE_BUILD_TYPE=Release \ @@ -54,7 +55,7 @@ build() { -DHDF5_ENABLE_SZIP_ENCODING=ON \ -DUSE_LIBAEC=ON # But don’t build with it, it’s quite broken - cd ../${_pkgname}-${pkgver/_/-} + cd ../${_pkgname}-${_pkgname}_${pkgver/_/-} ./configure \ CXX="mpicxx" \ CC="mpicc" \ @@ -81,7 +82,7 @@ build() { } check() { - cd ${_pkgname}-${pkgver/_/-} + cd ${_pkgname}-${_pkgname}_${pkgver/_/-} export OMPI_MCA_opal_warn_on_missing_libcuda=0 # Without this, checks are failing with messages like “error while loading shared libraries: libhdf5.so.101: cannot open shared object file: No such file or directory” export LD_LIBRARY_PATH="${srcdir}"/${pkgname}-${pkgver/_/-}/src/.libs/ @@ -95,7 +96,7 @@ check() { } package() { - cd ${_pkgname}-${pkgver/_/-} + cd ${_pkgname}-${_pkgname}_${pkgver/_/-} make DESTDIR="${pkgdir}" install install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${_pkgname} # Install pkg-config files from CMake tree View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/hdf5-openmpi/-/commit/a0029578f33380eaaf28c2f49cf671c30ac4cffc -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/hdf5-openmpi/-/commit/a0029578f33380eaaf28c2f49cf671c30ac4cffc You're receiving this email because of your account on gitlab.archlinux.org.