summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Diehl2024-02-28 18:53:04 +0100
committerMartin Diehl2024-02-28 18:53:04 +0100
commitcd05c95e3b3a3c04bda77182f4bf0c647d611308 (patch)
treeff4e53e4a99146f6d9be68ecfcc910eae57d5ef2
parent2570992f6685dc516353fdef5e88edeed4077777 (diff)
downloadaur-cd05c95e3b3a3c04bda77182f4bf0c647d611308.tar.gz
enable tests again
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD13
2 files changed, 4 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 53370a694edc..0ce4a66b7193 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = petsc
pkgdesc = Portable, extensible toolkit for scientific computation
pkgver = 3.20.5
- pkgrel = 1
+ pkgrel = 2
url = https://petsc.org
install = petsc.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index fb98cc4de733..b442f25b335b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Myles English <myles at rockhead dot biz>
# Contributor: Lucas H. Gabrielli <heitzmann at gmail dot com>
pkgver=3.20.5
-pkgrel=1
+pkgrel=2
pkgname=petsc
_config=linux-c-opt
# if --with-debugging=yes is set then PETSC_ARCH is automatically set to
@@ -15,7 +15,7 @@ url="https://petsc.org"
license=('BSD')
options=(staticlibs)
# note: zlib is not really needed by PETSc, but netcdf requires an HDF5 version with zlib
-depends=('openmpi' 'lapack' 'hdf5-openmpi' 'fftw'-openmpi 'superlu' 'suitesparse' 'libyaml' 'gsl' 'libjpeg-turbo' 'netcdf-openmpi' 'zfp' 'zlib'
+depends=('openmpi' 'lapack' 'hdf5-openmpi' 'fftw-openmpi' 'superlu' 'suitesparse' 'libyaml' 'gsl' 'libjpeg-turbo' 'netcdf-openmpi' 'zfp' 'zlib'
'python-numpy' 'python-mpi4py')
makedepends=('gcc' 'gcc-fortran' 'cmake' 'cython')
provides=('petsc4py')
@@ -89,14 +89,7 @@ build() {
check() {
cd ${srcdir}/${pkgname}-${pkgver}
-
- export OMPI_MCA_plm_rsh_agent=sh
- export OMPI_MCA_opal_warn_on_missing_libcuda=0
- if [ -z "$(ldconfig -p | grep libamdhip64.so)" ] || [ -z "$(ldconfig -p | grep libucc.so)" ]; then
- echo "skipping tests"
- else
- PYTHONPATH=${srcdir}/tmp/${_install_dir}/lib:${PYTHONPATH} make check
- fi
+ PYTHONPATH=${srcdir}/tmp/${_install_dir}/lib:${PYTHONPATH} make check
}
package() {