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/atlas/
Date: Mon, 14 Dec 2015 11:39:46
Message-Id: 1450093174.6ff188a81f27d09a7a6eb304d91afc3a5caea7d4.jlec@gentoo
1 commit: 6ff188a81f27d09a7a6eb304d91afc3a5caea7d4
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 14 11:39:34 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 14 11:39:34 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6ff188a8
7
8 sci-libs/atlas: Warn if incompatible kernel config is set
9
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=567682
11
12 Package-Manager: portage-2.2.26
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 sci-libs/atlas/atlas-3.11.38-r1.ebuild | 9 ++++++++-
16 1 file changed, 8 insertions(+), 1 deletion(-)
17
18 diff --git a/sci-libs/atlas/atlas-3.11.38-r1.ebuild b/sci-libs/atlas/atlas-3.11.38-r1.ebuild
19 index 3c760fe..8af1506 100644
20 --- a/sci-libs/atlas/atlas-3.11.38-r1.ebuild
21 +++ b/sci-libs/atlas/atlas-3.11.38-r1.ebuild
22 @@ -6,7 +6,7 @@ EAPI=5
23
24 FORTRAN_NEEDED=fortran
25
26 -inherit alternatives-2 eutils fortran-2 multilib numeric toolchain-funcs versionator
27 +inherit alternatives-2 eutils fortran-2 linux-info multilib numeric toolchain-funcs versionator
28
29 LAPACKP=lapack-3.6.0.tgz
30
31 @@ -39,6 +39,13 @@ pkg_setup() {
32 [[ -e /sys/devices/system/cpu/intel_pstate ]] \
33 && die "Intel P-State driver detected. Please reboot with 'intel_pstate=disable' in your cmdline"
34 use fortran && fortran-2_pkg_setup
35 + CONFIG_CHECK="
36 + !~X86_P4_CLOCKMOD
37 + !~X86_INTEL_PSTATE
38 + "
39 + ERROR_KERNEL_X86_P4_CLOCKMOD="P4 Clockmod frequency scaling influences tuning and needs to be disabled at compile time."
40 + ERROR_KERNEL_X86_INTEL_PSTATE="Intel Pstate frequency scaling influences tuning and needs to be disabled at compile time."
41 + linux-info_pkg_setup
42 }
43
44 src_configure() {