diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-26 18:57:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-26 18:57:55 +0000 |
commit | dd8cf418a044466cd5a1239059d5d21744f73f14 (patch) | |
tree | 0d4b5a88a46cdc31e1f7f8f302ac8114e3f94a9d /sys-devel/clang-crossdev-wrappers | |
parent | 6887f21af5af228689c7587c4adf37baa07d563f (diff) |
gentoo auto-resync : 26:01:2024 - 18:57:55
Diffstat (limited to 'sys-devel/clang-crossdev-wrappers')
4 files changed, 49 insertions, 6 deletions
diff --git a/sys-devel/clang-crossdev-wrappers/Manifest b/sys-devel/clang-crossdev-wrappers/Manifest index 3d7e860cc9bf..e21b769ba93a 100644 --- a/sys-devel/clang-crossdev-wrappers/Manifest +++ b/sys-devel/clang-crossdev-wrappers/Manifest @@ -1,4 +1,5 @@ -EBUILD clang-crossdev-wrappers-16.ebuild 960 BLAKE2B 2205280328f973553d6065745e5debb51419ee098ad85b76d527b4e3952b0beca7dc7d030ffaa6f6fab0464446dae8912ab29505d64a7a814289a13bef700940 SHA512 721f13dea2bd07de702759b17eb8d9ed7a48de9ccb0943ec905bd3582059881f76674fcc5578459cab20191f562787e70a6f73477575b339760c0d7b4355d387 -EBUILD clang-crossdev-wrappers-17.ebuild 905 BLAKE2B 8decbe14e019a0d0e952763df6666782a5b6d9d4846cb1bc5ca432cdcb2ae3a70bfa6eb921c987facd98d8bd19c1d7eded7255a82af5eebc80a99d8573d6fc67 SHA512 ea611c975e92160ba0c7c5ba5ff0fbefcb0a628846e7adcd09fd41db42949734a9f4678cbc8131b8757988246cc1152d5c00c0de91494950cf86e246854c5855 +EBUILD clang-crossdev-wrappers-16.ebuild 960 BLAKE2B ef98c0144150c23f3daa2e8240f8fbe9dd5325a92ab5ee4daabc0ae63d397de7e81f65315b10ffa5333365fdd67ce5df8a5fbc9ca518c3995c61a8b2301ef753 SHA512 fe1c40b3b734f2ed740a1d6df92a64dc39846e8dacc94826a27459bad09c455b903220b30ce40b6bd70936876c8e1b57319921c4a3974face9342c433e518d12 +EBUILD clang-crossdev-wrappers-17.ebuild 964 BLAKE2B 10805d04f5b3fbe680b7af131b2264ea50d73747c4ba48d94675689ababb9ab533de2e099e4f7f41ba2b644540d3b037d1171521e4c46123890efa791fb9c153 SHA512 94f87429923e5e71e95c2920b59d3603c36479ae6c21d9be1df94e88cbcd1cc739174df2a719026c372bd06a378ba99d1b9c86330bca03add3c93c780a2942f8 EBUILD clang-crossdev-wrappers-18.ebuild 905 BLAKE2B 8decbe14e019a0d0e952763df6666782a5b6d9d4846cb1bc5ca432cdcb2ae3a70bfa6eb921c987facd98d8bd19c1d7eded7255a82af5eebc80a99d8573d6fc67 SHA512 ea611c975e92160ba0c7c5ba5ff0fbefcb0a628846e7adcd09fd41db42949734a9f4678cbc8131b8757988246cc1152d5c00c0de91494950cf86e246854c5855 +EBUILD clang-crossdev-wrappers-19.ebuild 905 BLAKE2B 45fc5b4fbf1abc84fc896c718efbf889e788b69d83d31bb8be60c4cba53b3b66beef7606eed3a339b7ab0b975e9642962075430e9cd5622ad09259e5864793bb SHA512 d6d26a42c98a8264bffa0abacef69580cd2add21e07510f1d2082443342278b7889aeaaafbff65fa02dfd801172730cbe808306e84e9cb4bafe9e888db3c5e72 MISC metadata.xml 308 BLAKE2B 8a56e0600fd80db6bd01529b04bd4616962e67ee955c95cc6082153f6835efc50e405d18f778ebdb67572c9fe552f6f292ddb960e2802c4bfdac88e00d911d37 SHA512 4c6483cbed3a1b379d433406ac7f04af61d7a0baa8df68e84a173c2d25d6b1dd27e961215235c7cf59a62c5db5917ef8af06696cf84e52d40b364b688c49458a diff --git a/sys-devel/clang-crossdev-wrappers/clang-crossdev-wrappers-16.ebuild b/sys-devel/clang-crossdev-wrappers/clang-crossdev-wrappers-16.ebuild index 8bed967647fa..02158f98d5fb 100644 --- a/sys-devel/clang-crossdev-wrappers/clang-crossdev-wrappers-16.ebuild +++ b/sys-devel/clang-crossdev-wrappers/clang-crossdev-wrappers-16.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/sys-devel/clang-crossdev-wrappers/clang-crossdev-wrappers-17.ebuild b/sys-devel/clang-crossdev-wrappers/clang-crossdev-wrappers-17.ebuild index 6cce67ad5210..ef1d00cf7cf6 100644 --- a/sys-devel/clang-crossdev-wrappers/clang-crossdev-wrappers-17.ebuild +++ b/sys-devel/clang-crossdev-wrappers/clang-crossdev-wrappers-17.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,8 +12,7 @@ S=${WORKDIR} LICENSE="public-domain" SLOT="${PV}" -KEYWORDS="" -PROPERTIES="live" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x64-macos" RDEPEND=" sys-devel/clang:${SLOT} diff --git a/sys-devel/clang-crossdev-wrappers/clang-crossdev-wrappers-19.ebuild b/sys-devel/clang-crossdev-wrappers/clang-crossdev-wrappers-19.ebuild new file mode 100644 index 000000000000..167f8e6f3541 --- /dev/null +++ b/sys-devel/clang-crossdev-wrappers/clang-crossdev-wrappers-19.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit crossdev + +DESCRIPTION="Symlinks to a Clang crosscompiler" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:LLVM" +SRC_URI="" +S=${WORKDIR} + +LICENSE="public-domain" +SLOT="${PV}" +KEYWORDS="" +PROPERTIES="live" + +RDEPEND=" + sys-devel/clang:${SLOT} +" + +src_install() { + local llvm_path="${EPREFIX}/usr/lib/llvm/${SLOT}" + into "${llvm_path}" + + for exe in "clang" "clang++" "clang-cpp"; do + newbin - "${CTARGET}-${exe}" <<-EOF + #!/bin/sh + exec ${exe}-${SLOT} --no-default-config --config="/etc/clang/cross/${CTARGET}.cfg" \${@} + EOF + done + + local tools=( + ${CTARGET}-clang-${SLOT}:${CTARGET}-clang + ${CTARGET}-clang-cpp-${SLOT}:${CTARGET}-clang-cpp + ${CTARGET}-clang++-${SLOT}:${CTARGET}-clang++ + ) + + local t + for t in "${tools[@]}"; do + dosym "${t#*:}" "${llvm_path}/bin/${t%:*}" + done +} |