Introduction
Introduction Statistics Contact Development Disclaimer Help
tuse Python list notation for blaslapack - petsc-git-PKGBUILD - build template …
git clone git://src.adamsgaard.dk/petsc-git-PKGBUILD
Log
Files
Refs
---
commit 9ea9b0419bfe86269da385eecad76446f6621dd6
parent d8aa242b76075f92d225789a712db168e3484888
Author: eDgar <eDgar_|at|_openmail.cc>
Date: Thu, 23 Sep 2021 14:20:16 -0500
use Python list notation for blaslapack
Diffstat:
M .SRCINFO | 4 ++--
M PKGBUILD | 10 ++--------
M test_optdepends.sh | 9 ++++-----
3 files changed, 8 insertions(+), 15 deletions(-)
---
diff --git a/.SRCINFO b/.SRCINFO
t@@ -1,6 +1,6 @@
pkgbase = petsc-git
pkgdesc = Portable, extensible toolkit for scientific computation
- pkgver = 3.15.4.33.g0bac13e0fe9
+ pkgver = 3.15.4.37.g17c486c0fcd
pkgrel = 1
url = https://gitlab.com/petsc/petsc
arch = i686
t@@ -30,7 +30,7 @@ pkgbase = petsc-git
source = test_optdepends.sh
sha512sums = SKIP
sha512sums = b6a1d48aab1c2639a4c1cbd8b313ace253f1c36eedaa3de3508ffbd60…
- sha512sums = 26145ebce4c3c2a418488e1412579ea56744e9da07f0f6ebc9e457a14…
+ sha512sums = 77b257ea28a9f109c48c8447ab2db4204f6dba715626f15e916ec8f54…
pkgname = petsc-git
optdepends = boost: Free peer-reviewed portable C++ source libraries
diff --git a/PKGBUILD b/PKGBUILD
t@@ -19,12 +19,10 @@ makedepends=('gcc' 'gcc-fortran' 'cmake' 'sowing' "pkgconf"
'git' 'cython' 'chrpath' "hypre=2.18.2")
source=(git+${url}.git#branch=release
https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-with-docs-"$…
- test_optdepends.sh
- blaslapack_download.patch)
+ test_optdepends.sh)
sha512sums=('SKIP'
'b6a1d48aab1c2639a4c1cbd8b313ace253f1c36eedaa3de3508ffbd6060e1def9…
- '3b3b6de71e65e8b9806e16f9a2c839e6022ce0d6860606ec38604377b946e843c…
- 'af899ea1d06bf6d4cee1c1fe86902ba2772d1001caf00e89363c6217fed9dd8375…
+ 'e9ca635fde40291ae78c3985c03fe68f97ce4c2d15674ba776a3d3f820ef0d82b…
_config=linux-c-opt
_install_dir="/usr"
t@@ -89,10 +87,6 @@ export OMPI_MCA_opal_cuda_support=0
unset PETSC_DIR
export PETSC_ARCH=${_config}
-prepare () {
- patch -p1 -i "${srcdir}"/blaslapack_download.patch
-}
-
pkgver() {
cd "${srcdir}"/"${_base}"
git describe --tags --match '*.*' | tr '-' '.' | sed 's-^v--'
diff --git a/test_optdepends.sh b/test_optdepends.sh
t@@ -136,11 +136,10 @@ OPENBLAS_SO="$(find_so libopenblas.so)"
LAPACK_SO="$(find_so liblapack.so)"
if [ -f "${BLAS_SO}" ] && [ -f "${OPENBLAS_SO}" ] \
&& [ -f "${LAPACK_SO}" ]; then
- CONFOPTS="${CONFOPTS} --with-openblas=1"
- OPENBLAS_INC="$(pkgconf ${ONLY_INC} openblas)"
- OPENBLAS_INC="${OPENBLAS_INC//-I/}"
- CONFOPTS="${CONFOPTS} --with-openblas-lib=${OPENBLAS_SO}"
- CONFOPTS="${CONFOPTS} --with-openblas-include=${OPENBLAS_INC}"
+ # With help from Satish Balay
+ # @ 3.15.4.33.g0bac13e0fe9 2021-09-21
+ # nm -AoD /usr/lib64/libopenblas.so | grep dgetrs_
+ CONFOPTS="${CONFOPTS} --with-blaslapack-lib=[${LAPACK_SO},${BLAS_SO}]"
fi
# OpenCL: GPU computing
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.