1 |
aballier 13/05/25 22:04:45 |
2 |
|
3 |
Modified: packages packages.build profile.bashrc |
4 |
Log: |
5 |
Make the clang profile use libcxx |
6 |
|
7 |
Revision Changes Path |
8 |
1.2 profiles/default/bsd/fbsd/amd64/9.1/clang/packages |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages?rev=1.2&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages?rev=1.2&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages?r1=1.1&r2=1.2 |
13 |
|
14 |
Index: packages |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages,v |
17 |
retrieving revision 1.1 |
18 |
retrieving revision 1.2 |
19 |
diff -u -r1.1 -r1.2 |
20 |
--- packages 18 Oct 2012 22:55:25 -0000 1.1 |
21 |
+++ packages 25 May 2013 22:04:45 -0000 1.2 |
22 |
@@ -1,9 +1,10 @@ |
23 |
-# Copyright 1999-2012 Gentoo Foundation. |
24 |
+# Copyright 1999-2013 Gentoo Foundation. |
25 |
# Distributed under the terms of the GNU General Public License, v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages,v 1.1 2012/10/18 22:55:25 aballier Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages,v 1.2 2013/05/25 22:04:45 aballier Exp $ |
28 |
|
29 |
# Don't remove gcc from here: clang uses it for crt{begin,end}*.o and its c++ |
30 |
# stack. |
31 |
|
32 |
*sys-devel/llvm |
33 |
*sys-devel/clang |
34 |
+*sys-libs/libcxx |
35 |
|
36 |
|
37 |
|
38 |
1.4 profiles/default/bsd/fbsd/amd64/9.1/clang/packages.build |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages.build?rev=1.4&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages.build?rev=1.4&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages.build?r1=1.3&r2=1.4 |
43 |
|
44 |
Index: packages.build |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages.build,v |
47 |
retrieving revision 1.3 |
48 |
retrieving revision 1.4 |
49 |
diff -u -r1.3 -r1.4 |
50 |
--- packages.build 25 May 2013 20:32:33 -0000 1.3 |
51 |
+++ packages.build 25 May 2013 22:04:45 -0000 1.4 |
52 |
@@ -1,6 +1,6 @@ |
53 |
# Copyright 1999-2013 Gentoo Foundation. |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages.build,v 1.3 2013/05/25 20:32:33 aballier Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/packages.build,v 1.4 2013/05/25 22:04:45 aballier Exp $ |
57 |
|
58 |
# This file describes the packages needed to build a stage 1 based on this |
59 |
# profile. Packages in this file are built in order. |
60 |
@@ -50,3 +50,4 @@ |
61 |
sys-freebsd/freebsd-contrib |
62 |
sys-devel/llvm |
63 |
sys-devel/clang |
64 |
+sys-libs/libcxx |
65 |
|
66 |
|
67 |
|
68 |
1.2 profiles/default/bsd/fbsd/amd64/9.1/clang/profile.bashrc |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/profile.bashrc?rev=1.2&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/profile.bashrc?rev=1.2&content-type=text/plain |
72 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/profile.bashrc?r1=1.1&r2=1.2 |
73 |
|
74 |
Index: profile.bashrc |
75 |
=================================================================== |
76 |
RCS file: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/profile.bashrc,v |
77 |
retrieving revision 1.1 |
78 |
retrieving revision 1.2 |
79 |
diff -u -r1.1 -r1.2 |
80 |
--- profile.bashrc 18 Oct 2012 22:55:25 -0000 1.1 |
81 |
+++ profile.bashrc 25 May 2013 22:04:45 -0000 1.2 |
82 |
@@ -1,8 +1,8 @@ |
83 |
#!/bin/bash |
84 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
85 |
-# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/profile.bashrc,v 1.1 2012/10/18 22:55:25 aballier Exp $ |
86 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
87 |
+# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/amd64/9.1/clang/profile.bashrc,v 1.2 2013/05/25 22:04:45 aballier Exp $ |
88 |
|
89 |
# Check if clang/clang++ exist before setting them so that we can more easily |
90 |
# switch to this profile and build stages. |
91 |
type -P clang > /dev/null && export CC=clang |
92 |
-type -P clang++ > /dev/null && export CXX=clang++ |
93 |
+type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX="clang++ -stdlib=libc++" |