[arch-commits] Commit in openblas/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Dec 20 20:39:14 UTC 2020
Date: Sunday, December 20, 2020 @ 20:39:13
Author: felixonmars
Revision: 780697
archrelease: copy trunk to community-x86_64
Added:
openblas/repos/community-x86_64/PKGBUILD
(from rev 780696, openblas/trunk/PKGBUILD)
Deleted:
openblas/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-20 20:38:57 UTC (rev 780696)
+++ PKGBUILD 2020-12-20 20:39:13 UTC (rev 780697)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Giuseppe Borzi <gborzi _AT_ ieee _DOT_ org>
-
-pkgname=openblas
-_pkgname=OpenBLAS
-pkgver=0.3.13
-pkgrel=1
-pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD"
-arch=('x86_64')
-url="https://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=('86e7f496587cc35d7feede99cbe3cf627ef690dd7489bb03b95f7d15ed758e32baf17d79f17b1de187184394233f60a8249a64dd53c3d59a9540db92269b7ee4')
-
-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/lapack*
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- cd "$pkgdir"/usr/lib/
- ln -s libopenblasp-r$pkgver.so libblas.so
- ln -s 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
- ln -s openblas.pc "$pkgdir"/usr/lib/pkgconfig/blas.pc
-
- rmdir "$pkgdir"/usr/bin
-}
-
-# vim:set ts=2 sw=2 et:
Copied: openblas/repos/community-x86_64/PKGBUILD (from rev 780696, openblas/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-20 20:39:13 UTC (rev 780697)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Giuseppe Borzi <gborzi _AT_ ieee _DOT_ org>
+
+pkgname=openblas
+_pkgname=OpenBLAS
+pkgver=0.3.13
+pkgrel=2
+pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD"
+arch=('x86_64')
+url="https://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=('86e7f496587cc35d7feede99cbe3cf627ef690dd7489bb03b95f7d15ed758e32baf17d79f17b1de187184394233f60a8249a64dd53c3d59a9540db92269b7ee4')
+
+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" TARGET=CORE2 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/lapack*
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ cd "$pkgdir"/usr/lib/
+ ln -s libopenblasp-r$pkgver.so libblas.so
+ ln -s 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
+ ln -s openblas.pc "$pkgdir"/usr/lib/pkgconfig/blas.pc
+
+ rmdir "$pkgdir"/usr/bin
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list