[arch-commits] Commit in openblas/repos/community-testing-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jul 30 09:08:32 UTC 2018
Date: Monday, July 30, 2018 @ 09:08:31
Author: felixonmars
Revision: 364962
archrelease: copy trunk to community-testing-x86_64
Added:
openblas/repos/community-testing-x86_64/PKGBUILD
(from rev 364961, openblas/trunk/PKGBUILD)
Deleted:
openblas/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-30 09:08:04 UTC (rev 364961)
+++ PKGBUILD 2018-07-30 09:08:31 UTC (rev 364962)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Giuseppe Borzi <gborzi _AT_ ieee _DOT_ org>
-
-pkgname=openblas
-_pkgname=OpenBLAS
-pkgver=0.3.1
-pkgrel=1
-pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD"
-arch=('x86_64')
-url="http://www.openblas.net/"
-license=('BSD')
-depends=('gcc-libs')
-makedepends=('perl' 'gcc-fortran')
-provides=('blas=3.8.0')
-conflicts=('blas')
-source=(${_pkgname}-v${pkgver}.tar.gz::https://github.com/xianyi/OpenBLAS/archive/v${pkgver}.tar.gz)
-sha512sums=('4c8d50114378518c7c85b92dd52cb649290f3bdc119316c0e236ea56353447d1fcef18afb344d4f125ec8b379b10f9d43ab008316517d897bf73e8f0000ee8f7')
-
-build() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- make NO_STATIC=1 NO_LAPACK=1 NO_LAPACKE=1 NO_CBLAS=1 NO_AFFINITY=1 USE_OPENMP=1 \
- CFLAGS="$CPPFLAGS $CFLAGS" DYNAMIC_ARCH=1 \
- NUM_THREADS=64 MAJOR_VERSION=3 libs shared
-}
-
-package() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- make PREFIX="$pkgdir/usr" NUM_THREADS=64 MAJOR_VERSION=3 install
- rm -f "$pkgdir/usr/include/cblas.h" "$pkgdir"/usr/include/lapacke*
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- cd "$pkgdir/usr/lib/"
- ln -sf libopenblasp-r$pkgver.so libblas.so
- ln -sf libopenblasp-r$pkgver.so libblas.so.3
- sed -i -e "s%$pkgdir%%" "$pkgdir/usr/lib/cmake/openblas/OpenBLASConfig.cmake"
- sed -i -e "s%$pkgdir%%" "$pkgdir/usr/lib/pkgconfig/openblas.pc"
-
- rmdir "$pkgdir"/usr/bin
-}
-
-# vim:set ts=2 sw=2 et:
Copied: openblas/repos/community-testing-x86_64/PKGBUILD (from rev 364961, openblas/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-30 09:08:31 UTC (rev 364962)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Giuseppe Borzi <gborzi _AT_ ieee _DOT_ org>
+
+pkgname=openblas
+_pkgname=OpenBLAS
+pkgver=0.3.2
+pkgrel=1
+pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD"
+arch=('x86_64')
+url="http://www.openblas.net/"
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('perl' 'gcc-fortran')
+provides=('blas=3.8.0')
+conflicts=('blas')
+source=(${_pkgname}-v${pkgver}.tar.gz::https://github.com/xianyi/OpenBLAS/archive/v${pkgver}.tar.gz)
+sha512sums=('13bc2aae763dadfe3ded33d12eb56fa3a042007047e9e84f6d18ed576394a45590f9f248d72c954c90cd2612e5cb0e1238a8bf83520160467fa720cf89ddb101')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ make NO_STATIC=1 NO_LAPACK=1 NO_LAPACKE=1 NO_CBLAS=1 NO_AFFINITY=1 USE_OPENMP=1 \
+ CFLAGS="$CPPFLAGS $CFLAGS" DYNAMIC_ARCH=1 \
+ NUM_THREADS=64 MAJOR_VERSION=3 libs shared
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ make PREFIX="$pkgdir/usr" NUM_THREADS=64 MAJOR_VERSION=3 install
+ rm -f "$pkgdir/usr/include/cblas.h" "$pkgdir"/usr/include/lapacke*
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd "$pkgdir/usr/lib/"
+ ln -sf libopenblasp-r$pkgver.so libblas.so
+ ln -sf libopenblasp-r$pkgver.so libblas.so.3
+ sed -i -e "s%$pkgdir%%" "$pkgdir/usr/lib/cmake/openblas/OpenBLASConfig.cmake"
+ sed -i -e "s%$pkgdir%%" "$pkgdir/usr/lib/pkgconfig/openblas.pc"
+
+ rmdir "$pkgdir"/usr/bin
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list