[arch-commits] Commit in cblas/repos (18 files)

Antonio Rojas arojas at archlinux.org
Sun Jun 14 11:28:35 UTC 2015


    Date: Sunday, June 14, 2015 @ 13:28:35
  Author: arojas
Revision: 135287

archrelease: copy trunk to community-i686, community-x86_64

Added:
  cblas/repos/community-i686/LICENSE
    (from rev 135286, cblas/trunk/LICENSE)
  cblas/repos/community-i686/PKGBUILD
    (from rev 135286, cblas/trunk/PKGBUILD)
  cblas/repos/community-i686/fPIC.patch
    (from rev 135286, cblas/trunk/fPIC.patch)
  cblas/repos/community-i686/sdsdot.patch
    (from rev 135286, cblas/trunk/sdsdot.patch)
  cblas/repos/community-i686/shared.patch
    (from rev 135286, cblas/trunk/shared.patch)
  cblas/repos/community-x86_64/LICENSE
    (from rev 135286, cblas/trunk/LICENSE)
  cblas/repos/community-x86_64/PKGBUILD
    (from rev 135286, cblas/trunk/PKGBUILD)
  cblas/repos/community-x86_64/fPIC.patch
    (from rev 135286, cblas/trunk/fPIC.patch)
  cblas/repos/community-x86_64/sdsdot.patch
    (from rev 135286, cblas/trunk/sdsdot.patch)
  cblas/repos/community-x86_64/shared.patch
    (from rev 135286, cblas/trunk/shared.patch)
Deleted:
  cblas/repos/community-i686/LICENSE
  cblas/repos/community-i686/Makefile.in
  cblas/repos/community-i686/PKGBUILD
  cblas/repos/community-i686/cblas.patch
  cblas/repos/community-x86_64/LICENSE
  cblas/repos/community-x86_64/Makefile.in
  cblas/repos/community-x86_64/PKGBUILD
  cblas/repos/community-x86_64/cblas.patch

-------------------------------+
 /PKGBUILD                     |  102 ++++++++++++++++++++++++++++++++++++++++
 community-i686/Makefile.in    |   52 --------------------
 community-i686/PKGBUILD       |   49 -------------------
 community-i686/cblas.patch    |   11 ----
 community-i686/fPIC.patch     |   23 +++++++++
 community-i686/sdsdot.patch   |   19 +++++++
 community-i686/shared.patch   |   11 ++++
 community-x86_64/Makefile.in  |   52 --------------------
 community-x86_64/PKGBUILD     |   49 -------------------
 community-x86_64/cblas.patch  |   11 ----
 community-x86_64/fPIC.patch   |   23 +++++++++
 community-x86_64/sdsdot.patch |   19 +++++++
 community-x86_64/shared.patch |   11 ++++
 13 files changed, 208 insertions(+), 224 deletions(-)

Deleted: community-i686/LICENSE
===================================================================
(Binary files differ)

Copied: cblas/repos/community-i686/LICENSE (from rev 135286, cblas/trunk/LICENSE)
===================================================================
(Binary files differ)

Deleted: community-i686/Makefile.in
===================================================================
--- community-i686/Makefile.in	2015-06-14 11:27:59 UTC (rev 135286)
+++ community-i686/Makefile.in	2015-06-14 11:28:35 UTC (rev 135287)
@@ -1,52 +0,0 @@
-#
-# 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

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-06-14 11:27:59 UTC (rev 135286)
+++ community-i686/PKGBUILD	2015-06-14 11:28:35 UTC (rev 135287)
@@ -1,49 +0,0 @@
-# $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=2
-pkgdesc="C interface to BLAS"
-url="http://www.netlib.org/blas"
-arch=('i686' 'x86_64')
-license=('custom')
-depends=('blas')
-makedepends=('gcc-fortran')
-options=('staticlibs') # needed by fflas-ffpack
-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
-
-# fix permissions
-  chmod 644 "$pkgdir"/usr/lib/libcblas.a
-
-  install -m755 -d "$pkgdir"/usr/share/licenses/cblas
-  install -m644 LICENSE "$pkgdir"/usr/share/licenses/cblas/
-}
-

Copied: cblas/repos/community-i686/PKGBUILD (from rev 135286, cblas/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-06-14 11:28:35 UTC (rev 135287)
@@ -0,0 +1,51 @@
+# $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=3
+pkgdesc="C interface to BLAS"
+url="http://www.netlib.org/blas"
+arch=(i686 x86_64)
+license=(custom)
+depends=(blas)
+makedepends=(gcc-fortran)
+options=(staticlibs) # needed by fflas-ffpack
+source=('http://www.netlib.org/blas/blast-forum/cblas.tgz' 'shared.patch' 'fPIC.patch' 'sdsdot.patch' 'LICENSE')
+md5sums=('1e8830f622d2112239a4a8a83b84209a'
+         'e779fc195f8f48672656522bcfd642e4'
+         'de4a0cf18b0e748e85d3305845f7f99b'
+         '733dcdded7ce1ec6d1ec01ceca200426'
+         '38b6acb8ed5691d25863319d30a8b365')
+
+prepare() {
+  cd CBLAS
+
+# Compile with -fPIC
+  patch -p1 -i "$srcdir"/fPIC.patch
+# Compile shared lib
+  patch -p0 -i "$srcdir"/shared.patch
+# Fix missing variable in sdsdotstub
+  patch -p1 -i "$srcdir"/sdsdot.patch
+
+  cp Makefile.{LINUX,in}
+}
+
+build() {
+  cd CBLAS
+
+  make alllib
+}
+
+package() {
+  install -d "$pkgdir"/usr/lib
+  install -d "$pkgdir"/usr/include
+
+  install -m644 CBLAS/lib/* "$pkgdir"/usr/lib/
+  install -m644 CBLAS/include/*.h "$pkgdir"/usr/include
+
+  install -d "$pkgdir"/usr/share/licenses/cblas
+  install -m644 LICENSE "$pkgdir"/usr/share/licenses/cblas/
+}

Deleted: community-i686/cblas.patch
===================================================================
--- community-i686/cblas.patch	2015-06-14 11:27:59 UTC (rev 135286)
+++ community-i686/cblas.patch	2015-06-14 11:28:35 UTC (rev 135287)
@@ -1,11 +0,0 @@
---- 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-i686/fPIC.patch (from rev 135286, cblas/trunk/fPIC.patch)
===================================================================
--- community-i686/fPIC.patch	                        (rev 0)
+++ community-i686/fPIC.patch	2015-06-14 11:28:35 UTC (rev 135287)
@@ -0,0 +1,23 @@
+--- CBLAS/Makefile.LINUX.orig	2015-06-14 12:25:24.099556681 +0200
++++ CBLAS/Makefile.LINUX	2015-06-14 12:25:52.819706410 +0200
+@@ -23,7 +23,8 @@
+ #-----------------------------------------------------------------------------
+  
+ BLLIB = libblas.a
+-CBLIB = ../lib/cblas_$(PLAT).a
++CBLIB = ../lib/libcblas.a
++CBSHLIB= ../lib/libcblas.so
+ 
+ #-----------------------------------------------------------------------------
+ # Compilers
+@@ -37,8 +38,8 @@
+ # Flags for Compilers
+ #-----------------------------------------------------------------------------
+ 
+-CFLAGS = -O3 -DADD_
+-FFLAGS = -O3  
++CFLAGS = -O3 -DADD_ -fPIC
++FFLAGS = -O3 -fPIC
+ 
+ #-----------------------------------------------------------------------------
+ # Archive programs and flags

Copied: cblas/repos/community-i686/sdsdot.patch (from rev 135286, cblas/trunk/sdsdot.patch)
===================================================================
--- community-i686/sdsdot.patch	                        (rev 0)
+++ community-i686/sdsdot.patch	2015-06-14 11:28:35 UTC (rev 135287)
@@ -0,0 +1,19 @@
+--- CBLAS/src/sdsdotsub.f.orig	2015-06-14 13:13:11.353896469 +0200
++++ CBLAS/src/sdsdotsub.f	2015-06-14 13:13:44.830675890 +0200
+@@ -3,13 +3,13 @@
+ c     The program is a fortran wrapper for sdsdot.
+ c     Witten by Keita Teranishi.  2/11/1998
+ c
+-      subroutine sdsdotsub(n,x,incx,y,incy,dot)
++      subroutine sdsdotsub(n,sb,x,incx,y,incy,dot)
+ c
+       external sdsdot
+-      real sdsdot,dot
++      real sb,sdsdot,dot
+       integer n,incx,incy
+       real x(*),y(*)
+ c
+-      dot=sdsdot(n,x,incx,y,incy)
++      dot=sdsdot(n,sb,x,incx,y,incy)
+       return
+       end      

Copied: cblas/repos/community-i686/shared.patch (from rev 135286, cblas/trunk/shared.patch)
===================================================================
--- community-i686/shared.patch	                        (rev 0)
+++ community-i686/shared.patch	2015-06-14 11:28:35 UTC (rev 135287)
@@ -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
+ 

Deleted: community-x86_64/LICENSE
===================================================================
(Binary files differ)

Copied: cblas/repos/community-x86_64/LICENSE (from rev 135286, cblas/trunk/LICENSE)
===================================================================
(Binary files differ)

Deleted: community-x86_64/Makefile.in
===================================================================
--- community-x86_64/Makefile.in	2015-06-14 11:27:59 UTC (rev 135286)
+++ community-x86_64/Makefile.in	2015-06-14 11:28:35 UTC (rev 135287)
@@ -1,52 +0,0 @@
-#
-# 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

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-06-14 11:27:59 UTC (rev 135286)
+++ community-x86_64/PKGBUILD	2015-06-14 11:28:35 UTC (rev 135287)
@@ -1,49 +0,0 @@
-# $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=2
-pkgdesc="C interface to BLAS"
-url="http://www.netlib.org/blas"
-arch=('i686' 'x86_64')
-license=('custom')
-depends=('blas')
-makedepends=('gcc-fortran')
-options=('staticlibs') # needed by fflas-ffpack
-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
-
-# fix permissions
-  chmod 644 "$pkgdir"/usr/lib/libcblas.a
-
-  install -m755 -d "$pkgdir"/usr/share/licenses/cblas
-  install -m644 LICENSE "$pkgdir"/usr/share/licenses/cblas/
-}
-

Copied: cblas/repos/community-x86_64/PKGBUILD (from rev 135286, cblas/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-06-14 11:28:35 UTC (rev 135287)
@@ -0,0 +1,51 @@
+# $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=3
+pkgdesc="C interface to BLAS"
+url="http://www.netlib.org/blas"
+arch=(i686 x86_64)
+license=(custom)
+depends=(blas)
+makedepends=(gcc-fortran)
+options=(staticlibs) # needed by fflas-ffpack
+source=('http://www.netlib.org/blas/blast-forum/cblas.tgz' 'shared.patch' 'fPIC.patch' 'sdsdot.patch' 'LICENSE')
+md5sums=('1e8830f622d2112239a4a8a83b84209a'
+         'e779fc195f8f48672656522bcfd642e4'
+         'de4a0cf18b0e748e85d3305845f7f99b'
+         '733dcdded7ce1ec6d1ec01ceca200426'
+         '38b6acb8ed5691d25863319d30a8b365')
+
+prepare() {
+  cd CBLAS
+
+# Compile with -fPIC
+  patch -p1 -i "$srcdir"/fPIC.patch
+# Compile shared lib
+  patch -p0 -i "$srcdir"/shared.patch
+# Fix missing variable in sdsdotstub
+  patch -p1 -i "$srcdir"/sdsdot.patch
+
+  cp Makefile.{LINUX,in}
+}
+
+build() {
+  cd CBLAS
+
+  make alllib
+}
+
+package() {
+  install -d "$pkgdir"/usr/lib
+  install -d "$pkgdir"/usr/include
+
+  install -m644 CBLAS/lib/* "$pkgdir"/usr/lib/
+  install -m644 CBLAS/include/*.h "$pkgdir"/usr/include
+
+  install -d "$pkgdir"/usr/share/licenses/cblas
+  install -m644 LICENSE "$pkgdir"/usr/share/licenses/cblas/
+}

Deleted: community-x86_64/cblas.patch
===================================================================
--- community-x86_64/cblas.patch	2015-06-14 11:27:59 UTC (rev 135286)
+++ community-x86_64/cblas.patch	2015-06-14 11:28:35 UTC (rev 135287)
@@ -1,11 +0,0 @@
---- 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/fPIC.patch (from rev 135286, cblas/trunk/fPIC.patch)
===================================================================
--- community-x86_64/fPIC.patch	                        (rev 0)
+++ community-x86_64/fPIC.patch	2015-06-14 11:28:35 UTC (rev 135287)
@@ -0,0 +1,23 @@
+--- CBLAS/Makefile.LINUX.orig	2015-06-14 12:25:24.099556681 +0200
++++ CBLAS/Makefile.LINUX	2015-06-14 12:25:52.819706410 +0200
+@@ -23,7 +23,8 @@
+ #-----------------------------------------------------------------------------
+  
+ BLLIB = libblas.a
+-CBLIB = ../lib/cblas_$(PLAT).a
++CBLIB = ../lib/libcblas.a
++CBSHLIB= ../lib/libcblas.so
+ 
+ #-----------------------------------------------------------------------------
+ # Compilers
+@@ -37,8 +38,8 @@
+ # Flags for Compilers
+ #-----------------------------------------------------------------------------
+ 
+-CFLAGS = -O3 -DADD_
+-FFLAGS = -O3  
++CFLAGS = -O3 -DADD_ -fPIC
++FFLAGS = -O3 -fPIC
+ 
+ #-----------------------------------------------------------------------------
+ # Archive programs and flags

Copied: cblas/repos/community-x86_64/sdsdot.patch (from rev 135286, cblas/trunk/sdsdot.patch)
===================================================================
--- community-x86_64/sdsdot.patch	                        (rev 0)
+++ community-x86_64/sdsdot.patch	2015-06-14 11:28:35 UTC (rev 135287)
@@ -0,0 +1,19 @@
+--- CBLAS/src/sdsdotsub.f.orig	2015-06-14 13:13:11.353896469 +0200
++++ CBLAS/src/sdsdotsub.f	2015-06-14 13:13:44.830675890 +0200
+@@ -3,13 +3,13 @@
+ c     The program is a fortran wrapper for sdsdot.
+ c     Witten by Keita Teranishi.  2/11/1998
+ c
+-      subroutine sdsdotsub(n,x,incx,y,incy,dot)
++      subroutine sdsdotsub(n,sb,x,incx,y,incy,dot)
+ c
+       external sdsdot
+-      real sdsdot,dot
++      real sb,sdsdot,dot
+       integer n,incx,incy
+       real x(*),y(*)
+ c
+-      dot=sdsdot(n,x,incx,y,incy)
++      dot=sdsdot(n,sb,x,incx,y,incy)
+       return
+       end      

Copied: cblas/repos/community-x86_64/shared.patch (from rev 135286, cblas/trunk/shared.patch)
===================================================================
--- community-x86_64/shared.patch	                        (rev 0)
+++ community-x86_64/shared.patch	2015-06-14 11:28:35 UTC (rev 135287)
@@ -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