summaryrefslogtreecommitdiff
path: root/sys-devel/llvm-toolchain-symlinks
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/llvm-toolchain-symlinks')
-rw-r--r--sys-devel/llvm-toolchain-symlinks/Manifest7
-rw-r--r--sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17-r1.ebuild (renamed from sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17.ebuild)6
-rw-r--r--sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-18-r1.ebuild49
-rw-r--r--sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild7
-rw-r--r--sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-20.ebuild (renamed from sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-18.ebuild)5
5 files changed, 65 insertions, 9 deletions
diff --git a/sys-devel/llvm-toolchain-symlinks/Manifest b/sys-devel/llvm-toolchain-symlinks/Manifest
index bca48e52f47e..707f94ce8925 100644
--- a/sys-devel/llvm-toolchain-symlinks/Manifest
+++ b/sys-devel/llvm-toolchain-symlinks/Manifest
@@ -1,6 +1,7 @@
EBUILD llvm-toolchain-symlinks-15-r1.ebuild 1037 BLAKE2B a91128b9fb9ee30983645e1d8487e4734a355695e5628dc785fff79c4597a5fc70e2458e5b756e177c86015e078789dfb7960dca078577015b0f9ea4b8369a5c SHA512 0e8e60edd8c226b9c511842c934ac349e6ebe9f425b064cdfe4c582638bbe9b8c860f73964fb922fe5926876f84b9514999e686de48860621ed4541c8c2c5791
EBUILD llvm-toolchain-symlinks-16-r1.ebuild 1057 BLAKE2B 3d95e74859c18e2c1a12a8f154a5e3f9169534c59be41ae94686b9bbf2d45bec17c92510d6b5b566452583f00c2a3c55e53690a8f542cc5f18d58b2fde96ad30 SHA512 3f6299933d27c024765a9a0fabba33735e4e9468fdbc6568d6fcf3213c7496e3e306bfb6caf24e213614299c842ea50aa3f680a676f4f436f553b67cf3ee3b29
-EBUILD llvm-toolchain-symlinks-17.ebuild 1057 BLAKE2B 3d95e74859c18e2c1a12a8f154a5e3f9169534c59be41ae94686b9bbf2d45bec17c92510d6b5b566452583f00c2a3c55e53690a8f542cc5f18d58b2fde96ad30 SHA512 3f6299933d27c024765a9a0fabba33735e4e9468fdbc6568d6fcf3213c7496e3e306bfb6caf24e213614299c842ea50aa3f680a676f4f436f553b67cf3ee3b29
-EBUILD llvm-toolchain-symlinks-18.ebuild 1064 BLAKE2B cb22961706a141e86d5007d22caa3d5a6827528e9a0327e789a65ba20f525c85bf09da4c43d701f06f86c7d8a710d32234184a02efb2533385965b6c65fca2d1 SHA512 ea9db140e2b3624188bbf34997cfcc49ac53c6a72ef83555ed36897f3890ac61f93cc8e25526ddeb1f1bbcbd6951ad8aea7b3d5351ead20bb10f92af68ac3359
-EBUILD llvm-toolchain-symlinks-19.ebuild 948 BLAKE2B 969a3785aa751670044ac1b37e0f6049916b0ff01833261266b330d530cf569249f11afdbac59fb9029970d65b7906a0ed2312aedca4cfdc1d1722a999fb85a4 SHA512 6cdba225e045f5c2ebbaa0a77603cb70ff89fcfb98b99c3568f8f794a876c716af3721bd81216298f88ada7392bc8fbb2ef92ad42acdfe96844c795e11e62e47
+EBUILD llvm-toolchain-symlinks-17-r1.ebuild 1122 BLAKE2B 63d14a5883d5a120fdd8ed5674194ab61d33a9746ca6ee7dcd8344096753b2c95a317722cafa532366310bcdac64e388fc00bea49986392841cb0d235b34b66c SHA512 4affb1f85495926b1bc3aed1a590e2df7eb2d5204aab6b56ae7fe2aa1545559f0dd5050f41d13cf014250d651a298858247a01850d7f389136782fc77e4526ba
+EBUILD llvm-toolchain-symlinks-18-r1.ebuild 1128 BLAKE2B 4165b648a6ea900de2dc9f94e68159229d39b216636f17f1c7e1b313adcff0c13d12b7727a30b9b808d253f8f6bffa7fd88b10e8ab59dea439eabd20f71d1060 SHA512 c02fccd4e4af7cfa6262119a3c9ca8973c8cef5d1b94e731b9756f723a64ae4d020da9166f5df5eaf85007ae2d4308b3005e57fd7ca623a6fe91167f17093317
+EBUILD llvm-toolchain-symlinks-19.ebuild 1135 BLAKE2B 15f32f393f8960527f4acf5ff4cb24c729f144067f5a21fa6f6e8566780e6a1ac4d3bd97b1caff07af63c68e77688f320a6083a0518666838d958a154c9d3221 SHA512 c7cc4c6a3b96c58b7a463760113464d99ba19b350ee56abbf3af7dab3a3a02154884a4570c0633456522d9174b5071823e1d7fc80ebfba5a0557bef196729ca5
+EBUILD llvm-toolchain-symlinks-20.ebuild 1007 BLAKE2B 53719df286b75b0611566afd5b14a74ecba82f2d68a4dc01e6618ed26cc8ee49104ff9a419a3e05109d15ec132ea1aba04fccc2d055150ccbcde95a6e1850378 SHA512 8f28cb79c342632d6f4dc6fd774277f11aacf4df2cb2e82ab06941b551defee494e15bf480a065374ea6b4fe1175793bd38cb4311f1ec2c78858e070e6f6e3eb
MISC metadata.xml 815 BLAKE2B 963f1b8425495144d04659d2d8cdabab910f15f9861634bf436a82ccb70b27682b44c47415ca6884956097e92294457d09b5c44e7a2f108c93abb79df8884aa7 SHA512 940a6c63c4c13a1c78c041c02df9bd3d2ac0f19eb552fcfb8134784386a2197956b1dd4950c760ca6ac9e8fb154eb550d59fc6ab1aea9c9236e7e005882d556a
diff --git a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17.ebuild b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17-r1.ebuild
index c1c22114f553..32c818f519ed 100644
--- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17.ebuild
+++ b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-17-r1.ebuild
@@ -24,6 +24,8 @@ src_install() {
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
@@ -37,11 +39,11 @@ src_install() {
local dest=/usr/lib/llvm/${SLOT}/bin
dodir "${dest}"
for t in "${tools[@]}"; do
- dosym "llvm-${t}" "${dest}/${t}"
+ dosym "llvm-${t%:*}" "${dest}/${t#*:}"
done
for chost in "${chosts[@]}"; do
for t in "${tools[@]}"; do
- dosym "llvm-${t}" "${dest}/${chost}-${t}"
+ 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
new file mode 100644
index 000000000000..751321457456
--- /dev/null
+++ b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-18-r1.ebuild
@@ -0,0 +1,49 @@
+# 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
index a57062acab8c..0f622a6f7cbb 100644
--- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild
+++ b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild
@@ -11,6 +11,7 @@ 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="
@@ -23,6 +24,8 @@ src_install() {
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
@@ -36,11 +39,11 @@ src_install() {
local dest=/usr/lib/llvm/${SLOT}/bin
dodir "${dest}"
for t in "${tools[@]}"; do
- dosym "llvm-${t}" "${dest}/${t}"
+ dosym "llvm-${t%:*}" "${dest}/${t#*:}"
done
for chost in "${chosts[@]}"; do
for t in "${tools[@]}"; do
- dosym "llvm-${t}" "${dest}/${chost}-${t}"
+ dosym "llvm-${t%:*}" "${dest}/${chost}-${t#*:}"
done
done
}
diff --git a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-18.ebuild b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-20.ebuild
index c007ffe5deb6..c8c1320e0f92 100644
--- a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-18.ebuild
+++ b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-20.ebuild
@@ -11,7 +11,6 @@ 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="
@@ -24,6 +23,8 @@ src_install() {
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
@@ -41,7 +42,7 @@ src_install() {
done
for chost in "${chosts[@]}"; do
for t in "${tools[@]}"; do
- dosym "llvm-${t}" "${dest}/${chost}-${t}"
+ dosym "llvm-${t%:*}" "${dest}/${chost}-${t#*:}"
done
done
}