Accepting request 184489 from home:scorot:branches:science
- version 0.2.7 * Support LSB (Linux Standard Base) 4.1. e.g. make CC=lsbcc * Include LAPACK 3.4.2 source codes to the repo. Avoid downloading at compile time. * Add NO_PARALLEL_MAKE flag to disable parallel make. * Create openblas_get_parallel to retrieve information which parallelization model is used by OpenBLAS. (Thank grisuthedragon) * Detect LLVM/Clang compiler. * A walk round for dtrti_U single thread bug. Replace it with LAPACK codes. (#191) * Optimize c/zgemm, trsm, dgemv_n, ddot, daxpy, dcopy on AMD Bulldozer. (Thank Werner Saar) * Add Intel Haswell support (using Sandybridge optimizations). (Thank Dan Luu) * Add AMD Piledriver support (using Bulldozer optimizations). * Fix the computational error in zgemm avx kernel on Sandybridge. (#237) * Fix the overflow bug in gemv. * Fix the overflow bug in multi-threaded BLAS3, getrf when NUM_THREADS is very large.(#214, #221, #246). - rebase patch noexecstack.patch - remove lapack source tarball since lapack sources are included in openblas sources - increase NUM_THREAD from 32 to 64 OBS-URL: https://build.opensuse.org/request/show/184489 OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=19
This commit is contained in:
parent
1218b58a91
commit
32b43ec6cc
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0
|
||||
size 6168281
|
@ -1,15 +1,15 @@
|
||||
diff -urN xianyi-OpenBLAS-956397f-orig/exports/Makefile xianyi-OpenBLAS-956397f/exports/Makefile
|
||||
--- xianyi-OpenBLAS-956397f-orig/exports/Makefile 2012-06-30 02:26:10.000000000 +0200
|
||||
+++ xianyi-OpenBLAS-956397f/exports/Makefile 2012-07-02 21:45:45.204536642 +0200
|
||||
@@ -107,6 +107,7 @@
|
||||
diff -aruN xianyi-OpenBLAS-0b951b2.orig/exports/Makefile xianyi-OpenBLAS-0b951b2/exports/Makefile
|
||||
--- xianyi-OpenBLAS-0b951b2.orig/exports/Makefile 2013-07-25 19:34:45.000000000 +0200
|
||||
+++ xianyi-OpenBLAS-0b951b2/exports/Makefile 2013-07-26 22:28:17.038560497 +0200
|
||||
@@ -117,6 +117,7 @@
|
||||
|
||||
../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c
|
||||
$(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \
|
||||
+ -Wl,-z,noexecstack \
|
||||
-Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \
|
||||
-Wl,--retain-symbols-file=linux.def -Wl,-soname,$(LIBPREFIX).so.$(MAJOR_VERSION) $(EXTRALIB)
|
||||
$(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
|
||||
@@ -120,6 +121,7 @@
|
||||
ifneq ($(C_COMPILER), LSB)
|
||||
@@ -136,6 +137,7 @@
|
||||
|
||||
../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c
|
||||
$(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \
|
||||
@ -17,7 +17,7 @@ diff -urN xianyi-OpenBLAS-956397f-orig/exports/Makefile xianyi-OpenBLAS-956397f/
|
||||
-Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \
|
||||
-Wl,--retain-symbols-file=linux.def $(FEXTRALIB) $(EXTRALIB)
|
||||
$(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
|
||||
@@ -139,6 +141,7 @@
|
||||
@@ -155,6 +157,7 @@
|
||||
|
||||
so : ../$(LIBSONAME)
|
||||
$(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \
|
@ -1,3 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 20:31:17 UTC 2013 - scorot@free.fr
|
||||
|
||||
- version 0.2.7
|
||||
* Support LSB (Linux Standard Base) 4.1.
|
||||
e.g. make CC=lsbcc
|
||||
* Include LAPACK 3.4.2 source codes to the repo.
|
||||
Avoid downloading at compile time.
|
||||
* Add NO_PARALLEL_MAKE flag to disable parallel make.
|
||||
* Create openblas_get_parallel to retrieve information which
|
||||
parallelization model is used by OpenBLAS. (Thank
|
||||
grisuthedragon)
|
||||
* Detect LLVM/Clang compiler.
|
||||
* A walk round for dtrti_U single thread bug. Replace it with
|
||||
LAPACK codes. (#191)
|
||||
* Optimize c/zgemm, trsm, dgemv_n, ddot, daxpy, dcopy on
|
||||
AMD Bulldozer. (Thank Werner Saar)
|
||||
* Add Intel Haswell support (using Sandybridge optimizations).
|
||||
(Thank Dan Luu)
|
||||
* Add AMD Piledriver support (using Bulldozer optimizations).
|
||||
* Fix the computational error in zgemm avx kernel on
|
||||
Sandybridge. (#237)
|
||||
* Fix the overflow bug in gemv.
|
||||
* Fix the overflow bug in multi-threaded BLAS3, getrf when
|
||||
NUM_THREADS is very large.(#214, #221, #246).
|
||||
- rebase patch noexecstack.patch
|
||||
- remove lapack source tarball since lapack sources are included
|
||||
in openblas sources
|
||||
- increase NUM_THREAD from 32 to 64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 2 16:08:16 UTC 2013 - scorot@free.fr
|
||||
|
||||
|
@ -17,23 +17,21 @@
|
||||
|
||||
|
||||
Name: openblas
|
||||
Version: 0.2.6
|
||||
Version: 0.2.7
|
||||
Release: 0
|
||||
Summary: An optimized BLAS library based on GotoBLAS2
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Scientific/Math
|
||||
Url: https://github.com/xianyi/OpenBLAS/
|
||||
Source0: http://github.com/xianyi/OpenBLAS/tarball/v0.2.5/xianyi-OpenBLAS-v%{version}-0-g54e7b37.tar.gz
|
||||
# LAPACK
|
||||
Source1: http://www.netlib.org/lapack/lapack-3.4.2.tgz
|
||||
Source0: http://github.com/xianyi/OpenBLAS/tarball/v%{version}/xianyi-OpenBLAS-v%{version}-0-gf26b7a0.tar.gz
|
||||
# PATCH-FIX-UPSTREAM openblas-0.1.1-libs.patch: Link against libgfortran
|
||||
Patch0: openblas-0.2.6-libs.patch
|
||||
# PATCH-FIX-UPSTREAM c_xerbla_no-void-return.patch
|
||||
Patch1: c_xerbla_no-void-return.patch
|
||||
# PATCH-FEATURE-OPENSUSE openblas-0.1.0-soname.patch
|
||||
Patch2: openblas-0.1.0-soname.patch
|
||||
# PATCH-FIX-UPSTREAM openblas-0.2.1-noexecstack.patch
|
||||
Patch3: openblas-0.2.1-noexecstack.patch
|
||||
# PATCH-FIX-UPSTREAM openblas-0.2.7-noexecstack.patch
|
||||
Patch3: openblas-0.2.7-noexecstack.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: %ix86 ia64 ppc ppc64 x86_64
|
||||
BuildRequires: gcc-fortran
|
||||
@ -122,19 +120,14 @@ cp -ar xianyi-OpenBLAS openmp
|
||||
cp -ar xianyi-OpenBLAS threaded
|
||||
mv xianyi-OpenBLAS serial
|
||||
|
||||
# Copy LAPACK sources
|
||||
for dir in openmp threaded serial; do
|
||||
cp %{SOURCE1} $dir
|
||||
done
|
||||
|
||||
%build
|
||||
# Make serial, threaded and OpenMP versions
|
||||
make -C serial DYNAMIC_ARCH=1 USE_THREAD=0 USE_OPENMP=0 \
|
||||
FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=32
|
||||
FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64
|
||||
make -C openmp DYNAMIC_ARCH=1 USE_THREAD=0 USE_OPENMP=1 LIBNAMESUFFIX=o \
|
||||
FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=32
|
||||
FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64
|
||||
make -C threaded DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 LIBNAMESUFFIX=p \
|
||||
FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=32
|
||||
FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64
|
||||
|
||||
%install
|
||||
# Install serial library and headers
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f14fed709343a40d32bdfe2c1a0b2e874ef7514661930a20afe8e7e2436b4440
|
||||
size 3259286
|
3
xianyi-OpenBLAS-v0.2.7-0-gf26b7a0.tar.gz
Normal file
3
xianyi-OpenBLAS-v0.2.7-0-gf26b7a0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2969a6efa04f340fe19c27f6f5e3a51a71ba05777ebf1e64f69260646f62597
|
||||
size 9471386
|
Loading…
Reference in New Issue
Block a user