Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/acml/
Date: Mon, 02 Feb 2015 12:06:31
Message-Id: 1422866011.12912c9a61a031535208d92c31e25979cfdd7b4d.jlec@gentoo
1 commit: 12912c9a61a031535208d92c31e25979cfdd7b4d
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Mon Feb 2 08:33:31 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 2 08:33:31 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=12912c9a
7
8 sci-libs/acml-5.3.1: Convert fma to cpu_flags_x86_fma4
9
10 ---
11 sci-libs/acml/ChangeLog | 4 ++++
12 sci-libs/acml/acml-5.3.1.ebuild | 6 +++---
13 2 files changed, 7 insertions(+), 3 deletions(-)
14
15 diff --git a/sci-libs/acml/ChangeLog b/sci-libs/acml/ChangeLog
16 index 35c47e8..4c6ae9a 100644
17 --- a/sci-libs/acml/ChangeLog
18 +++ b/sci-libs/acml/ChangeLog
19 @@ -2,6 +2,10 @@
20 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
21 # $Header: $
22
23 + 02 Feb 2015; Marius Brehler <marbre@××××××××××××××.de>
24 + acml-5.3.0.ebuild:
25 + Convert fma to cpu_flags_x86_fma4
26 +
27 20 Jan 2015; Marius Brehler <marbre@××××××××××××××.de>
28 acml-5.3.0.ebuild:
29 Fix HOMEPAGE and URI
30
31 diff --git a/sci-libs/acml/acml-5.3.1.ebuild b/sci-libs/acml/acml-5.3.1.ebuild
32 index ea6ca80..0070173 100644
33 --- a/sci-libs/acml/acml-5.3.1.ebuild
34 +++ b/sci-libs/acml/acml-5.3.1.ebuild
35 @@ -30,7 +30,7 @@ SRC_URI="
36 LICENSE="ACML"
37 SLOT="0"
38 KEYWORDS="-* ~amd64 ~amd64-linux"
39 -IUSE="doc examples fma gfortran ifort int64 open64 openmp pgi static-libs test"
40 +IUSE="doc examples cpu_flags_x86_fma4 gfortran ifort int64 open64 openmp pgi static-libs test"
41 RESTRICT="fetch strip mirror"
42
43 DEPEND=""
44 @@ -42,7 +42,7 @@ src_unpack() {
45 unpack ${A}
46 unpack ./contents-acml-*.tgz
47 use openmp || rm -rf *_mp*
48 - use fma || rm -rf *_fma*
49 + use cpu_flags_x86_fma4 || rm -rf *_fma*
50 }
51
52 src_test() {
53 @@ -99,7 +99,7 @@ src_install() {
54 use ${fdir} && opts=${fdir}
55 done
56 opts+="64"
57 - use fma && opts+="_fma4"
58 + use cpu_flags_x86_fma4 && opts+="_fma4"
59 use openmp && opts+="_mp"
60 use int64 && opts+="_int64"
61 dosym $(ls -1d */lib | grep ${opts}) /${ACML_INST_DIR}/${libdir}