diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-24 10:45:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-24 10:45:40 +0000 |
commit | 1804d2ae908b26fe4e3d3a38646c7d6ffa733d92 (patch) | |
tree | 6f5cdff53cb2fde48a01817379124dc476b3742d /sys-devel/llvm-toolchain-symlinks | |
parent | 2fa0c8dbba3b2455531e5616eed64f2fe66cb58b (diff) |
gentoo auto-resync : 24:01:2024 - 10:45:40
Diffstat (limited to 'sys-devel/llvm-toolchain-symlinks')
-rw-r--r-- | sys-devel/llvm-toolchain-symlinks/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-devel/llvm-toolchain-symlinks/Manifest b/sys-devel/llvm-toolchain-symlinks/Manifest index f8ec1745246c..c4f537d9363c 100644 --- a/sys-devel/llvm-toolchain-symlinks/Manifest +++ b/sys-devel/llvm-toolchain-symlinks/Manifest @@ -2,4 +2,5 @@ EBUILD llvm-toolchain-symlinks-15-r1.ebuild 1037 BLAKE2B a91128b9fb9ee30983645e1 EBUILD llvm-toolchain-symlinks-16-r1.ebuild 1044 BLAKE2B 0809ec50dcf6e7dea682fb3261709552ad3ef5738e57725c94be80ef93f67bb421d7efd89e1d98a13383c809eb4a9b51c48d152e0a86f1a8cb74ff889eecde5b SHA512 325e8c03fd70f2da1388d21ab869bea6de30497c10d5b84125228f7e3a2a10d1f23ac0bc62ba42f441196841b7ef886b60bc914a70c8736c0e0b3c8668c31e39 EBUILD llvm-toolchain-symlinks-17.ebuild 1048 BLAKE2B a622f916c79be24f60bbe82a33a9dbe3b8c49328061e32cfb4f671a2250562a941006a26bdc9bbe2addd3b90b3ffcc72a67a9310103164c586ea6da8d0f200c0 SHA512 fcc7e963b7b7593ee84b38992f0c540e99f0e80346adb7449ea3df2be3f5cc225a08464e013d38ea577ac1fdee4911cf3552605a9e8645b3e66bdbd2a2b3e0b3 EBUILD llvm-toolchain-symlinks-18.ebuild 948 BLAKE2B a054bfcaac2e56f051dbe557f558ed25532b89cc3f32cdb6f09472120a65bc2ce950649eed44b6a38600eee1a107821624bfd051147e7a9de00a5982e31cd50c SHA512 e2655ef075dbd6929a42ba5e25fa3b6e8759f94043c6fadabffd4c5269fe9ceb55c114c1f8f0a3160eeaebf92d9f7db4ae6b0e35547bce812abf5656cabf03ef +EBUILD llvm-toolchain-symlinks-19.ebuild 948 BLAKE2B 969a3785aa751670044ac1b37e0f6049916b0ff01833261266b330d530cf569249f11afdbac59fb9029970d65b7906a0ed2312aedca4cfdc1d1722a999fb85a4 SHA512 6cdba225e045f5c2ebbaa0a77603cb70ff89fcfb98b99c3568f8f794a876c716af3721bd81216298f88ada7392bc8fbb2ef92ad42acdfe96844c795e11e62e47 MISC metadata.xml 815 BLAKE2B 963f1b8425495144d04659d2d8cdabab910f15f9861634bf436a82ccb70b27682b44c47415ca6884956097e92294457d09b5c44e7a2f108c93abb79df8884aa7 SHA512 940a6c63c4c13a1c78c041c02df9bd3d2ac0f19eb552fcfb8134784386a2197956b1dd4950c760ca6ac9e8fb154eb550d59fc6ab1aea9c9236e7e005882d556a diff --git a/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild new file mode 100644 index 000000000000..a57062acab8c --- /dev/null +++ b/sys-devel/llvm-toolchain-symlinks/llvm-toolchain-symlinks-19.ebuild @@ -0,0 +1,46 @@ +# 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 + ) + 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 +} |