[arch-commits] Commit in cblas (11 files)
Antonio Rojas
arojas at archlinux.org
Fri Dec 19 21:46:50 UTC 2014
Date: Friday, December 19, 2014 @ 22:46:49
Author: arojas
Revision: 124132
archrelease: copy trunk to community-i686, community-x86_64
Added:
cblas/repos/
cblas/repos/community-i686/
cblas/repos/community-i686/LICENSE
(from rev 124131, cblas/trunk/LICENSE)
cblas/repos/community-i686/Makefile.in
(from rev 124131, cblas/trunk/Makefile.in)
cblas/repos/community-i686/PKGBUILD
(from rev 124131, cblas/trunk/PKGBUILD)
cblas/repos/community-i686/cblas.patch
(from rev 124131, cblas/trunk/cblas.patch)
cblas/repos/community-x86_64/
cblas/repos/community-x86_64/LICENSE
(from rev 124131, cblas/trunk/LICENSE)
cblas/repos/community-x86_64/Makefile.in
(from rev 124131, cblas/trunk/Makefile.in)
cblas/repos/community-x86_64/PKGBUILD
(from rev 124131, cblas/trunk/PKGBUILD)
cblas/repos/community-x86_64/cblas.patch
(from rev 124131, cblas/trunk/cblas.patch)
------------------------------+
community-i686/Makefile.in | 52 +++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++
community-i686/cblas.patch | 11 ++++++++
community-x86_64/Makefile.in | 52 +++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++
community-x86_64/cblas.patch | 11 ++++++++
6 files changed, 216 insertions(+)
Copied: cblas/repos/community-i686/LICENSE (from rev 124131, cblas/trunk/LICENSE)
===================================================================
(Binary files differ)
Copied: cblas/repos/community-i686/Makefile.in (from rev 124131, cblas/trunk/Makefile.in)
===================================================================
--- repos/community-i686/Makefile.in (rev 0)
+++ repos/community-i686/Makefile.in 2014-12-19 21:46:49 UTC (rev 124132)
@@ -0,0 +1,52 @@
+#
+# Makefile.LINUX
+#
+#
+# If you compile, change the name to Makefile.in.
+#
+#
+
+#-----------------------------------------------------------------------------
+# Shell
+#-----------------------------------------------------------------------------
+
+SHELL = /bin/sh
+
+#-----------------------------------------------------------------------------
+# Platform
+#-----------------------------------------------------------------------------
+
+PLAT = LINUX
+
+#-----------------------------------------------------------------------------
+# Libraries and includs
+#-----------------------------------------------------------------------------
+
+BLLIB = libblas.so
+CBDIR = $(PWD)
+CBLIBDIR = $(CBDIR)/lib
+CBLIB = $(CBLIBDIR)/libcblas.a
+CBSHLIB = $(CBLIBDIR)/libcblas.so
+
+#-----------------------------------------------------------------------------
+# Compilers
+#-----------------------------------------------------------------------------
+
+CC = gcc
+FC = gfortran
+LOADER = $(FC)
+
+#-----------------------------------------------------------------------------
+# Flags for Compilers
+#-----------------------------------------------------------------------------
+
+CFLAGS = -O3 -DADD_ -fPIC
+FFLAGS = -O3 -fPIC
+
+#-----------------------------------------------------------------------------
+# Archive programs and flags
+#-----------------------------------------------------------------------------
+
+ARCH = ar
+ARCHFLAGS = r
+RANLIB = echo
Copied: cblas/repos/community-i686/PKGBUILD (from rev 124131, cblas/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2014-12-19 21:46:49 UTC (rev 124132)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andreas B. Wagner <AndreasBWagner at pointfree.net>
+# Contributor: Sebastien Binet <binet at farnsworth>pkgname=cblas
+
+pkgname=cblas
+pkgver=3.5.0
+pkgrel=1
+pkgdesc="C interface to BLAS"
+url="http://www.netlib.org/blas"
+arch=('i686' 'x86_64')
+license=('custom')
+depends=('blas')
+makedepends=('gcc-fortran')
+source=('http://www.netlib.org/blas/blast-forum/cblas.tgz' 'cblas.patch' 'Makefile.in' 'LICENSE')
+md5sums=('1e8830f622d2112239a4a8a83b84209a'
+ 'e779fc195f8f48672656522bcfd642e4'
+ 'a4dc51bcd46f80b921be46f1fa855f00'
+ '38b6acb8ed5691d25863319d30a8b365')
+
+prepare() {
+ cd CBLAS
+
+ /bin/cp $srcdir/Makefile.in .
+ patch -p0 -i $srcdir/cblas.patch
+
+ install -d src/lib
+}
+
+build() {
+ cd CBLAS
+ make alllib
+}
+
+package() {
+ install -d "$pkgdir"/usr/lib
+ install -d "$pkgdir"/usr/include
+
+ install -m755 CBLAS/src/lib/* "$pkgdir"/usr/lib
+ install -m644 CBLAS/include/cblas.h "$pkgdir"/usr/include
+
+ install -m755 -d "$pkgdir"/usr/share/licenses/cblas
+ install -m644 LICENSE "$pkgdir"/usr/share/licenses/cblas/
+}
+
Copied: cblas/repos/community-i686/cblas.patch (from rev 124131, cblas/trunk/cblas.patch)
===================================================================
--- repos/community-i686/cblas.patch (rev 0)
+++ repos/community-i686/cblas.patch 2014-12-19 21:46:49 UTC (rev 124132)
@@ -0,0 +1,11 @@
+--- src/Makefile.orig 2011-01-05 11:39:24.000000000 +0100
++++ src/Makefile 2011-01-05 11:42:20.000000000 +0100
+@@ -234,7 +234,7 @@
+ all: $(alev)
+ $(ARCH) $(ARCHFLAGS) $(CBLIB) $(alev)
+ $(RANLIB) $(CBLIB)
+-
++ $(CC) $(CCFLAGS) -shared -Wl,--allow-multiple-definition -o $(CBSHLIB) $(alev) -lm -lc -lblas
+
+ .SUFFIXES: .o .c .f
+
Copied: cblas/repos/community-x86_64/LICENSE (from rev 124131, cblas/trunk/LICENSE)
===================================================================
(Binary files differ)
Copied: cblas/repos/community-x86_64/Makefile.in (from rev 124131, cblas/trunk/Makefile.in)
===================================================================
--- repos/community-x86_64/Makefile.in (rev 0)
+++ repos/community-x86_64/Makefile.in 2014-12-19 21:46:49 UTC (rev 124132)
@@ -0,0 +1,52 @@
+#
+# Makefile.LINUX
+#
+#
+# If you compile, change the name to Makefile.in.
+#
+#
+
+#-----------------------------------------------------------------------------
+# Shell
+#-----------------------------------------------------------------------------
+
+SHELL = /bin/sh
+
+#-----------------------------------------------------------------------------
+# Platform
+#-----------------------------------------------------------------------------
+
+PLAT = LINUX
+
+#-----------------------------------------------------------------------------
+# Libraries and includs
+#-----------------------------------------------------------------------------
+
+BLLIB = libblas.so
+CBDIR = $(PWD)
+CBLIBDIR = $(CBDIR)/lib
+CBLIB = $(CBLIBDIR)/libcblas.a
+CBSHLIB = $(CBLIBDIR)/libcblas.so
+
+#-----------------------------------------------------------------------------
+# Compilers
+#-----------------------------------------------------------------------------
+
+CC = gcc
+FC = gfortran
+LOADER = $(FC)
+
+#-----------------------------------------------------------------------------
+# Flags for Compilers
+#-----------------------------------------------------------------------------
+
+CFLAGS = -O3 -DADD_ -fPIC
+FFLAGS = -O3 -fPIC
+
+#-----------------------------------------------------------------------------
+# Archive programs and flags
+#-----------------------------------------------------------------------------
+
+ARCH = ar
+ARCHFLAGS = r
+RANLIB = echo
Copied: cblas/repos/community-x86_64/PKGBUILD (from rev 124131, cblas/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2014-12-19 21:46:49 UTC (rev 124132)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andreas B. Wagner <AndreasBWagner at pointfree.net>
+# Contributor: Sebastien Binet <binet at farnsworth>pkgname=cblas
+
+pkgname=cblas
+pkgver=3.5.0
+pkgrel=1
+pkgdesc="C interface to BLAS"
+url="http://www.netlib.org/blas"
+arch=('i686' 'x86_64')
+license=('custom')
+depends=('blas')
+makedepends=('gcc-fortran')
+source=('http://www.netlib.org/blas/blast-forum/cblas.tgz' 'cblas.patch' 'Makefile.in' 'LICENSE')
+md5sums=('1e8830f622d2112239a4a8a83b84209a'
+ 'e779fc195f8f48672656522bcfd642e4'
+ 'a4dc51bcd46f80b921be46f1fa855f00'
+ '38b6acb8ed5691d25863319d30a8b365')
+
+prepare() {
+ cd CBLAS
+
+ /bin/cp $srcdir/Makefile.in .
+ patch -p0 -i $srcdir/cblas.patch
+
+ install -d src/lib
+}
+
+build() {
+ cd CBLAS
+ make alllib
+}
+
+package() {
+ install -d "$pkgdir"/usr/lib
+ install -d "$pkgdir"/usr/include
+
+ install -m755 CBLAS/src/lib/* "$pkgdir"/usr/lib
+ install -m644 CBLAS/include/cblas.h "$pkgdir"/usr/include
+
+ install -m755 -d "$pkgdir"/usr/share/licenses/cblas
+ install -m644 LICENSE "$pkgdir"/usr/share/licenses/cblas/
+}
+
Copied: cblas/repos/community-x86_64/cblas.patch (from rev 124131, cblas/trunk/cblas.patch)
===================================================================
--- repos/community-x86_64/cblas.patch (rev 0)
+++ repos/community-x86_64/cblas.patch 2014-12-19 21:46:49 UTC (rev 124132)
@@ -0,0 +1,11 @@
+--- src/Makefile.orig 2011-01-05 11:39:24.000000000 +0100
++++ src/Makefile 2011-01-05 11:42:20.000000000 +0100
+@@ -234,7 +234,7 @@
+ all: $(alev)
+ $(ARCH) $(ARCHFLAGS) $(CBLIB) $(alev)
+ $(RANLIB) $(CBLIB)
+-
++ $(CC) $(CCFLAGS) -shared -Wl,--allow-multiple-definition -o $(CBSHLIB) $(alev) -lm -lc -lblas
+
+ .SUFFIXES: .o .c .f
+
More information about the arch-commits
mailing list