The package rpms/SuperLUMT.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/SuperLUMT.git/commit/?id=23ac51ff....
Change:
+%ifarch %{openblas_arches}
Thanks.
Full change:
============
commit 23ac51ff92584488257dbc4c5c28fec45d1391c0
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Mon Oct 30 17:54:25 2017 +0100
Rebuild against openblas
diff --git a/SuperLUMT.spec b/SuperLUMT.spec
index b7d793a..6b033b2 100644
--- a/SuperLUMT.spec
+++ b/SuperLUMT.spec
@@ -6,7 +6,7 @@
%endif
#
https://bugzilla.redhat.com/show_bug.cgi?id=1356207
-ExcludeArch: ppc64 ppc64le aarch64
+ExcludeArch: %{power64} aarch64
%global soname_version %{majorver}.0
@@ -18,19 +18,29 @@ ExcludeArch: ppc64 ppc64le aarch64
%global complex 0
%endif
+# openblas available on these architectures.
+%if 0%{?fedora} && 0%{?fedora} > 26
+%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64
s390x}
+%else
+%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64}
+%endif
+%if 0%{?rhel}
+%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64}
+%endif
+
Name: SuperLUMT
Version: 3.1.0
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Single precision real SuperLU routines for shared memory parallel machines
License: BSD
Group: Development/Libraries
URL:
http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
Source0:
http://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_mt_%{majorver}.tar.gz
-%ifarch s390x
-BuildRequires: blas-devel
+%ifarch %{openblas_arches}
+BuildRequires: openblas-devel, openblas-srpm-macros
%else
-BuildRequires: openblas-devel
+BuildRequires: blas-devel, lapack-devel
%endif
BuildRequires: pkgconfig
BuildRequires: tcsh
@@ -96,10 +106,10 @@ Shared links and header files used by SuperLUMT.
Summary: Single precision real SuperLU routines (64bit INTEGER)
Group: Development/Libraries
-%ifarch s390x
-BuildRequires: blas64-devel
+%ifarch %{openblas_arches}
+BuildRequires: openblas-devel, openblas-srpm-macros
%else
-BuildRequires: openblas-devel
+BuildRequires: blas64-devel, lapack64-devel
%endif
Requires: %{name}-common = %{version}-%{release}
%description -n SuperLUMT64
@@ -186,13 +196,16 @@ sed -i -e "s|-O3|$RPM_OPT_FLAGS|" \
make.inc
## Build lib ##########################################
-make %{?_smp_mflags} \
- SONAME=%{majorver} \
-%ifarch s390x
- BLASLIB="-L%{_libdir} -lblas" \
+
+%ifarch %{openblas_arches}
+export LIBBLASLINK=-lopenblaso
%else
- BLASLIB="-L%{_libdir} -lopenblaso -lopenblasp" \
+export LIBBLASLINK=-lblas
%endif
+
+make %{?_smp_mflags} \
+ SONAME=%{majorver} \
+ BLASLIB="-L%{_libdir} $LIBBLASLINK" \
PREDEFS="$RPM_OPT_FLAGS -fPIC -pthread -fopenmp -D__OPENMP -D__PTHREAD
-DPRNTlevel=0 -DDEBUGlevel=0" \
NOOPTS="-O0 -fPIC -pthread -fopenmp" \
CDEFS=-DAdd_ \
@@ -209,17 +222,20 @@ make %{?_smp_mflags} \
MPLIB=-lpthread -C SRC single double
%endif
-cp -p SRC/libsuperlumt_*.so.%{majorver} lib
-cp -p SRC/libsuperlumt_*.so lib
+cp -p SRC/libsuperlumt_*.so.%{majorver} lib/
+cp -p SRC/libsuperlumt_*.so lib/
# Make example files
-make %{?_smp_mflags} \
- SONAME=%{majorver} \
-%ifarch s390x
- BLASLIB="-L%{_libdir} -lblas" \
+
+%ifarch %{openblas_arches}
+export LIBBLASLINK=-lopenblaso
%else
- BLASLIB="-L%{_libdir} -lopenblaso -lopenblasp" \
+export LIBBLASLINK=-lblas
%endif
+
+make %{?_smp_mflags} \
+ SONAME=%{majorver} \
+ BLASLIB="-L%{_libdir} $LIBBLASLINK" \
PREDEFS="$RPM_OPT_FLAGS -fPIC -pthread -fopenmp -D__OPENMP -D__PTHREAD
-DPRNTlevel=0 -DDEBUGlevel=0" \
NOOPTS="-O0 -fPIC -pthread -fopenmp" \
CDEFS=-DAdd_ \
@@ -251,13 +267,15 @@ patch -p0 < %{PATCH2}
patch -p0 < %{PATCH3}
patch -p0 < %{PATCH5}
-make %{?_smp_mflags} \
- SONAME=%{majorver} \
-%ifarch s390x
- BLASLIB="-L%{_libdir} -lblas64_" \
+%ifarch %{openblas_arches}
+export LIBBLASLINK=-lopenblaso64
%else
- BLASLIB="-L%{_libdir} -lopenblaso64 -lopenblaso64_ -lopenblasp64
-lopenblasp64_" \
+export LIBBLASLINK=-lblas64_
%endif
+
+make %{?_smp_mflags} \
+ SONAME=%{majorver} \
+ BLASLIB="-L%{_libdir} $LIBBLASLINK" \
PREDEFS="$RPM_OPT_FLAGS -fPIC -pthread -fopenmp -D__OPENMP -D__PTHREAD -DPRNTlevel=0
-DDEBUGlevel=0 -D_LONGINT" \
NOOPTS="-O0 -fPIC -pthread -fopenmp" \
CDEFS=-DAdd_ \
@@ -278,13 +296,16 @@ cp -p SRC/libsuperlumt64_*.so.%{majorver} lib
cp -p SRC/libsuperlumt64_*.so lib
# Make example files
-make %{?_smp_mflags} \
- SONAME=%{majorver} \
-%ifarch s390x
- BLASLIB="-L%{_libdir} -lblas64_" \
+
+%ifarch %{openblas_arches}
+export LIBBLASLINK=-lopenblaso64
%else
- BLASLIB="-L%{_libdir} -lopenblaso64 -lopenblaso64_ -lopenblasp64
-lopenblasp64_" \
+export LIBBLASLINK=-lblas64_
%endif
+
+make %{?_smp_mflags} \
+ SONAME=%{majorver} \
+ BLASLIB="-L%{_libdir} $LIBBLASLINK" \
PREDEFS="$RPM_OPT_FLAGS -fPIC -pthread -fopenmp -D__OPENMP -D__PTHREAD
-DPRNTlevel=0 -DDEBUGlevel=0 -D_LONGINT" \
NOOPTS="-O0 -fPIC -pthread -fopenmp" \
CDEFS=-DAdd_ \
@@ -455,8 +476,11 @@ done
%doc DOC README
%changelog
+* Mon Oct 30 2017 Antonio Trande <sagitterATfedoraproject.org> - 3.1.0-13
+- Rebuild against openblas
+
* Wed Aug 16 2017 Antonio Trande <sagitterATfedoraproject.org> - 3.1.0-12
-- Rebuild for lapack 3.7.1 (move to 64_ suffix)
+- Rebuild for lapack 3.7.1 (moved to 64_ suffix)
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.1.0-11
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
commit 2ac5f94e1d01bfa70b5d6a28d74aeb79d86cae74
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Wed Aug 16 12:17:01 2017 +0200
Rebuild for lapack 3.7.1 (move to 64_ suffix)
diff --git a/SuperLUMT.spec b/SuperLUMT.spec
index 8636a00..b7d793a 100644
--- a/SuperLUMT.spec
+++ b/SuperLUMT.spec
@@ -254,7 +254,7 @@ patch -p0 < %{PATCH5}
make %{?_smp_mflags} \
SONAME=%{majorver} \
%ifarch s390x
- BLASLIB="-L%{_libdir} -lblas64" \
+ BLASLIB="-L%{_libdir} -lblas64_" \
%else
BLASLIB="-L%{_libdir} -lopenblaso64 -lopenblaso64_ -lopenblasp64
-lopenblasp64_" \
%endif
@@ -281,7 +281,7 @@ cp -p SRC/libsuperlumt64_*.so lib
make %{?_smp_mflags} \
SONAME=%{majorver} \
%ifarch s390x
- BLASLIB="-L%{_libdir} -lblas64" \
+ BLASLIB="-L%{_libdir} -lblas64_" \
%else
BLASLIB="-L%{_libdir} -lopenblaso64 -lopenblaso64_ -lopenblasp64
-lopenblasp64_" \
%endif
@@ -456,7 +456,7 @@ done
%changelog
* Wed Aug 16 2017 Antonio Trande <sagitterATfedoraproject.org> - 3.1.0-12
-- Rebuild for lapack 3.7.1
+- Rebuild for lapack 3.7.1 (move to 64_ suffix)
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.1.0-11
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
commit a1b393fdac7e64a324eb9acdf09e15a8e10512ba
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Wed Aug 16 12:05:34 2017 +0200
Rebuild for lapack 3.7.1
diff --git a/SuperLUMT.spec b/SuperLUMT.spec
index 7c264ec..8636a00 100644
--- a/SuperLUMT.spec
+++ b/SuperLUMT.spec
@@ -20,7 +20,7 @@ ExcludeArch: ppc64 ppc64le aarch64
Name: SuperLUMT
Version: 3.1.0
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Single precision real SuperLU routines for shared memory parallel machines
License: BSD
Group: Development/Libraries
@@ -455,6 +455,9 @@ done
%doc DOC README
%changelog
+* Wed Aug 16 2017 Antonio Trande <sagitterATfedoraproject.org> - 3.1.0-12
+- Rebuild for lapack 3.7.1
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.1.0-11
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/sources b/sources
index 5523d52..62d4e8d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-06ac62f1b4b7d17123fffa0d0c315e91 superlu_mt_3.1.tar.gz
+SHA512 (superlu_mt_3.1.tar.gz) =
41b8d9808f6a9c3f8d9e983ab253b0c5aec486df1cc419d043a201bd950034fa4bdd5465410e1198a2314d072b92cb388fc117165a06f820922f04060c755971
commit 8715ab4c1f3d4791803dff1b95c2dab58b685608
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Aug 2 17:18:26 2017 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/SuperLUMT.spec b/SuperLUMT.spec
index 98ee69f..7c264ec 100644
--- a/SuperLUMT.spec
+++ b/SuperLUMT.spec
@@ -20,7 +20,7 @@ ExcludeArch: ppc64 ppc64le aarch64
Name: SuperLUMT
Version: 3.1.0
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Single precision real SuperLU routines for shared memory parallel machines
License: BSD
Group: Development/Libraries
@@ -455,6 +455,9 @@ done
%doc DOC README
%changelog
+* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.1.0-11
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.1.0-10
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
commit 6f0816855c890592b658e56078de083cd348080b
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Jul 26 02:25:43 2017 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/SuperLUMT.spec b/SuperLUMT.spec
index 2924e89..98ee69f 100644
--- a/SuperLUMT.spec
+++ b/SuperLUMT.spec
@@ -20,7 +20,7 @@ ExcludeArch: ppc64 ppc64le aarch64
Name: SuperLUMT
Version: 3.1.0
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Single precision real SuperLU routines for shared memory parallel machines
License: BSD
Group: Development/Libraries
@@ -455,6 +455,9 @@ done
%doc DOC README
%changelog
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.1.0-10
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.1.0-9
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild