diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-12-11 12:26:40 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-12-11 12:53:22 +0100 |
commit | 6b5529ead21eb493aed90dbfbbcdc847453c2376 (patch) | |
tree | a57ed5735e9b4eaa8a2a9fc24aac43d31b246fe3 /sys-devel | |
parent | Move {sys-devel → llvm-core}/llvmgold (diff) | |
download | gentoo-6b5529ead21eb493aed90dbfbbcdc847453c2376.tar.gz gentoo-6b5529ead21eb493aed90dbfbbcdc847453c2376.tar.bz2 gentoo-6b5529ead21eb493aed90dbfbbcdc847453c2376.zip |
Move {sys-devel → llvm-core}/llvm-toolchain-symlinks
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel')
15 files changed, 8 insertions, 319 deletions
diff --git a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-15-r1.ebuild b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-15-r1.ebuild deleted file mode 100644 index 63180b2f53b6..000000000000 --- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-15-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib - -DESCRIPTION="Symlinks to use LLVM on binutils-free system" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:LLVM" -S=${WORKDIR} - -LICENSE="public-domain" -SLOT="${PV}" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" -IUSE="multilib-symlinks +native-symlinks" - -RDEPEND=" - sys-devel/llvm:${SLOT} -" - -src_install() { - use native-symlinks || return - - local tools=( - addr2line ar dlltool nm objcopy objdump ranlib readelf size - strings strip windres - ) - local chosts=( "${CHOST}" ) - if use multilib-symlinks; then - local abi - for abi in $(get_all_abis); do - chosts+=( "$(get_abi_CHOST "${abi}")" ) - done - fi - - local chost t - local dest=/usr/lib/llvm/${SLOT}/bin - dodir "${dest}" - for t in "${tools[@]}"; do - dosym "llvm-${t}" "${dest}/${t}" - done - for chost in "${chosts[@]}"; do - for t in "${tools[@]}"; do - dosym "llvm-${t}" "${dest}/${chost}-${t}" - done - done -} diff --git a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-16-r1.ebuild b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-16-r1.ebuild deleted file mode 100644 index c1c22114f553..000000000000 --- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-16-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib - -DESCRIPTION="Symlinks to use LLVM on binutils-free system" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:LLVM" -S=${WORKDIR} - -LICENSE="public-domain" -SLOT="${PV}" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" -IUSE="multilib-symlinks +native-symlinks" - -RDEPEND=" - sys-devel/llvm:${SLOT} -" - -src_install() { - use native-symlinks || return - - local tools=( - addr2line ar dlltool nm objcopy objdump ranlib readelf size - strings strip windres - ) - local chosts=( "${CHOST}" ) - if use multilib-symlinks; then - local abi - for abi in $(get_all_abis); do - chosts+=( "$(get_abi_CHOST "${abi}")" ) - done - fi - - local chost t - local dest=/usr/lib/llvm/${SLOT}/bin - dodir "${dest}" - for t in "${tools[@]}"; do - dosym "llvm-${t}" "${dest}/${t}" - done - for chost in "${chosts[@]}"; do - for t in "${tools[@]}"; do - dosym "llvm-${t}" "${dest}/${chost}-${t}" - done - done -} diff --git a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17-r1.ebuild b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17-r1.ebuild deleted file mode 100644 index 32c818f519ed..000000000000 --- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib - -DESCRIPTION="Symlinks to use LLVM on binutils-free system" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:LLVM" -S=${WORKDIR} - -LICENSE="public-domain" -SLOT="${PV}" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" -IUSE="multilib-symlinks +native-symlinks" - -RDEPEND=" - sys-devel/llvm:${SLOT} -" - -src_install() { - use native-symlinks || return - - local tools=( - addr2line ar dlltool nm objcopy objdump ranlib readelf size - strings strip windres - # https://bugs.gentoo.org/936068 - cxxfilt:c++filt - ) - local chosts=( "${CHOST}" ) - if use multilib-symlinks; then - local abi - for abi in $(get_all_abis); do - chosts+=( "$(get_abi_CHOST "${abi}")" ) - done - fi - - local chost t - local dest=/usr/lib/llvm/${SLOT}/bin - dodir "${dest}" - for t in "${tools[@]}"; do - dosym "llvm-${t%:*}" "${dest}/${t#*:}" - done - for chost in "${chosts[@]}"; do - for t in "${tools[@]}"; do - dosym "llvm-${t%:*}" "${dest}/${chost}-${t#*:}" - done - done -} diff --git a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-18-r1.ebuild b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-18-r1.ebuild deleted file mode 100644 index 751321457456..000000000000 --- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-18-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib - -DESCRIPTION="Symlinks to use LLVM on binutils-free system" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:LLVM" -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="multilib-symlinks +native-symlinks" - -RDEPEND=" - sys-devel/llvm:${SLOT} -" - -src_install() { - use native-symlinks || return - - local tools=( - addr2line ar dlltool nm objcopy objdump ranlib readelf size - strings strip windres - # https://bugs.gentoo.org/936068 - cxxfilt:c++filt - ) - local chosts=( "${CHOST}" ) - if use multilib-symlinks; then - local abi - for abi in $(get_all_abis); do - chosts+=( "$(get_abi_CHOST "${abi}")" ) - done - fi - - local chost t - local dest=/usr/lib/llvm/${SLOT}/bin - dodir "${dest}" - for t in "${tools[@]}"; do - dosym "llvm-${t%:*}" "${dest}/${t#*:}" - done - for chost in "${chosts[@]}"; do - for t in "${tools[@]}"; do - dosym "llvm-${t%:*}" "${dest}/${chost}-${t#*:}" - done - done -} diff --git a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild deleted file mode 100644 index 751321457456..000000000000 --- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib - -DESCRIPTION="Symlinks to use LLVM on binutils-free system" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:LLVM" -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="multilib-symlinks +native-symlinks" - -RDEPEND=" - sys-devel/llvm:${SLOT} -" - -src_install() { - use native-symlinks || return - - local tools=( - addr2line ar dlltool nm objcopy objdump ranlib readelf size - strings strip windres - # https://bugs.gentoo.org/936068 - cxxfilt:c++filt - ) - local chosts=( "${CHOST}" ) - if use multilib-symlinks; then - local abi - for abi in $(get_all_abis); do - chosts+=( "$(get_abi_CHOST "${abi}")" ) - done - fi - - local chost t - local dest=/usr/lib/llvm/${SLOT}/bin - dodir "${dest}" - for t in "${tools[@]}"; do - dosym "llvm-${t%:*}" "${dest}/${t#*:}" - done - for chost in "${chosts[@]}"; do - for t in "${tools[@]}"; do - dosym "llvm-${t%:*}" "${dest}/${chost}-${t#*:}" - done - done -} diff --git a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-20.ebuild b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-20.ebuild deleted file mode 100644 index c8c1320e0f92..000000000000 --- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-20.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib - -DESCRIPTION="Symlinks to use LLVM on binutils-free system" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:LLVM" -S=${WORKDIR} - -LICENSE="public-domain" -SLOT="${PV}" -IUSE="multilib-symlinks +native-symlinks" - -RDEPEND=" - sys-devel/llvm:${SLOT} -" - -src_install() { - use native-symlinks || return - - local tools=( - addr2line ar dlltool nm objcopy objdump ranlib readelf size - strings strip windres - # https://bugs.gentoo.org/936068 - cxxfilt:c++filt - ) - local chosts=( "${CHOST}" ) - if use multilib-symlinks; then - local abi - for abi in $(get_all_abis); do - chosts+=( "$(get_abi_CHOST "${abi}")" ) - done - fi - - local chost t - local dest=/usr/lib/llvm/${SLOT}/bin - dodir "${dest}" - for t in "${tools[@]}"; do - dosym "llvm-${t}" "${dest}/${t}" - done - for chost in "${chosts[@]}"; do - for t in "${tools[@]}"; do - dosym "llvm-${t%:*}" "${dest}/${chost}-${t#*:}" - done - done -} diff --git a/sys-devel/llvm-toolchain-symlinks/metadata.xml b/sys-devel/llvm-toolchain-symlinks/metadata.xml deleted file mode 100644 index d62775dfc3a3..000000000000 --- a/sys-devel/llvm-toolchain-symlinks/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>llvm@gentoo.org</email> - </maintainer> - <use> - <flag name="multilib-symlinks"> - Install symlinks for all ABI CHOSTs. Note that this can - result in gcc being overrode for native builds, as well - as conflict with crossdev if used for the same targets. - </flag> - <flag name="native-symlinks"> - Install generic tool symlinks like 'objdump' and 'ranlib', - as well as ${CTARGET}-*. These symlinks are installed - into slotted LLVM bindir, so they should not take precedence - over symlinks installed into /usr/bin - by <pkg>sys-devel/binutils-config</pkg> but they can be - helpful for binutils-free setups. - </flag> - </use> -</pkgmetadata> diff --git a/sys-devel/llvm/llvm-15.0.7-r7.ebuild b/sys-devel/llvm/llvm-15.0.7-r7.ebuild index 3e0ef8a487b2..4c157d55d90a 100644 --- a/sys-devel/llvm/llvm-15.0.7-r7.ebuild +++ b/sys-devel/llvm/llvm-15.0.7-r7.ebuild @@ -62,7 +62,7 @@ RDEPEND=" " PDEPEND=" sys-devel/llvm-common - sys-devel/llvm-toolchain-symlinks:${LLVM_MAJOR} + llvm-core/llvm-toolchain-symlinks:${LLVM_MAJOR} binutils-plugin? ( >=llvm-core/llvmgold-${LLVM_MAJOR} ) " diff --git a/sys-devel/llvm/llvm-16.0.6-r5.ebuild b/sys-devel/llvm/llvm-16.0.6-r5.ebuild index c5412b6acc16..ec44a8215e77 100644 --- a/sys-devel/llvm/llvm-16.0.6-r5.ebuild +++ b/sys-devel/llvm/llvm-16.0.6-r5.ebuild @@ -62,7 +62,7 @@ RDEPEND=" " PDEPEND=" sys-devel/llvm-common - sys-devel/llvm-toolchain-symlinks:${LLVM_MAJOR} + llvm-core/llvm-toolchain-symlinks:${LLVM_MAJOR} binutils-plugin? ( >=llvm-core/llvmgold-${LLVM_MAJOR} ) " diff --git a/sys-devel/llvm/llvm-17.0.6-r3.ebuild b/sys-devel/llvm/llvm-17.0.6-r3.ebuild index d79db3d2aed3..e1f12d8e8a4e 100644 --- a/sys-devel/llvm/llvm-17.0.6-r3.ebuild +++ b/sys-devel/llvm/llvm-17.0.6-r3.ebuild @@ -66,7 +66,7 @@ RDEPEND=" " PDEPEND=" sys-devel/llvm-common - sys-devel/llvm-toolchain-symlinks:${LLVM_MAJOR} + llvm-core/llvm-toolchain-symlinks:${LLVM_MAJOR} binutils-plugin? ( >=llvm-core/llvmgold-${LLVM_MAJOR} ) " diff --git a/sys-devel/llvm/llvm-18.1.8-r6.ebuild b/sys-devel/llvm/llvm-18.1.8-r6.ebuild index 75ab56547f8c..8f463dbf4d46 100644 --- a/sys-devel/llvm/llvm-18.1.8-r6.ebuild +++ b/sys-devel/llvm/llvm-18.1.8-r6.ebuild @@ -61,7 +61,7 @@ RDEPEND=" " PDEPEND=" sys-devel/llvm-common - sys-devel/llvm-toolchain-symlinks:${LLVM_MAJOR} + llvm-core/llvm-toolchain-symlinks:${LLVM_MAJOR} binutils-plugin? ( >=llvm-core/llvmgold-${LLVM_MAJOR} ) " diff --git a/sys-devel/llvm/llvm-19.1.4.ebuild b/sys-devel/llvm/llvm-19.1.4.ebuild index 79ef5dbe7c58..7cc55e38f213 100644 --- a/sys-devel/llvm/llvm-19.1.4.ebuild +++ b/sys-devel/llvm/llvm-19.1.4.ebuild @@ -60,7 +60,7 @@ RDEPEND=" " PDEPEND=" sys-devel/llvm-common - sys-devel/llvm-toolchain-symlinks:${LLVM_MAJOR} + llvm-core/llvm-toolchain-symlinks:${LLVM_MAJOR} binutils-plugin? ( >=llvm-core/llvmgold-${LLVM_MAJOR} ) " diff --git a/sys-devel/llvm/llvm-19.1.5.ebuild b/sys-devel/llvm/llvm-19.1.5.ebuild index a376f33408cb..3f36edb0c057 100644 --- a/sys-devel/llvm/llvm-19.1.5.ebuild +++ b/sys-devel/llvm/llvm-19.1.5.ebuild @@ -60,7 +60,7 @@ RDEPEND=" " PDEPEND=" sys-devel/llvm-common - sys-devel/llvm-toolchain-symlinks:${LLVM_MAJOR} + llvm-core/llvm-toolchain-symlinks:${LLVM_MAJOR} binutils-plugin? ( >=llvm-core/llvmgold-${LLVM_MAJOR} ) " diff --git a/sys-devel/llvm/llvm-20.0.0.9999.ebuild b/sys-devel/llvm/llvm-20.0.0.9999.ebuild index 2f770567bb34..bee99085fc90 100644 --- a/sys-devel/llvm/llvm-20.0.0.9999.ebuild +++ b/sys-devel/llvm/llvm-20.0.0.9999.ebuild @@ -59,7 +59,7 @@ RDEPEND=" " PDEPEND=" sys-devel/llvm-common - sys-devel/llvm-toolchain-symlinks:${LLVM_MAJOR} + llvm-core/llvm-toolchain-symlinks:${LLVM_MAJOR} binutils-plugin? ( >=llvm-core/llvmgold-${LLVM_MAJOR} ) " diff --git a/sys-devel/llvm/llvm-20.0.0_pre20241207.ebuild b/sys-devel/llvm/llvm-20.0.0_pre20241207.ebuild index 2f770567bb34..bee99085fc90 100644 --- a/sys-devel/llvm/llvm-20.0.0_pre20241207.ebuild +++ b/sys-devel/llvm/llvm-20.0.0_pre20241207.ebuild @@ -59,7 +59,7 @@ RDEPEND=" " PDEPEND=" sys-devel/llvm-common - sys-devel/llvm-toolchain-symlinks:${LLVM_MAJOR} + llvm-core/llvm-toolchain-symlinks:${LLVM_MAJOR} binutils-plugin? ( >=llvm-core/llvmgold-${LLVM_MAJOR} ) " |