[openblas] PPC doesn't build, so for now set exclusive arch.

Susi Lehtola jussilehtola at fedoraproject.org
Mon Jan 14 15:10:24 UTC 2013


commit 7c8251d5ab5e02cece5faba18447a10597d5021b
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Mon Jan 14 17:10:17 2013 +0200

    PPC doesn't build, so for now set exclusive arch.

 openblas.spec |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/openblas.spec b/openblas.spec
index ba4dd9e..1dc8fd7 100644
--- a/openblas.spec
+++ b/openblas.spec
@@ -34,10 +34,13 @@ BuildRequires:	lapack-static
 %global lapacke 0
 %endif
 
+# PPC doesn't build in 0.2.5
+ExclusiveArch: x86_64 %{ix86}
+
 %global base_description \
-OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. The\
-project is supported by the Lab of Parallel Software and Computational Science,\
-ISCAS. http://www.rdcps.ac.cn
+OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD \
+version. The project is supported by the Lab of Parallel Software and \
+Computational Science, ISCAS. http://www.rdcps.ac.cn
 
 
 %description
@@ -135,10 +138,10 @@ LAPACKE="NO_LAPACKE=0"
 LAPACKE="NO_LAPACKE=1"
 %endif
 
-make -C serial DYNAMIC_ARCH=1 USE_THREAD=0 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=32 %{?avxflag} $LAPACKE
-make -C threaded DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=32 LIBPREFIX="libopenblasp" %{?avxflag} $LAPACKE
+make -C serial TARGET=CORE2 DYNAMIC_ARCH=1 USE_THREAD=0 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=32 %{?avxflag} $LAPACKE
+make -C threaded TARGET=CORE2 DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=32 LIBPREFIX="libopenblasp" %{?avxflag} $LAPACKE
 # USE_THREAD determines use of SMP, not of pthreads
-make -C openmp DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=32 LIBPREFIX="libopenblaso" %{?avxflag} $LAPACKE
+make -C openmp TARGET=CORE2 DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=32 LIBPREFIX="libopenblaso" %{?avxflag} $LAPACKE
 
 
 %install


More information about the scm-commits mailing list