commit:     12912c9a61a031535208d92c31e25979cfdd7b4d
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Feb  2 08:33:31 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Feb  2 08:33:31 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=12912c9a

sci-libs/acml-5.3.1: Convert fma to cpu_flags_x86_fma4

---
 sci-libs/acml/ChangeLog         | 4 ++++
 sci-libs/acml/acml-5.3.1.ebuild | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/sci-libs/acml/ChangeLog b/sci-libs/acml/ChangeLog
index 35c47e8..4c6ae9a 100644
--- a/sci-libs/acml/ChangeLog
+++ b/sci-libs/acml/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  02 Feb 2015; Marius Brehler <mar...@linux.sungazer.de>
+  acml-5.3.0.ebuild:
+  Convert fma to cpu_flags_x86_fma4
+
   20 Jan 2015; Marius Brehler <mar...@linux.sungazer.de>
   acml-5.3.0.ebuild:
   Fix HOMEPAGE and URI

diff --git a/sci-libs/acml/acml-5.3.1.ebuild b/sci-libs/acml/acml-5.3.1.ebuild
index ea6ca80..0070173 100644
--- a/sci-libs/acml/acml-5.3.1.ebuild
+++ b/sci-libs/acml/acml-5.3.1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="
 LICENSE="ACML"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~amd64-linux"
-IUSE="doc examples fma gfortran ifort int64 open64 openmp pgi static-libs test"
+IUSE="doc examples cpu_flags_x86_fma4 gfortran ifort int64 open64 openmp pgi 
static-libs test"
 RESTRICT="fetch strip mirror"
 
 DEPEND=""
@@ -42,7 +42,7 @@ src_unpack() {
        unpack ${A}
        unpack ./contents-acml-*.tgz
        use openmp || rm -rf *_mp*
-       use fma || rm -rf *_fma*
+       use cpu_flags_x86_fma4 || rm -rf *_fma*
 }
 
 src_test() {
@@ -99,7 +99,7 @@ src_install() {
                use ${fdir} && opts=${fdir}
        done
        opts+="64"
-       use fma && opts+="_fma4"
+       use cpu_flags_x86_fma4 && opts+="_fma4"
        use openmp && opts+="_mp"
        use int64 && opts+="_int64"
        dosym $(ls -1d */lib | grep ${opts}) /${ACML_INST_DIR}/${libdir}

Reply via email to