Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass
Date: Sun, 29 Mar 2015 19:17:09
Message-Id: 20150329191705.A3D6C14CB3@oystercatcher.gentoo.org
1 vapier 15/03/29 19:17:05
2
3 Modified: toolchain.eclass
4 Log:
5 Add USE=cilk to control support for the Cilk Plus language.
6
7 Revision Changes Path
8 1.660 eclass/toolchain.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.660&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.660&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.659&r2=1.660
13
14 Index: toolchain.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v
17 retrieving revision 1.659
18 retrieving revision 1.660
19 diff -u -r1.659 -r1.660
20 --- toolchain.eclass 29 Mar 2015 18:30:34 -0000 1.659
21 +++ toolchain.eclass 29 Mar 2015 19:17:05 -0000 1.660
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2015 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.659 2015/03/29 18:30:34 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.660 2015/03/29 19:17:05 vapier Exp $
27
28 # Maintainer: Toolchain Ninjas <toolchain@g.o>
29
30 @@ -151,6 +151,7 @@
31 # versions which we dropped. Since graphite was also experimental in
32 # the older versions, we don't want to bother supporting it. #448024
33 tc_version_is_at_least 4.8 && IUSE+=" graphite" IUSE_DEF+=( sanitize )
34 + tc_version_is_at_least 4.9 && IUSE+=" cilk"
35 fi
36
37 [[ ${EAPI:-0} != 0 ]] && IUSE_DEF=( "${IUSE_DEF[@]/#/+}" )
38 @@ -1165,7 +1166,10 @@
39 fi
40 confgcc+=( --disable-libssp )
41 fi
42 + fi
43
44 + if in_iuse cilk ; then
45 + confgcc+=( $(use_enable cilk libcilkrts) )
46 fi
47
48 # newer gcc's come with libquadmath, but only fortran uses