jskarvad pushed to hpl (f21). "Built only on x86, due to bugs 1222075, 1222079 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri May 15 18:17:54 UTC 2015


From 1bd091181ba7a2775fabbe6aa77f26baaacc0560 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad at redhat.com>
Date: Fri, 15 May 2015 19:28:39 +0200
Subject: Built only on x86, due to bugs 1222075, 1222079

- Prepared makefile for using static atlas libs

diff --git a/hpl-2.1-fedora.patch b/hpl-2.1-fedora.patch
index d9c3776..e49a307 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..7855ab0 100644
+index b1c6401..3065610 100644
 --- a/setup/Make.Linux_PII_CBLAS_gm
 +++ b/setup/Make.Linux_PII_CBLAS_gm
 @@ -56,6 +56,14 @@ LN_S         = ln -s
@@ -17,18 +17,15 @@ index b1c6401..7855ab0 100644
  #
  # ----------------------------------------------------------------------
  # - Platform identifier ------------------------------------------------
-@@ -92,9 +100,9 @@ MPlib        =
+@@ -92,7 +100,7 @@ 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        = -L$(LAdir) -lcblas -latlas
+ LAlib        = $(LAdir)/libcblas.a $(LAdir)/libatlas.a
  #
- # ----------------------------------------------------------------------
- # - 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 284ff73..97b3290 100644
--- a/hpl.spec
+++ b/hpl.spec
@@ -14,7 +14,7 @@
 Name:           hpl
 URL:            http://www.netlib.org/benchmark/hpl/
 Version:        2.1
-Release:        8%{?dist}
+Release:        9%{?dist}
 License:        BSD with advertising
 Requires:       %{name}-common = %{version}-%{release}
 BuildRequires:  mpich-devel, openmpi-devel
@@ -29,6 +29,8 @@ 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
@@ -163,6 +165,10 @@ popd
 
 
 %changelog
+* Fri May 15 2015 Jaroslav Škarvada <jskarvad at redhat.com> - 2.1-9
+- Built only on x86, due to bugs 1222075, 1222079
+- Prepared makefile for using static atlas libs
+
 * Fri May 15 2015 Jaroslav Škarvada <jskarvad at redhat.com> - 2.1-8
 - Added config(noreplace) to /etc/hpl/HPL.dat
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/hpl.git/commit/?h=f21&id=1bd091181ba7a2775fabbe6aa77f26baaacc0560


More information about the scm-commits mailing list