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

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


From 415ed4bd70c6704ff1772b9bbffd5d3fb7b91812 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:11:31 +0200
Subject: Enabled building on ARM and other architectures by using atlas
 fallback


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..136a9bb 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
@@ -149,6 +149,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=f22&id=415ed4bd70c6704ff1772b9bbffd5d3fb7b91812


More information about the scm-commits mailing list