1 |
commit: bdae56677a553d630401432a9d38a4e174104059 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 18 07:39:23 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 18 15:03:15 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdae5667 |
7 |
|
8 |
sys-devel/clang-runtime: Bump to 16.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../clang-runtime/clang-runtime-16.0.0.ebuild | 40 ++++++++++++++++++++++ |
13 |
1 file changed, 40 insertions(+) |
14 |
|
15 |
diff --git a/sys-devel/clang-runtime/clang-runtime-16.0.0.ebuild b/sys-devel/clang-runtime/clang-runtime-16.0.0.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..6483c7c0c78e |
18 |
--- /dev/null |
19 |
+++ b/sys-devel/clang-runtime/clang-runtime-16.0.0.ebuild |
20 |
@@ -0,0 +1,40 @@ |
21 |
+# Copyright 1999-2023 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="${PV%%.*}" |
33 |
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" |
34 |
+IUSE="+compiler-rt libcxx openmp +sanitize" |
35 |
+REQUIRED_USE="sanitize? ( compiler-rt )" |
36 |
+ |
37 |
+RDEPEND=" |
38 |
+ compiler-rt? ( |
39 |
+ ~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?] |
40 |
+ sanitize? ( |
41 |
+ ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?] |
42 |
+ ) |
43 |
+ ) |
44 |
+ libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) |
45 |
+ openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] ) |
46 |
+" |
47 |
+ |
48 |
+pkg_pretend() { |
49 |
+ if tc-is-clang; then |
50 |
+ ewarn "You seem to be using clang as a system compiler. As of clang-16," |
51 |
+ ewarn "upstream has turned a few warnings that commonly occur during" |
52 |
+ ewarn "configure script runs into errors by default. This causes some" |
53 |
+ ewarn "configure tests to start failing, sometimes resulting in silent" |
54 |
+ ewarn "breakage, missing functionality or runtime misbehavior. It is" |
55 |
+ ewarn "not yet clear whether the change will remain or be reverted." |
56 |
+ ewarn |
57 |
+ ewarn "For more information, please see:" |
58 |
+ ewarn "https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213" |
59 |
+ fi |
60 |
+} |