Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/
Date: Tue, 04 Jan 2022 03:29:43
Message-Id: 1641266938.533b08b42299c909f4587eb04e82ae0f799d5048.sam@gentoo
1 commit: 533b08b42299c909f4587eb04e82ae0f799d5048
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 3 15:41:46 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 4 03:28:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=533b08b4
7
8 sys-devel/clang: remove kernel_FreeBSD
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sys-devel/clang/clang-11.1.0.ebuild | 9 ++-------
14 sys-devel/clang/clang-12.0.1.ebuild | 9 ++-------
15 sys-devel/clang/clang-13.0.0.ebuild | 9 ++-------
16 sys-devel/clang/clang-13.0.1.9999.ebuild | 9 ++-------
17 sys-devel/clang/clang-13.0.1_rc1.ebuild | 9 ++-------
18 sys-devel/clang/clang-14.0.0.9999.ebuild | 9 ++-------
19 6 files changed, 12 insertions(+), 42 deletions(-)
20
21 diff --git a/sys-devel/clang/clang-11.1.0.ebuild b/sys-devel/clang/clang-11.1.0.ebuild
22 index 844348ccef0f..70f90cdc03ee 100644
23 --- a/sys-devel/clang/clang-11.1.0.ebuild
24 +++ b/sys-devel/clang/clang-11.1.0.ebuild
25 @@ -1,4 +1,4 @@
26 -# Copyright 1999-2021 Gentoo Authors
27 +# Copyright 1999-2022 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 EAPI=7
31 @@ -24,7 +24,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT"
32 SLOT="$(ver_cut 1)/$(ver_cut 1-2)"
33 KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86 ~amd64-linux ~x64-macos"
34 IUSE="debug default-compiler-rt default-libcxx default-lld
35 - doc +static-analyzer test xml kernel_FreeBSD ${ALL_LLVM_TARGETS[*]}"
36 + doc +static-analyzer test xml ${ALL_LLVM_TARGETS[*]}"
37 REQUIRED_USE="${PYTHON_REQUIRED_USE}
38 || ( ${ALL_LLVM_TARGETS[*]} )"
39 RESTRICT="!test? ( test )"
40 @@ -383,11 +383,6 @@ src_install() {
41 "/usr/lib/llvm/${SLOT%/*}/bin/${abi_chost}-${i}"
42 done
43 done
44 -
45 - # Remove unnecessary headers on FreeBSD, bug #417171
46 - if use kernel_FreeBSD; then
47 - rm "${ED}"/usr/lib/clang/${clang_full_version}/include/{std,float,iso,limits,tgmath,varargs}*.h || die
48 - fi
49 }
50
51 multilib_src_install() {
52
53 diff --git a/sys-devel/clang/clang-12.0.1.ebuild b/sys-devel/clang/clang-12.0.1.ebuild
54 index b3ddd17937e3..e4b38d294772 100644
55 --- a/sys-devel/clang/clang-12.0.1.ebuild
56 +++ b/sys-devel/clang/clang-12.0.1.ebuild
57 @@ -1,4 +1,4 @@
58 -# Copyright 1999-2021 Gentoo Authors
59 +# Copyright 1999-2022 Gentoo Authors
60 # Distributed under the terms of the GNU General Public License v2
61
62 EAPI=7
63 @@ -24,7 +24,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT"
64 SLOT="$(ver_cut 1)"
65 KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x64-macos"
66 IUSE="debug default-compiler-rt default-libcxx default-lld
67 - doc llvm-libunwind +static-analyzer test xml kernel_FreeBSD ${ALL_LLVM_TARGETS[*]}"
68 + doc llvm-libunwind +static-analyzer test xml ${ALL_LLVM_TARGETS[*]}"
69 REQUIRED_USE="${PYTHON_REQUIRED_USE}
70 || ( ${ALL_LLVM_TARGETS[*]} )"
71 RESTRICT="!test? ( test )"
72 @@ -387,11 +387,6 @@ src_install() {
73 "/usr/lib/llvm/${SLOT}/bin/${abi_chost}-${i}"
74 done
75 done
76 -
77 - # Remove unnecessary headers on FreeBSD, bug #417171
78 - if use kernel_FreeBSD; then
79 - rm "${ED}"/usr/lib/clang/${clang_full_version}/include/{std,float,iso,limits,tgmath,varargs}*.h || die
80 - fi
81 }
82
83 multilib_src_install() {
84
85 diff --git a/sys-devel/clang/clang-13.0.0.ebuild b/sys-devel/clang/clang-13.0.0.ebuild
86 index 707bb762d95f..5aeac025e36c 100644
87 --- a/sys-devel/clang/clang-13.0.0.ebuild
88 +++ b/sys-devel/clang/clang-13.0.0.ebuild
89 @@ -1,4 +1,4 @@
90 -# Copyright 1999-2021 Gentoo Authors
91 +# Copyright 1999-2022 Gentoo Authors
92 # Distributed under the terms of the GNU General Public License v2
93
94 EAPI=7
95 @@ -17,7 +17,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT"
96 SLOT="$(ver_cut 1)"
97 KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x64-macos"
98 IUSE="debug default-compiler-rt default-libcxx default-lld
99 - doc llvm-libunwind +static-analyzer test xml kernel_FreeBSD"
100 + doc llvm-libunwind +static-analyzer test xml"
101 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
102 RESTRICT="!test? ( test )"
103
104 @@ -376,11 +376,6 @@ src_install() {
105 "/usr/lib/llvm/${SLOT}/bin/${abi_chost}-${i}"
106 done
107 done
108 -
109 - # Remove unnecessary headers on FreeBSD, bug #417171
110 - if use kernel_FreeBSD; then
111 - rm "${ED}"/usr/lib/clang/${clang_full_version}/include/{std,float,iso,limits,tgmath,varargs}*.h || die
112 - fi
113 }
114
115 multilib_src_install() {
116
117 diff --git a/sys-devel/clang/clang-13.0.1.9999.ebuild b/sys-devel/clang/clang-13.0.1.9999.ebuild
118 index 0a01ce5254cf..c9cdf6cd226b 100644
119 --- a/sys-devel/clang/clang-13.0.1.9999.ebuild
120 +++ b/sys-devel/clang/clang-13.0.1.9999.ebuild
121 @@ -1,4 +1,4 @@
122 -# Copyright 1999-2021 Gentoo Authors
123 +# Copyright 1999-2022 Gentoo Authors
124 # Distributed under the terms of the GNU General Public License v2
125
126 EAPI=7
127 @@ -17,7 +17,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT"
128 SLOT="$(ver_cut 1)"
129 KEYWORDS=""
130 IUSE="debug default-compiler-rt default-libcxx default-lld
131 - doc llvm-libunwind +static-analyzer test xml kernel_FreeBSD"
132 + doc llvm-libunwind +static-analyzer test xml"
133 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
134 RESTRICT="!test? ( test )"
135
136 @@ -377,11 +377,6 @@ src_install() {
137 "/usr/lib/llvm/${SLOT}/bin/${abi_chost}-${i}"
138 done
139 done
140 -
141 - # Remove unnecessary headers on FreeBSD, bug #417171
142 - if use kernel_FreeBSD; then
143 - rm "${ED}"/usr/lib/clang/${clang_full_version}/include/{std,float,iso,limits,tgmath,varargs}*.h || die
144 - fi
145 }
146
147 multilib_src_install() {
148
149 diff --git a/sys-devel/clang/clang-13.0.1_rc1.ebuild b/sys-devel/clang/clang-13.0.1_rc1.ebuild
150 index 6d0789546970..cf79f953833e 100644
151 --- a/sys-devel/clang/clang-13.0.1_rc1.ebuild
152 +++ b/sys-devel/clang/clang-13.0.1_rc1.ebuild
153 @@ -1,4 +1,4 @@
154 -# Copyright 1999-2021 Gentoo Authors
155 +# Copyright 1999-2022 Gentoo Authors
156 # Distributed under the terms of the GNU General Public License v2
157
158 EAPI=7
159 @@ -17,7 +17,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT"
160 SLOT="$(ver_cut 1)"
161 KEYWORDS=""
162 IUSE="debug default-compiler-rt default-libcxx default-lld
163 - doc llvm-libunwind +static-analyzer test xml kernel_FreeBSD"
164 + doc llvm-libunwind +static-analyzer test xml"
165 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
166 RESTRICT="!test? ( test )"
167
168 @@ -377,11 +377,6 @@ src_install() {
169 "/usr/lib/llvm/${SLOT}/bin/${abi_chost}-${i}"
170 done
171 done
172 -
173 - # Remove unnecessary headers on FreeBSD, bug #417171
174 - if use kernel_FreeBSD; then
175 - rm "${ED}"/usr/lib/clang/${clang_full_version}/include/{std,float,iso,limits,tgmath,varargs}*.h || die
176 - fi
177 }
178
179 multilib_src_install() {
180
181 diff --git a/sys-devel/clang/clang-14.0.0.9999.ebuild b/sys-devel/clang/clang-14.0.0.9999.ebuild
182 index 26a32f2542ff..1de9a1a3a542 100644
183 --- a/sys-devel/clang/clang-14.0.0.9999.ebuild
184 +++ b/sys-devel/clang/clang-14.0.0.9999.ebuild
185 @@ -1,4 +1,4 @@
186 -# Copyright 1999-2021 Gentoo Authors
187 +# Copyright 1999-2022 Gentoo Authors
188 # Distributed under the terms of the GNU General Public License v2
189
190 EAPI=7
191 @@ -17,7 +17,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT"
192 SLOT="$(ver_cut 1)"
193 KEYWORDS=""
194 IUSE="debug default-compiler-rt default-libcxx default-lld
195 - doc llvm-libunwind +static-analyzer test xml kernel_FreeBSD"
196 + doc llvm-libunwind +static-analyzer test xml"
197 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
198 RESTRICT="!test? ( test )"
199
200 @@ -378,11 +378,6 @@ src_install() {
201 "/usr/lib/llvm/${SLOT}/bin/${abi_chost}-${i}"
202 done
203 done
204 -
205 - # Remove unnecessary headers on FreeBSD, bug #417171
206 - if use kernel_FreeBSD; then
207 - rm "${ED}"/usr/lib/clang/${clang_full_version}/include/{std,float,iso,limits,tgmath,varargs}*.h || die
208 - fi
209 }
210
211 multilib_src_install() {