[arch-commits] Commit in lapack/repos/extra-x86_64 (4 files)
Antonio Rojas
arojas at archlinux.org
Thu Apr 1 17:03:05 UTC 2021
Date: Thursday, April 1, 2021 @ 17:03:04
Author: arojas
Revision: 411391
archrelease: copy trunk to extra-x86_64
Added:
lapack/repos/extra-x86_64/LICENSE.blas
(from rev 411390, lapack/trunk/LICENSE.blas)
lapack/repos/extra-x86_64/PKGBUILD
(from rev 411390, lapack/trunk/PKGBUILD)
Deleted:
lapack/repos/extra-x86_64/LICENSE.blas
lapack/repos/extra-x86_64/PKGBUILD
--------------+
LICENSE.blas | 38 ++++++-------
PKGBUILD | 165 +++++++++++++++++++++++++--------------------------------
2 files changed, 94 insertions(+), 109 deletions(-)
Deleted: LICENSE.blas
===================================================================
--- LICENSE.blas 2021-04-01 17:02:51 UTC (rev 411390)
+++ LICENSE.blas 2021-04-01 17:03:04 UTC (rev 411391)
@@ -1,19 +0,0 @@
-From: http://www.netlib.org/blas/faq.html
-
- 2) Are there legal restrictions on the use of BLAS reference
- implementation software?
-
-The reference BLAS is a freely-available software package. It is
-available from netlib via anonymous ftp and the World Wide Web. Thus,
-it can be included in commercial software packages (and has been). We
-only ask that proper credit be given to the authors.
-
-Like all software, it is copyrighted. It is not trademarked, but we do
-ask the following:
-
-If you modify the source for these routines we ask that you change the
-name of the routine and comment the changes made to the original.
-
-We will gladly answer any questions regarding the software. If a
-modification is done, however, it is the responsibility of the person
-who modified the routine to provide support.
Copied: lapack/repos/extra-x86_64/LICENSE.blas (from rev 411390, lapack/trunk/LICENSE.blas)
===================================================================
--- LICENSE.blas (rev 0)
+++ LICENSE.blas 2021-04-01 17:03:04 UTC (rev 411391)
@@ -0,0 +1,19 @@
+From: http://www.netlib.org/blas/faq.html
+
+ 2) Are there legal restrictions on the use of BLAS reference
+ implementation software?
+
+The reference BLAS is a freely-available software package. It is
+available from netlib via anonymous ftp and the World Wide Web. Thus,
+it can be included in commercial software packages (and has been). We
+only ask that proper credit be given to the authors.
+
+Like all software, it is copyrighted. It is not trademarked, but we do
+ask the following:
+
+If you modify the source for these routines we ask that you change the
+name of the routine and comment the changes made to the original.
+
+We will gladly answer any questions regarding the software. If a
+modification is done, however, it is the responsibility of the person
+who modified the routine to provide support.
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-01 17:02:51 UTC (rev 411390)
+++ PKGBUILD 2021-04-01 17:03:04 UTC (rev 411391)
@@ -1,90 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-# Contributor: damir <damir at archlinux.org>
-# Contributor: Jason Taylor <jftaylor21 at gmail.com>
-
-pkgbase=lapack
-pkgname=(lapack blas cblas lapacke lapack-doc)
-pkgver=3.9.0
-pkgrel=3
-url="https://www.netlib.org/lapack"
-pkgdesc="Linear Algebra PACKage"
-makedepends=(gcc-fortran cmake python doxygen)
-arch=(x86_64)
-license=(custom)
-source=($pkgbase-$pkgver.tar.gz::"https://github.com/Reference-LAPACK/lapack/archive/v$pkgver.tar.gz" LICENSE.blas
- lapacke-missing-symbols.patch::"https://github.com/Reference-LAPACK/lapack/commit/87536aa3.patch")
-sha256sums=('106087f1bb5f46afdfba7f569d0cbe23dacb9a07cd24733765a0e89dbe1ad573'
- '2420cd1331c5754071966389b26e6196c5cb086a2ade0080953af62e0c6d4107'
- '327d62ee39eeb967ce48b4ed0b95e78c6210f688b5c3f944810aafe68d2dadfa')
-
-prepare() {
- cd $pkgname-$pkgver
- patch -p1 -i ../lapacke-missing-symbols.patch # https://github.com/Reference-LAPACK/lapack/issues/365
-}
-
-build() {
- install -d build
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_SKIP_RPATH=ON \
- -DBUILD_SHARED_LIBS=ON \
- -DBUILD_TESTING=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_Fortran_COMPILER=gfortran \
- -DLAPACKE_WITH_TMG=ON \
- -DCBLAS=ON \
- -DBUILD_DEPRECATED=ON
- make
-
-# Build man pages
- cd ../$pkgname-$pkgver
- doxygen DOCS/Doxyfile_man
-}
-
-package_lapack() {
- depends=(blas)
-
- cd build
- make DESTDIR="$pkgdir" install
-
- rm -r "$pkgdir"/usr/lib/{libblas.*,libcblas.*,liblapacke.*}
- rm -r "$pkgdir"/usr/lib/pkgconfig/{blas.*,cblas.*,lapacke.*}
- rm -r "$pkgdir"/usr/lib/cmake/{cblas*,lapacke*}
- rm -r "$pkgdir"/usr/include
-}
-
-package_blas() {
- pkgdesc="Basic Linear Algebra Subprograms"
- depends=(gcc-libs)
-
- cd build/BLAS
- make DESTDIR="$pkgdir" install
-
- install -m755 -d "$pkgdir/usr/share/licenses/blas"
- install -m644 "$srcdir/LICENSE.blas" \
- "$pkgdir/usr/share/licenses/blas/"
-}
-
-package_cblas() {
- pkgdesc="C interface to BLAS"
- depends=(blas)
-
- cd build/CBLAS
- make DESTDIR="$pkgdir" install
-}
-
-package_lapacke() {
- pkgdesc="C interface to LAPACK"
- depends=(lapack)
-
- cd build/LAPACKE
- make DESTDIR="$pkgdir" install
-}
-
-package_lapack-doc() {
- pkgdesc="Man pages for BLAS/LAPACK"
-
- mkdir -p "$pkgdir"/usr/share
- cp -r lapack-$pkgver/DOCS/man "$pkgdir"/usr/share
-}
Copied: lapack/repos/extra-x86_64/PKGBUILD (from rev 411390, lapack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-01 17:03:04 UTC (rev 411391)
@@ -0,0 +1,75 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Jason Taylor <jftaylor21 at gmail.com>
+
+pkgbase=lapack
+pkgname=(lapack blas cblas lapacke lapack-doc)
+pkgver=3.9.1
+pkgrel=1
+url="https://www.netlib.org/lapack"
+pkgdesc="Linear Algebra PACKage"
+makedepends=(gcc-fortran cmake python doxygen)
+arch=(x86_64)
+license=(custom)
+source=($pkgbase-$pkgver.tar.gz::"https://github.com/Reference-LAPACK/lapack/archive/v$pkgver.tar.gz" LICENSE.blas)
+sha256sums=('d0085d2caf997ff39299c05d4bacb6f3d27001d25a4cc613d48c1f352b73e7e0'
+ '2420cd1331c5754071966389b26e6196c5cb086a2ade0080953af62e0c6d4107')
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DBUILD_SHARED_LIBS=ON \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_Fortran_COMPILER=gfortran \
+ -DLAPACKE_WITH_TMG=ON \
+ -DCBLAS=ON \
+ -DBUILD_DEPRECATED=ON
+ cmake --build build
+
+# Build man pages
+ cd $pkgname-$pkgver
+ doxygen DOCS/Doxyfile_man
+}
+
+package_lapack() {
+ depends=(blas)
+
+ DESTDIR="$pkgdir" cmake --install build
+
+ rm -r "$pkgdir"/usr/lib/{libblas.*,libcblas.*,liblapacke.*}
+ rm -r "$pkgdir"/usr/lib/pkgconfig/{blas.*,cblas.*,lapacke.*}
+ rm -r "$pkgdir"/usr/lib/cmake/{cblas*,lapacke*}
+ rm -r "$pkgdir"/usr/include
+}
+
+package_blas() {
+ pkgdesc="Basic Linear Algebra Subprograms"
+ depends=(gcc-libs)
+
+ DESTDIR="$pkgdir" cmake --install build/BLAS
+
+ install -Dm644 LICENSE.blas -t "$pkgdir"/usr/share/licenses/blas/
+}
+
+package_cblas() {
+ pkgdesc="C interface to BLAS"
+ depends=(blas)
+
+ DESTDIR="$pkgdir" cmake --install build/CBLAS
+}
+
+package_lapacke() {
+ pkgdesc="C interface to LAPACK"
+ depends=(lapack)
+
+ DESTDIR="$pkgdir" cmake --install build/LAPACKE
+}
+
+package_lapack-doc() {
+ pkgdesc="Man pages for BLAS/LAPACK"
+
+ mkdir -p "$pkgdir"/usr/share
+ cp -r lapack-$pkgver/DOCS/man "$pkgdir"/usr/share
+}
More information about the arch-commits
mailing list