diff options
Diffstat (limited to 'llvm-core')
32 files changed, 50 insertions, 891 deletions
diff --git a/llvm-core/clang-common/clang-common-15.0.7-r10.ebuild b/llvm-core/clang-common/clang-common-15.0.7-r10.ebuild index 50b8d4b18639..f3f98c7d02b9 100644 --- a/llvm-core/clang-common/clang-common-15.0.7-r10.ebuild +++ b/llvm-core/clang-common/clang-common-15.0.7-r10.ebuild @@ -18,7 +18,7 @@ IUSE=" PDEPEND=" default-compiler-rt? ( - llvm-core/clang-runtime:${PV}[compiler-rt] + llvm-runtimes/clang-runtime:${PV}[compiler-rt] llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) ) @@ -67,7 +67,7 @@ src_install() { insinto /etc/clang newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. + # This file is initially generated by llvm-runtimes/clang-runtime. # It is used to control the default runtimes using by clang. --rtlib=$(usex default-compiler-rt compiler-rt libgcc) diff --git a/llvm-core/clang-common/clang-common-16.0.6-r6.ebuild b/llvm-core/clang-common/clang-common-16.0.6-r6.ebuild index ac23cdc19da0..4ecbc93a3bfb 100644 --- a/llvm-core/clang-common/clang-common-16.0.6-r6.ebuild +++ b/llvm-core/clang-common/clang-common-16.0.6-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ IUSE=" PDEPEND=" default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + llvm-runtimes/clang-runtime:${LLVM_MAJOR}[compiler-rt] llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) ) @@ -67,7 +67,7 @@ src_install() { insinto /etc/clang newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. + # This file is initially generated by llvm-runtimes/clang-runtime. # It is used to control the default runtimes using by clang. --rtlib=$(usex default-compiler-rt compiler-rt libgcc) diff --git a/llvm-core/clang-common/clang-common-17.0.6-r10.ebuild b/llvm-core/clang-common/clang-common-17.0.6-r10.ebuild index 0c440a21545b..4e583c68a1ea 100644 --- a/llvm-core/clang-common/clang-common-17.0.6-r10.ebuild +++ b/llvm-core/clang-common/clang-common-17.0.6-r10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ IUSE=" PDEPEND=" default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + llvm-runtimes/clang-runtime:${LLVM_MAJOR}[compiler-rt] llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) ) @@ -144,7 +144,7 @@ src_install() { insinto /etc/clang newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. + # This file is initially generated by llvm-runtimes/clang-runtime. # It is used to control the default runtimes using by clang. --rtlib=$(usex default-compiler-rt compiler-rt libgcc) diff --git a/llvm-core/clang-common/clang-common-17.0.6-r9.ebuild b/llvm-core/clang-common/clang-common-17.0.6-r9.ebuild index cdcf5fd46e78..5b6dbc5caff9 100644 --- a/llvm-core/clang-common/clang-common-17.0.6-r9.ebuild +++ b/llvm-core/clang-common/clang-common-17.0.6-r9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ IUSE=" PDEPEND=" default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + llvm-runtimes/clang-runtime:${LLVM_MAJOR}[compiler-rt] llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) ) @@ -144,7 +144,7 @@ src_install() { insinto /etc/clang newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. + # This file is initially generated by llvm-runtimes/clang-runtime. # It is used to control the default runtimes using by clang. --rtlib=$(usex default-compiler-rt compiler-rt libgcc) diff --git a/llvm-core/clang-common/clang-common-18.1.8-r3.ebuild b/llvm-core/clang-common/clang-common-18.1.8-r3.ebuild index 8987b7168ef1..80ed0703c1b1 100644 --- a/llvm-core/clang-common/clang-common-18.1.8-r3.ebuild +++ b/llvm-core/clang-common/clang-common-18.1.8-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ IUSE=" PDEPEND=" default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + llvm-runtimes/clang-runtime:${LLVM_MAJOR}[compiler-rt] llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) ) @@ -144,7 +144,7 @@ src_install() { insinto /etc/clang newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. + # This file is initially generated by llvm-runtimes/clang-runtime. # It is used to control the default runtimes using by clang. --rtlib=$(usex default-compiler-rt compiler-rt libgcc) diff --git a/llvm-core/clang-common/clang-common-19.1.7.ebuild b/llvm-core/clang-common/clang-common-19.1.7.ebuild index d9b6f6279839..81c4852d4027 100644 --- a/llvm-core/clang-common/clang-common-19.1.7.ebuild +++ b/llvm-core/clang-common/clang-common-19.1.7.ebuild @@ -18,7 +18,7 @@ IUSE=" PDEPEND=" default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + llvm-runtimes/clang-runtime:${LLVM_MAJOR}[compiler-rt] llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) ) @@ -144,7 +144,7 @@ src_install() { insinto /etc/clang newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. + # This file is initially generated by llvm-runtimes/clang-runtime. # It is used to control the default runtimes using by clang. --rtlib=$(usex default-compiler-rt compiler-rt libgcc) diff --git a/llvm-core/clang-common/clang-common-20.1.8.ebuild b/llvm-core/clang-common/clang-common-20.1.8.ebuild index b2b38d2721f7..ec261eba4704 100644 --- a/llvm-core/clang-common/clang-common-20.1.8.ebuild +++ b/llvm-core/clang-common/clang-common-20.1.8.ebuild @@ -18,7 +18,7 @@ IUSE=" PDEPEND=" default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + llvm-runtimes/clang-runtime:${LLVM_MAJOR}[compiler-rt] llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) ) @@ -30,7 +30,7 @@ PDEPEND=" " # enforce flags on clang-runtime as well to aid transition PDEPEND+=" - llvm-core/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] + llvm-runtimes/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] " IDEPEND=" !default-compiler-rt? ( sys-devel/gcc-config ) @@ -148,7 +148,7 @@ src_install() { insinto /etc/clang newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. + # This file is initially generated by llvm-runtimes/clang-runtime. # It is used to control the default runtimes using by clang. --rtlib=$(usex default-compiler-rt compiler-rt libgcc) diff --git a/llvm-core/clang-common/clang-common-21.1.0.ebuild b/llvm-core/clang-common/clang-common-21.1.0.ebuild index 00fc8b0e151f..6ff3220636e5 100644 --- a/llvm-core/clang-common/clang-common-21.1.0.ebuild +++ b/llvm-core/clang-common/clang-common-21.1.0.ebuild @@ -18,7 +18,7 @@ IUSE=" PDEPEND=" default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + llvm-runtimes/clang-runtime:${LLVM_MAJOR}[compiler-rt] llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) ) @@ -30,7 +30,7 @@ PDEPEND=" " # enforce flags on clang-runtime as well to aid transition PDEPEND+=" - llvm-core/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] + llvm-runtimes/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] " IDEPEND=" !default-compiler-rt? ( sys-devel/gcc-config ) @@ -148,7 +148,7 @@ src_install() { insinto /etc/clang newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. + # This file is initially generated by llvm-runtimes/clang-runtime. # It is used to control the default runtimes using by clang. --rtlib=$(usex default-compiler-rt compiler-rt libgcc) diff --git a/llvm-core/clang-common/clang-common-22.0.0.9999.ebuild b/llvm-core/clang-common/clang-common-22.0.0.9999.ebuild index af6e46af4529..4f0d35918328 100644 --- a/llvm-core/clang-common/clang-common-22.0.0.9999.ebuild +++ b/llvm-core/clang-common/clang-common-22.0.0.9999.ebuild @@ -17,7 +17,7 @@ IUSE=" PDEPEND=" default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + llvm-runtimes/clang-runtime:${LLVM_MAJOR}[compiler-rt] llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) ) @@ -29,7 +29,7 @@ PDEPEND=" " # enforce flags on clang-runtime as well to aid transition PDEPEND+=" - llvm-core/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] + llvm-runtimes/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] " IDEPEND=" !default-compiler-rt? ( sys-devel/gcc-config ) @@ -147,7 +147,7 @@ src_install() { insinto /etc/clang newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. + # This file is initially generated by llvm-runtimes/clang-runtime. # It is used to control the default runtimes using by clang. --rtlib=$(usex default-compiler-rt compiler-rt libgcc) diff --git a/llvm-core/clang-common/clang-common-22.0.0_pre20250820.ebuild b/llvm-core/clang-common/clang-common-22.0.0_pre20250820.ebuild index af6e46af4529..4f0d35918328 100644 --- a/llvm-core/clang-common/clang-common-22.0.0_pre20250820.ebuild +++ b/llvm-core/clang-common/clang-common-22.0.0_pre20250820.ebuild @@ -17,7 +17,7 @@ IUSE=" PDEPEND=" default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + llvm-runtimes/clang-runtime:${LLVM_MAJOR}[compiler-rt] llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) ) @@ -29,7 +29,7 @@ PDEPEND=" " # enforce flags on clang-runtime as well to aid transition PDEPEND+=" - llvm-core/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] + llvm-runtimes/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] " IDEPEND=" !default-compiler-rt? ( sys-devel/gcc-config ) @@ -147,7 +147,7 @@ src_install() { insinto /etc/clang newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. + # This file is initially generated by llvm-runtimes/clang-runtime. # It is used to control the default runtimes using by clang. --rtlib=$(usex default-compiler-rt compiler-rt libgcc) diff --git a/llvm-core/clang-common/clang-common-22.0.0_pre20250831.ebuild b/llvm-core/clang-common/clang-common-22.0.0_pre20250831.ebuild index af6e46af4529..4f0d35918328 100644 --- a/llvm-core/clang-common/clang-common-22.0.0_pre20250831.ebuild +++ b/llvm-core/clang-common/clang-common-22.0.0_pre20250831.ebuild @@ -17,7 +17,7 @@ IUSE=" PDEPEND=" default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + llvm-runtimes/clang-runtime:${LLVM_MAJOR}[compiler-rt] llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) ) @@ -29,7 +29,7 @@ PDEPEND=" " # enforce flags on clang-runtime as well to aid transition PDEPEND+=" - llvm-core/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] + llvm-runtimes/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] " IDEPEND=" !default-compiler-rt? ( sys-devel/gcc-config ) @@ -147,7 +147,7 @@ src_install() { insinto /etc/clang newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. + # This file is initially generated by llvm-runtimes/clang-runtime. # It is used to control the default runtimes using by clang. --rtlib=$(usex default-compiler-rt compiler-rt libgcc) diff --git a/llvm-core/clang-runtime/clang-runtime-15.0.7.ebuild b/llvm-core/clang-runtime/clang-runtime-15.0.7.ebuild deleted file mode 100644 index 2d601d4a45c6..000000000000 --- a/llvm-core/clang-runtime/clang-runtime-15.0.7.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib-build - -DESCRIPTION="Meta-ebuild for clang runtime libraries" -HOMEPAGE="https://clang.llvm.org/" - -LICENSE="metapackage" -SLOT="$(ver_cut 1-3)" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~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}] ) -" diff --git a/llvm-core/clang-runtime/clang-runtime-16.0.6.ebuild b/llvm-core/clang-runtime/clang-runtime-16.0.6.ebuild deleted file mode 100644 index ead2c0032671..000000000000 --- a/llvm-core/clang-runtime/clang-runtime-16.0.6.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 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 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 -} diff --git a/llvm-core/clang-runtime/clang-runtime-17.0.6.ebuild b/llvm-core/clang-runtime/clang-runtime-17.0.6.ebuild deleted file mode 100644 index ead2c0032671..000000000000 --- a/llvm-core/clang-runtime/clang-runtime-17.0.6.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 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 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 -} diff --git a/llvm-core/clang-runtime/clang-runtime-18.1.8.ebuild b/llvm-core/clang-runtime/clang-runtime-18.1.8.ebuild deleted file mode 100644 index 630dde92a651..000000000000 --- a/llvm-core/clang-runtime/clang-runtime-18.1.8.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 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 -} diff --git a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild deleted file mode 100644 index 7bcb9295b327..000000000000 --- a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib-build - -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 offload 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}] - offload? ( - >=llvm-runtimes/offload-${PV} - ) - ) -" diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.8-r1.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.8-r1.ebuild deleted file mode 100644 index fcb455d35ee1..000000000000 --- a/llvm-core/clang-runtime/clang-runtime-20.1.8-r1.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib multilib-build - -DESCRIPTION="Meta-ebuild for clang runtime libraries" -HOMEPAGE="https://clang.llvm.org/" -S=${WORKDIR} - -LICENSE="public-domain" -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 offload openmp +sanitize - default-compiler-rt default-libcxx default-lld llvm-libunwind polly -" -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}] - offload? ( - >=llvm-runtimes/offload-${PV} - ) - ) - - llvm-core/clang-common - - ~llvm-core/clang-linker-config-${SLOT}[default-lld(-)?] - ~llvm-runtimes/clang-rtlib-config-${SLOT}[default-compiler-rt(-)?] - ~llvm-runtimes/clang-unwindlib-config-${SLOT}[default-compiler-rt(-)?,llvm-libunwind(-)?] - ~llvm-runtimes/clang-stdlib-config-${SLOT}[default-libcxx(-)?] - - polly? ( ~llvm-core/polly-${PV} ) -" - -_doclang_cfg() { - local triple="${1}" - - local tool - for tool in ${triple}-clang{,++,-cpp}; do - newins - "${tool}.cfg" <<-EOF - # This configuration file is used by ${tool} driver. - @../${tool}.cfg - @gentoo-plugins.cfg - @gentoo-runtimes.cfg - EOF - done - - # Install symlinks for triples with other vendor strings since some - # programs insist on mangling the triple. - local vendor - for vendor in gentoo pc unknown; do - local vendor_triple="${triple%%-*}-${vendor}-${triple#*-*-}" - for tool in clang{,++,-cpp}; do - if [[ ! -f "${ED}/etc/clang/${SLOT}/${vendor_triple}-${tool}.cfg" ]]; then - dosym "${triple}-${tool}.cfg" "/etc/clang/${SLOT}/${vendor_triple}-${tool}.cfg" - fi - done - done -} - -doclang_cfg() { - local triple=$(get_abi_CHOST "${abi}") - - _doclang_cfg ${triple} - - # LLVM may have different arch names in some cases. For example in x86 - # profiles the triple uses i686, but llvm will prefer i386 if invoked - # with "clang" on x86 or "clang -m32" on x86_64. The gentoo triple will - # be used if invoked through ${CHOST}-clang{,++,-cpp} though. - # - # To make sure the correct triples are installed, - # see Triple::getArchTypeName() in llvm/lib/TargetParser/Triple.cpp - # and compare with CHOST values in profiles. - - local abi=${triple%%-*} - case ${abi} in - armv4l|armv4t|armv5tel|armv6j|armv7a) - _doclang_cfg ${triple/${abi}/arm} - ;; - i686) - _doclang_cfg ${triple/${abi}/i386} - ;; - sparc) - _doclang_cfg ${triple/${abi}/sparcel} - ;; - sparc64) - _doclang_cfg ${triple/${abi}/sparcv9} - ;; - esac -} - -src_install() { - insinto "/etc/clang/${SLOT}" - newins - gentoo-runtimes.cfg <<-EOF - # This file is initially generated by llvm-core/clang-runtime. - # It is used to control the default runtimes using by clang. - - @gentoo-rtlib.cfg - @gentoo-unwindlib.cfg - @gentoo-stdlib.cfg - @gentoo-linker.cfg - EOF - newins - gentoo-plugins.cfg <<-EOF - # This file is used to load optional LLVM plugins. - EOF - if use polly; then - cat >> "${ED}/etc/clang/${SLOT}/gentoo-plugins.cfg" <<-EOF || die - -fpass-plugin=LLVMPolly.so - -fplugin=LLVMPolly.so - EOF - fi - - multilib_foreach_abi doclang_cfg -} diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.8.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.8.ebuild deleted file mode 100644 index 2dffc88ecb6a..000000000000 --- a/llvm-core/clang-runtime/clang-runtime-20.1.8.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib multilib-build - -DESCRIPTION="Meta-ebuild for clang runtime libraries" -HOMEPAGE="https://clang.llvm.org/" -S=${WORKDIR} - -LICENSE="public-domain" -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 offload openmp +sanitize - default-compiler-rt default-libcxx default-lld llvm-libunwind polly -" -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}] - offload? ( - >=llvm-runtimes/offload-${PV} - ) - ) - - llvm-core/clang-common - default-compiler-rt? ( - ~llvm-runtimes/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?] - llvm-libunwind? ( llvm-runtimes/libunwind[static-libs] ) - !llvm-libunwind? ( sys-libs/libunwind[static-libs] ) - ) - !default-compiler-rt? ( sys-devel/gcc ) - default-libcxx? ( >=llvm-runtimes/libcxx-${PV}[static-libs] ) - !default-libcxx? ( sys-devel/gcc ) - default-lld? ( ~llvm-core/lld-${PV} ) - !default-lld? ( sys-devel/binutils ) - polly? ( ~llvm-core/polly-${PV} ) -" - -_doclang_cfg() { - local triple="${1}" - - local tool - for tool in ${triple}-clang{,++,-cpp}; do - newins - "${tool}.cfg" <<-EOF - # This configuration file is used by ${tool} driver. - @../${tool}.cfg - @gentoo-plugins.cfg - @gentoo-runtimes.cfg - EOF |
