jskarvad pushed to hpl (f20). "Enabled building on ARM and other architectures by using atlas fallback (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue May 19 21:24:19 UTC 2015


From 2275ab34387e785b79fac0103741687116445cd4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad at redhat.com>
Date: Tue, 19 May 2015 23:20:21 +0200
Subject: Enabled building on ARM and other architectures by using atlas
 fallback
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Jaroslav Škarvada <jskarvad at redhat.com>

diff --git a/hpl-2.1-fedora.patch b/hpl-2.1-fedora.patch
index e49a307..f6c4b0e 100644
--- a/hpl-2.1-fedora.patch
+++ b/hpl-2.1-fedora.patch
@@ -1,5 +1,5 @@
 diff --git a/setup/Make.Linux_PII_CBLAS_gm b/setup/Make.Linux_PII_CBLAS_gm
-index b1c6401..3065610 100644
+index b1c6401..997177b 100644
 --- a/setup/Make.Linux_PII_CBLAS_gm
 +++ b/setup/Make.Linux_PII_CBLAS_gm
 @@ -56,6 +56,14 @@ LN_S         = ln -s
@@ -17,15 +17,18 @@ index b1c6401..3065610 100644
  #
  # ----------------------------------------------------------------------
  # - Platform identifier ------------------------------------------------
-@@ -92,7 +100,7 @@ MPlib        =
+@@ -92,9 +100,9 @@ MPlib        =
  # header files,  LAlib  is defined  to be the name of  the library to be
  # used. The variable LAdir is only used for defining LAinc and LAlib.
  #
 -LAdir        = $(HOME)/netlib/ARCHIVES/Linux_PII
 +LAdir        = $(SYSLIBDIR)/atlas
  LAinc        =
- LAlib        = $(LAdir)/libcblas.a $(LAdir)/libatlas.a
+-LAlib        = $(LAdir)/libcblas.a $(LAdir)/libatlas.a
++LAlib        = -L$(LAdir) -lsatlas
  #
+ # ----------------------------------------------------------------------
+ # - F77 / C interface --------------------------------------------------
 @@ -168,7 +176,7 @@ HPL_DEFS     = $(F2CDEFS) $(HPL_OPTS) $(HPL_INCLUDES)
  #
  CC           = mpicc
diff --git a/hpl.spec b/hpl.spec
index 21896fe..f9f63f1 100644
--- a/hpl.spec
+++ b/hpl.spec
@@ -14,7 +14,7 @@
 Name:           hpl
 URL:            http://www.netlib.org/benchmark/hpl/
 Version:        2.1
-Release:        9%{?dist}.1
+Release:        10%{?dist}
 License:        BSD with advertising
 Requires:       %{name}-common = %{version}-%{release}
 BuildRequires:  mpich-devel, openmpi-devel
@@ -29,8 +29,6 @@ Source0:        http://www.netlib.org/benchmark/hpl/%{name}-%{version}.tar.gz
 # setup/Make.Linux_PII_CBLAS_gm tuned for Fedora
 Source1:        hpl-README.Fedora
 Patch0:         hpl-2.1-fedora.patch
-# Currently only supported on x86 due to bugs 1222075, 1222079
-ExclusiveArch:  x86_64 %{ix86}
 
 %description
 HPL is a software package that solves a (random) dense linear system in
@@ -149,6 +147,9 @@ install -p -D -m 0644 man/man3/* %{buildroot}%{_mandir}/man3
 
 
 %changelog
+* Tue May 19 2015 Jaroslav Škarvada <jskarvad at redhat.com> - 2.1-10
+- Enabled building on ARM and other architectures by using atlas fallback
+
 * Fri May 15 2015 Jaroslav Škarvada <jskarvad at redhat.com> - 2.1-9.1
 - Removed build time check due to MPI failure
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/hpl.git/commit/?h=f20&id=2275ab34387e785b79fac0103741687116445cd4


More information about the scm-commits mailing list