1 |
commit: 484abdf559cde2039d663024fdd0efc59db79a28 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 26 06:48:57 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 26 07:36:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=484abdf5 |
7 |
|
8 |
sys-devel/clang-runtime: Bump to 16.0.0_pre20220926 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../clang-runtime-16.0.0_pre20220926.ebuild | 41 ++++++++++++++++++++++ |
13 |
1 file changed, 41 insertions(+) |
14 |
|
15 |
diff --git a/sys-devel/clang-runtime/clang-runtime-16.0.0_pre20220926.ebuild b/sys-devel/clang-runtime/clang-runtime-16.0.0_pre20220926.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..3cb2769d40af |
18 |
--- /dev/null |
19 |
+++ b/sys-devel/clang-runtime/clang-runtime-16.0.0_pre20220926.ebuild |
20 |
@@ -0,0 +1,41 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+inherit multilib-build toolchain-funcs |
27 |
+ |
28 |
+DESCRIPTION="Meta-ebuild for clang runtime libraries" |
29 |
+HOMEPAGE="https://clang.llvm.org/" |
30 |
+ |
31 |
+LICENSE="metapackage" |
32 |
+SLOT="$(ver_cut 1-3)" |
33 |
+KEYWORDS="" |
34 |
+IUSE="+compiler-rt libcxx openmp +sanitize" |
35 |
+REQUIRED_USE="sanitize? ( compiler-rt )" |
36 |
+PROPERTIES="live" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ compiler-rt? ( |
40 |
+ ~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?] |
41 |
+ sanitize? ( |
42 |
+ ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?] |
43 |
+ ) |
44 |
+ ) |
45 |
+ libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) |
46 |
+ openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] ) |
47 |
+" |
48 |
+ |
49 |
+pkg_pretend() { |
50 |
+ if tc-is-clang; then |
51 |
+ ewarn "You seem to be using clang as a system compiler. As of clang-16," |
52 |
+ ewarn "upstream has turned a few warnings that commonly occur during" |
53 |
+ ewarn "configure script runs into errors by default. This causes some" |
54 |
+ ewarn "configure tests to start failing, sometimes resulting in silent" |
55 |
+ ewarn "breakage, missing functionality or runtime misbehavior. It is" |
56 |
+ ewarn "not yet clear whether the change will remain or be reverted." |
57 |
+ ewarn |
58 |
+ ewarn "For more information, please see:" |
59 |
+ ewarn "https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213" |
60 |
+ fi |
61 |
+} |