Gentoo Archives: gentoo-commits

From: Reinis Danne <rei4dan@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/atlas/
Date: Sun, 02 Feb 2014 17:01:16
Message-Id: 1391360270.cc6ae47c8c9822d529db56d56caafb408652c357.rei4dan@gentoo
1 commit: cc6ae47c8c9822d529db56d56caafb408652c357
2 Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 2 16:57:50 2014 +0000
4 Commit: Reinis Danne <rei4dan <AT> gmail <DOT> com>
5 CommitDate: Sun Feb 2 16:57:50 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cc6ae47c
7
8 sci-libs/atlas: Fix CPU governor check
9
10 ---
11 sci-libs/atlas/ChangeLog | 6 +++++-
12 sci-libs/atlas/atlas-3.10.1-r1.ebuild | 2 +-
13 sci-libs/atlas/atlas-3.10.1-r2.ebuild | 2 +-
14 3 files changed, 7 insertions(+), 3 deletions(-)
15
16 diff --git a/sci-libs/atlas/ChangeLog b/sci-libs/atlas/ChangeLog
17 index 8a72729..d0a2cca 100644
18 --- a/sci-libs/atlas/ChangeLog
19 +++ b/sci-libs/atlas/ChangeLog
20 @@ -1,7 +1,11 @@
21 # ChangeLog for sci-libs/atlas
22 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
23 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
24 # $Header: $
25
26 + 02 Feb 2014; Reinis Danne <rei4dan@×××××.com> atlas-3.10.1-r1.ebuild,
27 + atlas-3.10.1-r2.ebuild:
28 + Fix cpu governor check.
29 +
30 14 Oct 2013; Justin Lecher <jlec@g.o> atlas-3.10.1-r1.ebuild:
31 Fix type _cpufreq -> cpufreq
32
33
34 diff --git a/sci-libs/atlas/atlas-3.10.1-r1.ebuild b/sci-libs/atlas/atlas-3.10.1-r1.ebuild
35 index c4f06a3..ebf5c75 100644
36 --- a/sci-libs/atlas/atlas-3.10.1-r1.ebuild
37 +++ b/sci-libs/atlas/atlas-3.10.1-r1.ebuild
38 @@ -28,7 +28,7 @@ pkg_setup() {
39 local _cpufreq
40 for _cpufreq in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do
41 if [ -f ${_cpufreq} ]; then
42 - if grep -q performance ${_cpufreq}; then
43 + if ! grep -q performance ${_cpufreq}; then
44 echo 2> /dev/null performance > ${_cpufreq} || \
45 die "${PN} needs all cpu set to performance"
46 fi
47
48 diff --git a/sci-libs/atlas/atlas-3.10.1-r2.ebuild b/sci-libs/atlas/atlas-3.10.1-r2.ebuild
49 index 373f7ad..d2dea89 100644
50 --- a/sci-libs/atlas/atlas-3.10.1-r2.ebuild
51 +++ b/sci-libs/atlas/atlas-3.10.1-r2.ebuild
52 @@ -28,7 +28,7 @@ pkg_setup() {
53 local _cpufreq
54 for _cpufreq in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do
55 if [ -f ${_cpufreq} ]; then
56 - if grep -q performance ${_cpufreq}; then
57 + if ! grep -q performance ${_cpufreq}; then
58 echo 2> /dev/null performance > ${_cpufreq} || \
59 die "${PN} needs all cpu set to performance"
60 fi