diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-01-14 21:01:42 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-01-15 05:24:02 +0100 |
| commit | 3dbc0cf773a2f857d176e3b37ed19641633aaf39 (patch) | |
| tree | 864f6ac48e12efeb79db76a6bda3603d989c78eb /llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild | |
| parent | c0c7ea9d5d1f890f593b4913a5a33b6bcde7d60a (diff) | |
| download | gentoo-3dbc0cf773a2f857d176e3b37ed19641633aaf39.tar.gz gentoo-3dbc0cf773a2f857d176e3b37ed19641633aaf39.tar.bz2 gentoo-3dbc0cf773a2f857d176e3b37ed19641633aaf39.zip | |
llvm-core/clang-runtime: Add 19.1.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild')
| -rw-r--r-- | llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild new file mode 100644 index 000000000000..d4206dc08c77 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-build toolchain-funcs + +DESCRIPTION="Meta-ebuild for clang runtime libraries" +HOMEPAGE="https://clang.llvm.org/" + +LICENSE="metapackage" +SLOT="${PV%%.*}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +IUSE="+compiler-rt libcxx openmp +sanitize" +REQUIRED_USE="sanitize? ( compiler-rt )" + +RDEPEND=" + compiler-rt? ( + ~llvm-runtimes/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?] + sanitize? ( + ~llvm-runtimes/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?] + ) + ) + libcxx? ( >=llvm-runtimes/libcxx-${PV}[${MULTILIB_USEDEP}] ) + openmp? ( >=llvm-runtimes/openmp-${PV}[${MULTILIB_USEDEP}] ) +" + +pkg_pretend() { + if tc-is-clang; then + ewarn "You seem to be using clang as a system compiler. As of clang-16," + ewarn "upstream has turned a few warnings that commonly occur during" + ewarn "configure script runs into errors by default. This causes some" + ewarn "configure tests to start failing, sometimes resulting in silent" + ewarn "breakage, missing functionality or runtime misbehavior. It is" + ewarn "not yet clear whether the change will remain or be reverted." + ewarn + ewarn "For more information, please see:" + ewarn "https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213" + fi +} |
