Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in profiles/arch/amd64-fbsd/clang: eapi make.defaults package.use.force package.use.mask packages packages.build parent profile.bashrc
Date: Sun, 08 Feb 2015 16:29:58
Message-Id: 20150208162954.0630A11550@oystercatcher.gentoo.org
1 mgorny 15/02/08 16:29:54
2
3 Added: eapi make.defaults package.use.force
4 package.use.mask packages packages.build parent
5 profile.bashrc
6 Log:
7 Move clang fbsd profile data to arch/amd64-fbsd. Bug #491654 by Yuta SATOH.
8
9 Revision Changes Path
10 1.1 profiles/arch/amd64-fbsd/clang/eapi
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/eapi?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/eapi?rev=1.1&content-type=text/plain
14
15 Index: eapi
16 ===================================================================
17 5
18
19
20
21 1.1 profiles/arch/amd64-fbsd/clang/make.defaults
22
23 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/make.defaults?rev=1.1&view=markup
24 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/make.defaults?rev=1.1&content-type=text/plain
25
26 Index: make.defaults
27 ===================================================================
28 # Copyright 1999-2015 Gentoo Foundation.
29 # Distributed under the terms of the GNU General Public License, v2
30 # $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/make.defaults,v 1.1 2015/02/08 16:29:53 mgorny Exp $
31
32 CFLAGS="-O2 -pipe"
33 CXXFLAGS="-stdlib=libc++ ${CFLAGS}"
34 FFLAGS="${CFLAGS}"
35 FCFLAGS="${CFLAGS}"
36
37
38
39 1.1 profiles/arch/amd64-fbsd/clang/package.use.force
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.force?rev=1.1&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.force?rev=1.1&content-type=text/plain
43
44 Index: package.use.force
45 ===================================================================
46 # Copyright 1999-2015 Gentoo Foundation
47 # Distributed under the terms of the GNU General Public License v2
48 # $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.force,v 1.1 2015/02/08 16:29:53 mgorny Exp $
49
50 # Force building libc++ over libcxxrt.
51 sys-libs/libcxx libcxxrt
52
53 # Force static libs and multilib on the C++ stack.
54 sys-libs/libcxxrt static-libs abi_x86_32
55 sys-libs/libcxx static-libs abi_x86_32
56
57 # Force openssl on curl since cmakes needs it and is in @system because of
58 # libcxx on this profile. Mask the other ssl providers.
59 net-misc/curl ssl curl_ssl_openssl
60
61 # We obviously need clang
62 sys-devel/llvm clang
63
64
65
66 1.1 profiles/arch/amd64-fbsd/clang/package.use.mask
67
68 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.mask?rev=1.1&view=markup
69 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.mask?rev=1.1&content-type=text/plain
70
71 Index: package.use.mask
72 ===================================================================
73 # Copyright 1999-2015 Gentoo Foundation
74 # Distributed under the terms of the GNU General Public License v2
75 # $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/package.use.mask,v 1.1 2015/02/08 16:29:53 mgorny Exp $
76
77 # Build libcxxrt over libgcc_s since that is what clang defaults to.
78 sys-libs/libcxxrt libunwind
79
80 # Needs to be fixed: cxx useflag enables plugins and gold.
81 # gold fails to build with clang:
82 # https://bugs.gentoo.org/show_bug.cgi?id=427344
83 # http://llvm.org/bugs/show_bug.cgi?id=12299
84 sys-devel/binutils cxx
85
86 # Force openssl on curl since cmakes needs it and is in @system because of
87 # libcxx on this profile. Mask the other ssl providers.
88 net-misc/curl curl_ssl_axtls curl_ssl_gnutls curl_ssl_nss curl_ssl_polarssl
89
90
91
92 1.1 profiles/arch/amd64-fbsd/clang/packages
93
94 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages?rev=1.1&view=markup
95 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages?rev=1.1&content-type=text/plain
96
97 Index: packages
98 ===================================================================
99 # Copyright 1999-2015 Gentoo Foundation.
100 # Distributed under the terms of the GNU General Public License, v2
101 # $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages,v 1.1 2015/02/08 16:29:53 mgorny Exp $
102
103 # Don't remove gcc from here: clang uses it for crt{begin,end}*.o and its c++
104 # stack.
105
106 *sys-devel/llvm
107 *sys-devel/clang
108 *sys-libs/libcxx
109
110
111
112 1.1 profiles/arch/amd64-fbsd/clang/packages.build
113
114 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages.build?rev=1.1&view=markup
115 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages.build?rev=1.1&content-type=text/plain
116
117 Index: packages.build
118 ===================================================================
119 # Copyright 1999-2015 Gentoo Foundation.
120 # Distributed under the terms of the GNU General Public License v2
121 # $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/packages.build,v 1.1 2015/02/08 16:29:53 mgorny Exp $
122
123 # This file describes the packages needed to build a stage 1 based on this
124 # profile. Packages in this file are built in order.
125
126 # Please do not move perl before baselayout doing so will break lib -> lib64
127 # symlinks on systems that use them.
128
129 app-arch/bzip2
130 app-arch/gzip
131 dev-libs/openssl
132 app-arch/libarchive
133 app-shells/bash
134 net-misc/rsync
135 net-misc/wget
136 sys-devel/autoconf
137 sys-devel/automake
138 sys-devel/libtool
139 sys-apps/openrc
140 sys-apps/baselayout
141 sys-apps/diffutils
142 sys-apps/file
143 sys-apps/findutils
144 sys-apps/gawk
145 sys-apps/grep
146 sys-apps/less
147 sys-apps/portage
148 sys-apps/sed
149 sys-devel/binutils
150 sys-devel/bison
151 sys-devel/flex
152 sys-devel/gcc
153 dev-libs/libiconv
154 sys-devel/gettext
155 sys-devel/gnuconfig
156 sys-devel/make
157 sys-devel/patch
158 virtual/editor
159 virtual/libc
160 virtual/os-headers
161 sys-freebsd/freebsd-mk-defs
162 sys-freebsd/freebsd-lib
163 sys-freebsd/freebsd-libexec
164 sys-freebsd/freebsd-bin
165 sys-freebsd/freebsd-sbin
166 sys-freebsd/freebsd-ubin
167 sys-freebsd/freebsd-usbin
168 sys-freebsd/freebsd-contrib
169 sys-devel/llvm
170 sys-devel/clang
171 sys-libs/libcxx
172
173
174
175 1.1 profiles/arch/amd64-fbsd/clang/parent
176
177 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/parent?rev=1.1&view=markup
178 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/parent?rev=1.1&content-type=text/plain
179
180 Index: parent
181 ===================================================================
182 ..
183
184
185
186 1.1 profiles/arch/amd64-fbsd/clang/profile.bashrc
187
188 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/profile.bashrc?rev=1.1&view=markup
189 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/arch/amd64-fbsd/clang/profile.bashrc?rev=1.1&content-type=text/plain
190
191 Index: profile.bashrc
192 ===================================================================
193 #!/bin/bash
194 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
195 # $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/clang/profile.bashrc,v 1.1 2015/02/08 16:29:53 mgorny Exp $
196
197 # Check if clang/clang++ exist before setting them so that we can more easily
198 # switch to this profile and build stages.
199 type -P clang > /dev/null && export CC=clang
200 type -P clang++ > /dev/null && [ -f /usr/lib/libc++.so ] && export CXX="clang++ -stdlib=libc++"