Diff clang-runtime-15.0.7 with a clang-runtime-16.0.6
/usr/portage/sys-devel/clang-runtime/clang-runtime-16.0.6.ebuild 2023-10-09 14:52:35.480368501 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit multilib-build |
|
6 |
inherit multilib-build toolchain-funcs |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Meta-ebuild for clang runtime libraries" |
9 | 9 |
HOMEPAGE="https://clang.llvm.org/" |
10 | 10 | |
11 | 11 |
LICENSE="metapackage" |
12 |
SLOT="$(ver_cut 1-3)" |
|
13 |
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" |
|
12 |
SLOT="${PV%%.*}" |
|
13 |
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" |
|
14 | 14 |
IUSE="+compiler-rt libcxx openmp +sanitize" |
15 | 15 |
REQUIRED_USE="sanitize? ( compiler-rt )" |
16 | 16 | |
... | ... | |
24 | 24 |
libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) |
25 | 25 |
openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] ) |
26 | 26 |
" |
27 | ||
28 |
pkg_pretend() { |
|
29 |
if tc-is-clang; then |
|
30 |
ewarn "You seem to be using clang as a system compiler. As of clang-16," |
|
31 |
ewarn "upstream has turned a few warnings that commonly occur during" |
|
32 |
ewarn "configure script runs into errors by default. This causes some" |
|
33 |
ewarn "configure tests to start failing, sometimes resulting in silent" |
|
34 |
ewarn "breakage, missing functionality or runtime misbehavior. It is" |
|
35 |
ewarn "not yet clear whether the change will remain or be reverted." |
|
36 |
ewarn |
|
37 |
ewarn "For more information, please see:" |
|
38 |
ewarn "https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213" |
|
39 |
fi |
|
40 |
} |