[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 41e27aacedd0486e6b26935a59b2190549a6a649 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Mar 23 13:32:34 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Mar 23 13:46:13 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41e27aac llvm-core/clang-runtime: Stabilize 19.1.7 arm, #946879 Signed-off-by: Arthur Zamarin gentoo.org> llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild index 8c03e4696df1..986e421e31af 100644 --- a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild @@ -10,7 +10,7 @@ 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" +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 )"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 6f570257557fe7fa915d2f47c259ad992b718a62 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Mar 23 13:32:41 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Mar 23 13:46:14 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f570257 llvm-core/clang-runtime: Stabilize 19.1.7 ppc64, #946879 Signed-off-by: Arthur Zamarin gentoo.org> llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild index 986e421e31af..5c53fc96fd95 100644 --- a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild @@ -10,7 +10,7 @@ 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" +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 )"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 8bd30716585327bee183ad8e2a8f0b535fb0e4f1 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Mar 23 13:32:39 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Mar 23 13:46:14 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bd30716 llvm-core/clang-common: Stabilize 19.1.7 ppc64, #946879 Signed-off-by: Arthur Zamarin gentoo.org> llvm-core/clang-common/clang-common-19.1.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9e247c904230..e21258b2caf7 100644 --- a/llvm-core/clang-common/clang-common-19.1.7.ebuild +++ b/llvm-core/clang-common/clang-common-19.1.7.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://llvm.org/"; LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE=" default-compiler-rt default-libcxx default-lld bootstrap-prefix cet hardened llvm-libunwind
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: fc44a2865fe9d29d308dff7b821bd0404cfded55 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Mar 23 13:32:39 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Mar 23 13:46:14 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc44a286 llvm-core/clang: Stabilize 19.1.7 ppc64, #946879 Signed-off-by: Arthur Zamarin gentoo.org> llvm-core/clang/clang-19.1.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm-core/clang/clang-19.1.7.ebuild b/llvm-core/clang/clang-19.1.7.ebuild index 3ba9c7354e19..771827d143fc 100644 --- a/llvm-core/clang/clang-19.1.7.ebuild +++ b/llvm-core/clang/clang-19.1.7.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://llvm.org/"; LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~x64-macos" IUSE="debug doc +extra ieee-long-double +pie +static-analyzer test xml" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: f1fc2f4d306d447e5da4d6cdd676446f32f5fb95 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Mar 23 13:32:32 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Mar 23 13:46:12 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1fc2f4d llvm-core/clang-common: Stabilize 19.1.7 arm, #946879 Signed-off-by: Arthur Zamarin gentoo.org> llvm-core/clang-common/clang-common-19.1.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6705ebfcd9aa..9e247c904230 100644 --- a/llvm-core/clang-common/clang-common-19.1.7.ebuild +++ b/llvm-core/clang-common/clang-common-19.1.7.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://llvm.org/"; LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE=" default-compiler-rt default-libcxx default-lld bootstrap-prefix cet hardened llvm-libunwind
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: f0454c70ecba99f6c193824fe18b4fcb364ede5d Author: Arthur Zamarin gentoo org> AuthorDate: Sun Mar 23 13:32:32 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Mar 23 13:46:12 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0454c70 llvm-core/clang: Stabilize 19.1.7 arm, #946879 Signed-off-by: Arthur Zamarin gentoo.org> llvm-core/clang/clang-19.1.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm-core/clang/clang-19.1.7.ebuild b/llvm-core/clang/clang-19.1.7.ebuild index c6e681ef91e0..3ba9c7354e19 100644 --- a/llvm-core/clang/clang-19.1.7.ebuild +++ b/llvm-core/clang/clang-19.1.7.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://llvm.org/"; LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -KEYWORDS="amd64 ~arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~x64-macos" IUSE="debug doc +extra ieee-long-double +pie +static-analyzer test xml" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: afa6433db9d9324802d1c2f76e27a13678c3392f Author: Michał Górny gentoo org> AuthorDate: Sun Mar 23 02:45:58 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 23 02:45:58 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afa6433d llvm-core/clang-runtime: Add multilib inherit Perhaps multilib-build should list it in @PROVIDES, but let's add it for the time being. Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild | 2 +- llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild| 2 +- llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild | 2 +- llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250322.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild index ae31aa35da09..e2f0acc83983 100644 --- a/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build +inherit multilib multilib-build DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/"; diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild index c9b2e10bf798..870cfbfed8fd 100644 --- a/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build +inherit multilib multilib-build DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/"; diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild index c9b2e10bf798..870cfbfed8fd 100644 --- a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build +inherit multilib multilib-build DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/"; diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250322.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250322.ebuild index c9b2e10bf798..870cfbfed8fd 100644 --- a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250322.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250322.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build +inherit multilib multilib-build DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/";
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 4e96e10dde94a37dc08a527ba07de9dca5fcd04b Author: Michał Górny gentoo org> AuthorDate: Sun Mar 23 02:44:56 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 23 02:44:56 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e96e10d llvm-core/clang-runtime: Remove UnusedInherits Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild | 2 +- llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild| 2 +- llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild | 2 +- llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250322.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild index b60f249215d0..ae31aa35da09 100644 --- a/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build toolchain-funcs +inherit multilib-build DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/"; diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild index a28e9569b2e3..c9b2e10bf798 100644 --- a/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build toolchain-funcs +inherit multilib-build DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/"; diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild index a28e9569b2e3..c9b2e10bf798 100644 --- a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build toolchain-funcs +inherit multilib-build DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/"; diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250322.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250322.ebuild index a28e9569b2e3..c9b2e10bf798 100644 --- a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250322.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250322.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build toolchain-funcs +inherit multilib-build DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/";
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: adec6f96d8cc3a08ccef5ca4325ba9ce942b5256 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 23 02:44:32 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 23 02:44:32 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adec6f96 llvm-core/clang-runtime: Add USE=polly to 20.1.1 Closes: https://bugs.gentoo.org/715612 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild index 2168a04b6406..b60f249215d0 100644 --- a/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild @@ -14,7 +14,7 @@ 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 + default-compiler-rt default-libcxx default-lld llvm-libunwind polly " REQUIRED_USE=" sanitize? ( compiler-rt ) @@ -46,6 +46,7 @@ RDEPEND=" !default-libcxx? ( sys-devel/gcc ) default-lld? ( ~llvm-core/lld-${PV} ) !default-lld? ( sys-devel/binutils ) + polly? ( ~llvm-core/polly-${PV} ) " _doclang_cfg() { @@ -119,6 +120,12 @@ src_install() { 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 }
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 4038beaef3124e692daacb2ce475959eb9ad50fd Author: Michał Górny gentoo org> AuthorDate: Sat Mar 22 10:41:37 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 22 10:41:37 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4038beae llvm-core/clang-common: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 3 - .../clang-common/clang-common-20.1.0-r1.ebuild | 315 - .../clang-common-21.0.0_pre20250311.ebuild | 314 3 files changed, 632 deletions(-) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index b2ae378dee29..bbde20022e78 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -12,8 +12,5 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 BLAKE2B c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf SHA512 98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d DIST llvm-project-1d133420dc512487e2be0e9d86755f2a7c3497a7.tar.gz 229268288 BLAKE2B aca79bcca631deeab429a03cd2732d78d8ecf0c9615bce181445ed875436806609dc85a57d4f97109492833d620d060ea93fed450a4912c2d94597aeabf84974 SHA512 24ecadfccdf785bfbf27d5007afd2a4d5868493b2c5f48d6cf07c335bfbfef5cba4f12a639971e5f95877ae3b8c7b7fc0c210e404d21036af553de82a5059037 -DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 -DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a DIST llvm-project-20.1.1.src.tar.xz 147215020 BLAKE2B d1774d060036b5340f765d68cc23cbd1e00730874cb3e65b7236303238d7922a7fa191b631c20c3bf17e54c933672a355d4424f2beea17cd25fcf9f5c4c625dd SHA512 b851d3e24a2775f6e789720614a8192d72956f447a39d75e5160a8acf6bd3a3386fab2cca5590b7e020b65e408ccf32432f8dc03519fd4cf60b4b5674fe0547e DIST llvm-project-20.1.1.src.tar.xz.sig 566 BLAKE2B 76c49401d9b8e283fc29586c32fc1b5205d76b3b83d0f99aa2ac09a63b058478e08588dcfbfc728110172b639eeaf04a884f4e6d707b94cad0dbf2d0dcb30a4f SHA512 469b03f3ddbe56b074724375b09a45ee2730bee0ba4b25f64f93d93ef609c33d39136f051c216a74a35d98a70ffcd3d7507e38d19a20d5006c29a954ca32813b -DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14 diff --git a/llvm-core/clang-common/clang-common-20.1.0-r1.ebuild b/llvm-core/clang-common/clang-common-20.1.0-r1.ebuild deleted file mode 100644 index 00fc8b0e151f.. --- a/llvm-core/clang-common/clang-common-20.1.0-r1.ebuild +++ /dev/null @@ -1,315 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit bash-completion-r1 llvm.org multilib - -DESCRIPTION="Common files shared between multiple slots of clang" -HOMEPAGE="https://llvm.org/"; - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" -IUSE=" - default-compiler-rt default-libcxx default-lld - bootstrap-prefix cet hardened llvm-libunwind -" - -PDEPEND=" - default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] - 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 ) -" -# enforce flags on clang-runtime as well to a
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 13bfb01e859fd62986a7daf589c8a1e3436dc7ce Author: Michał Górny gentoo org> AuthorDate: Sat Mar 22 10:41:36 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 22 10:41:36 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13bfb01e llvm-core/clang: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 3 - llvm-core/clang/clang-20.1.0-r1.ebuild | 465 llvm-core/clang/clang-21.0.0_pre20250311.ebuild | 464 --- 3 files changed, 932 deletions(-) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 4320eb153f1d..ddf49277bcdc 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -22,8 +22,5 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 BLAKE2B c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf SHA512 98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d DIST llvm-project-1d133420dc512487e2be0e9d86755f2a7c3497a7.tar.gz 229268288 BLAKE2B aca79bcca631deeab429a03cd2732d78d8ecf0c9615bce181445ed875436806609dc85a57d4f97109492833d620d060ea93fed450a4912c2d94597aeabf84974 SHA512 24ecadfccdf785bfbf27d5007afd2a4d5868493b2c5f48d6cf07c335bfbfef5cba4f12a639971e5f95877ae3b8c7b7fc0c210e404d21036af553de82a5059037 -DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 -DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a DIST llvm-project-20.1.1.src.tar.xz 147215020 BLAKE2B d1774d060036b5340f765d68cc23cbd1e00730874cb3e65b7236303238d7922a7fa191b631c20c3bf17e54c933672a355d4424f2beea17cd25fcf9f5c4c625dd SHA512 b851d3e24a2775f6e789720614a8192d72956f447a39d75e5160a8acf6bd3a3386fab2cca5590b7e020b65e408ccf32432f8dc03519fd4cf60b4b5674fe0547e DIST llvm-project-20.1.1.src.tar.xz.sig 566 BLAKE2B 76c49401d9b8e283fc29586c32fc1b5205d76b3b83d0f99aa2ac09a63b058478e08588dcfbfc728110172b639eeaf04a884f4e6d707b94cad0dbf2d0dcb30a4f SHA512 469b03f3ddbe56b074724375b09a45ee2730bee0ba4b25f64f93d93ef609c33d39136f051c216a74a35d98a70ffcd3d7507e38d19a20d5006c29a954ca32813b -DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14 diff --git a/llvm-core/clang/clang-20.1.0-r1.ebuild b/llvm-core/clang/clang-20.1.0-r1.ebuild deleted file mode 100644 index 4e818dcc1a1c.. --- a/llvm-core/clang/clang-20.1.0-r1.ebuild +++ /dev/null @@ -1,465 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) - -inherit cmake llvm.org multilib multilib-minimal -inherit prefix python-single-r1 toolchain-funcs - -DESCRIPTION="C language family frontend for LLVM" -HOMEPAGE="https://llvm.org/"; - -# MSVCSetupApi.h: MIT -# sorttable.js: MIT - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" -SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~x64-macos" -IUSE="debug doc +extra ieee-long-double +pie +static-analyzer test xml" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -DEPEND=" - ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] - static-analyzer? ( dev-lang/perl:* ) - xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) -" - -RDEPEND=" - ${PYTHON_DEPS} - ${DEPEND} - >=llvm-core/clang-common-${PV} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( ~llvm-core/lld-${PV} ) - xml? ( virtual/pkgconfig ) -" -PDEPEND=" - ~llvm-core/clang-runtime-${PV} - llvm-core/clang-toolchain-syml
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 568aee29c5f5bbfa6b73fb7114575bcd302bd456 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 22 10:41:16 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 22 10:41:16 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=568aee29 llvm-core/clang-runtime: Remove old Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-20.1.0-r1.ebuild | 124 .../clang-runtime-21.0.0_pre20250311.ebuild| 130 - 2 files changed, 254 deletions(-) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.0-r1.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.0-r1.ebuild deleted file mode 100644 index 2168a04b6406.. --- a/llvm-core/clang-runtime/clang-runtime-20.1.0-r1.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2025 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/"; -S=${WORKDIR} - -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 - default-compiler-rt default-libcxx default-lld llvm-libunwind -" -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 ) -" - -_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-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 211ab64e5bdbb1c43786ad21ea1affd14e5a07a1 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 20 12:53:40 2025 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 20 16:50:28 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=211ab64e llvm-core/clang-runtime: Add 20.1.1 Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-20.1.1.ebuild | 124 + 1 file changed, 124 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild new file mode 100644 index ..2168a04b6406 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-20.1.1.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2025 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/"; +S=${WORKDIR} + +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 + default-compiler-rt default-libcxx default-lld llvm-libunwind +" +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 ) +" + +_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. + + --rtlib=$(usex default-compiler-rt compiler-rt libgcc) + --unwindlib=$(usex defa
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 22580c6df938be21381c113ad2d02922c482937a Author: Michał Górny gentoo org> AuthorDate: Thu Mar 20 12:53:24 2025 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 20 16:50:16 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22580c6d llvm-core/clang: Add 20.1.1 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 2 + llvm-core/clang/clang-20.1.1.ebuild | 465 2 files changed, 467 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index a738eecf0814..39eee4a0b8d5 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -23,4 +23,6 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 BLAKE2B c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf SHA512 98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a +DIST llvm-project-20.1.1.src.tar.xz 147215020 BLAKE2B d1774d060036b5340f765d68cc23cbd1e00730874cb3e65b7236303238d7922a7fa191b631c20c3bf17e54c933672a355d4424f2beea17cd25fcf9f5c4c625dd SHA512 b851d3e24a2775f6e789720614a8192d72956f447a39d75e5160a8acf6bd3a3386fab2cca5590b7e020b65e408ccf32432f8dc03519fd4cf60b4b5674fe0547e +DIST llvm-project-20.1.1.src.tar.xz.sig 566 BLAKE2B 76c49401d9b8e283fc29586c32fc1b5205d76b3b83d0f99aa2ac09a63b058478e08588dcfbfc728110172b639eeaf04a884f4e6d707b94cad0dbf2d0dcb30a4f SHA512 469b03f3ddbe56b074724375b09a45ee2730bee0ba4b25f64f93d93ef609c33d39136f051c216a74a35d98a70ffcd3d7507e38d19a20d5006c29a954ca32813b DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14 diff --git a/llvm-core/clang/clang-20.1.1.ebuild b/llvm-core/clang/clang-20.1.1.ebuild new file mode 100644 index ..4e818dcc1a1c --- /dev/null +++ b/llvm-core/clang/clang-20.1.1.ebuild @@ -0,0 +1,465 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~x64-macos" +IUSE="debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +#target. However, you will need appropriate crt* files (installed +#e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: b809f8b68848fcc30d0f187701728ed970f934e4 Author: Michał Górny gentoo org> AuthorDate: Mon Mar 17 17:57:44 2025 + Commit: Michał Górny gentoo org> CommitDate: Mon Mar 17 20:13:32 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b809f8b6 llvm-core/clang-runtime: Add 21.0.0_pre20250317 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-21.0.0_pre20250317.ebuild| 130 + 1 file changed, 130 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild new file mode 100644 index ..a28e9569b2e3 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250317.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2025 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/"; +S=${WORKDIR} + +LICENSE="metapackage" +SLOT="${PV%%.*}" +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 + 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. + + --rtlib=$(usex default-compiler-rt compiler-rt libgcc) + --unwindlib=$(usex default-compiler-rt lib
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: e93fca60236eee0294900e59a9bb3b8117a1bec7 Author: Michał Górny gentoo org> AuthorDate: Mon Mar 17 17:57:25 2025 + Commit: Michał Górny gentoo org> CommitDate: Mon Mar 17 20:13:18 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e93fca60 llvm-core/clang: Add 21.0.0_pre20250317 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 + llvm-core/clang/clang-21.0.0_pre20250317.ebuild | 464 2 files changed, 465 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 0b2ddcdfd052..a738eecf0814 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -20,6 +20,7 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d22 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda +DIST llvm-project-1c3a9a853ce68c3c539e7cab21380b9d8b18f426.tar.gz 229448743 BLAKE2B c1eacc2ed05c460f56cf83f16b982e3fa4ac530483d7cf003034239aff3b3dbffbdd3042a3f295a83ec94fcf32f802714e4937fd3761a5e03d4ed1b4093e81bf SHA512 98b7e9fa330a6fce33ca9757caf5d2e41d0b73117cb24b2aed880274c2d6f8a8c1a0028dd0e773fa42deb61dbe3b9dd4fb2f44e50814b966fcdeae8e5b417e6d DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14 diff --git a/llvm-core/clang/clang-21.0.0_pre20250317.ebuild b/llvm-core/clang/clang-21.0.0_pre20250317.ebuild new file mode 100644 index ..88ffb1aca0b9 --- /dev/null +++ b/llvm-core/clang/clang-21.0.0_pre20250317.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* fla
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 3eeb625ec018ad370f6da88ab9fe8f2d7297e484 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 16 17:30:20 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 16 17:30:20 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eeb625e llvm-core/clang-runtime: Remove old Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-21.0.0_pre20250301.ebuild| 30 -- 1 file changed, 30 deletions(-) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250301.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250301.ebuild deleted file mode 100644 index 542c7b28a6f4.. --- a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250301.ebuild +++ /dev/null @@ -1,30 +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%%.*}" -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} - ) - ) -"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: d8204dcfaf0cfe3315ff46c15ba38d2458090331 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 16 17:30:44 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 16 17:30:44 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8204dcf llvm-core/clang: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 - llvm-core/clang/clang-21.0.0_pre20250301.ebuild | 464 2 files changed, 465 deletions(-) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 2a4576d3a586..0b2ddcdfd052 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -22,5 +22,4 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a -DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442 DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14 diff --git a/llvm-core/clang/clang-21.0.0_pre20250301.ebuild b/llvm-core/clang/clang-21.0.0_pre20250301.ebuild deleted file mode 100644 index 67e6515db8b5.. --- a/llvm-core/clang/clang-21.0.0_pre20250301.ebuild +++ /dev/null @@ -1,464 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) - -inherit cmake llvm.org multilib multilib-minimal -inherit prefix python-single-r1 toolchain-funcs - -DESCRIPTION="C language family frontend for LLVM" -HOMEPAGE="https://llvm.org/"; - -# MSVCSetupApi.h: MIT -# sorttable.js: MIT - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" -SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -DEPEND=" - ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] - static-analyzer? ( dev-lang/perl:* ) - xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) -" - -RDEPEND=" - ${PYTHON_DEPS} - ${DEPEND} - >=llvm-core/clang-common-${PV} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( ~llvm-core/lld-${PV} ) - xml? ( virtual/pkgconfig ) -" -PDEPEND=" - ~llvm-core/clang-runtime-${PV} - llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} -" - -LLVM_COMPONENTS=( - clang clang-tools-extra cmake -) -LLVM_MANPAGES=1 -LLVM_TEST_COMPONENTS=( - llvm/utils -) -LLVM_USE_TARGETS=llvm -llvm.org_set_globals - -[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " -BDEPEND+=" - $(python_gen_cond_dep ' - dev-python/myst-parser[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ') -" -[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " - -# Multilib notes: -# 1. ABI_* flags control ABIs libclang* is built for only. -# 2. clang is always capable of compiling code for all ABIs for enabled -#target. However, you will need appropriate crt* files (installed -#e.g. by sys-devel/gcc and sys-libs/glibc). -# 3. ${CHOST}-clang wrappers are always installed for all ABIs included -#in the current profile (i.e. alike supported by sys-devel/gcc). -# -# Therefore: use llvm-core/clang[${MULTILIB_USEDEP}] only if you need -# multilib clang* libraries (not runtime, not wrappers). - -src_prepare() { - # create extra parent dir for relative CLANG_RESOURCE_DIR access - mkdir -p x/y || die - BUILD_DIR=${WORKDIR}/
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: b334571567ba28720d1bc3f3913adf58cadd Author: Michał Górny gentoo org> AuthorDate: Sun Mar 16 17:30:45 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 16 17:30:45 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3345715 llvm-core/clang-common: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 1 - .../clang-common-21.0.0_pre20250301.ebuild | 310 - 2 files changed, 311 deletions(-) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index c18c84ef8018..d3cf27d0ad4f 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -12,5 +12,4 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a -DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442 DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14 diff --git a/llvm-core/clang-common/clang-common-21.0.0_pre20250301.ebuild b/llvm-core/clang-common/clang-common-21.0.0_pre20250301.ebuild deleted file mode 100644 index 1fde60b6b6de.. --- a/llvm-core/clang-common/clang-common-21.0.0_pre20250301.ebuild +++ /dev/null @@ -1,310 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit bash-completion-r1 llvm.org multilib - -DESCRIPTION="Common files shared between multiple slots of clang" -HOMEPAGE="https://llvm.org/"; - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE=" - default-compiler-rt default-libcxx default-lld - bootstrap-prefix cet hardened llvm-libunwind -" - -PDEPEND=" - default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] - 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 ) -" -IDEPEND=" - !default-compiler-rt? ( sys-devel/gcc-config ) - !default-libcxx? ( sys-devel/gcc-config ) -" - -LLVM_COMPONENTS=( clang/utils ) -llvm.org_set_globals - -pkg_pretend() { - [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return - - local flag missing_flags=() - for flag in default-{compiler-rt,libcxx,lld}; do - if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then - missing_flags+=( "${flag}" ) - fi - done - - if [[ ${missing_flags[@]} ]]; then - eerror "It seems that you have the following flags set on llvm-core/clang:" - eerror - eerror " ${missing_flags[*]}" - eerror - eerror "The default runtimes are now set via flags on llvm-core/clang-common." - eerror "The build is being aborted to prevent breakage. Please either set" - eerror "the respective flags on this ebuild, e.g.:" - eerror - eerror " llvm-core/clang-common ${missing_flags[*]}" - eerror - eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1." - die "Mismatc
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: b5b15f5f99075e8aa58a16ea2b3da5ae6c143bd3 Author: Michał Górny gentoo org> AuthorDate: Tue Mar 11 14:51:34 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 11 14:56:22 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5b15f5f llvm-core/clang: Add 21.0.0_pre20250311 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 + llvm-core/clang/clang-21.0.0_pre20250311.ebuild | 464 2 files changed, 465 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index ba7c60ffaf51..2a4576d3a586 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -23,3 +23,4 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442 +DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14 diff --git a/llvm-core/clang/clang-21.0.0_pre20250311.ebuild b/llvm-core/clang/clang-21.0.0_pre20250311.ebuild new file mode 100644 index ..88ffb1aca0b9 --- /dev/null +++ b/llvm-core/clang/clang-21.0.0_pre20250311.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +#target. However, you will need appropriate crt* files (installed +#e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always installed for all ABIs included +#in the current profile (i.e. alike supported by sys-devel/gcc). +# +# Therefore: use llvm-core/clang[${MULTILIB_USEDEP}] only if you need +# multilib clang* libraries (not runtime, not wrappers). + +src_prepare() { + # create extra parent dir for relative CLANG_RESOURCE_DIR access + mkdir -p x/y || die + BUILD_DIR=${WORKDIR}/x/y/clang + + llvm.org_src_prepare + + # add Gentoo Portage Prefix for Darwin (see prefix-dirs.patch) + eprefixify \ + lib/Lex/InitHeaderSearch.cpp \ + lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: e3281bbf9a46bf0da26bda0b7499c94301507d2c Author: Michał Górny gentoo org> AuthorDate: Tue Mar 11 14:51:33 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 11 14:56:21 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3281bbf llvm-core/clang-common: Add 21.0.0_pre20250311 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 1 + .../clang-common-21.0.0_pre20250311.ebuild | 314 + 2 files changed, 315 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index 0bb30d78e9c4..c18c84ef8018 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -13,3 +13,4 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442 +DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14 diff --git a/llvm-core/clang-common/clang-common-21.0.0_pre20250311.ebuild b/llvm-core/clang-common/clang-common-21.0.0_pre20250311.ebuild new file mode 100644 index ..af6e46af4529 --- /dev/null +++ b/llvm-core/clang-common/clang-common-21.0.0_pre20250311.ebuild @@ -0,0 +1,314 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +# enforce flags on clang-runtime as well to aid transition +PDEPEND+=" + llvm-core/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on llvm-core/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on llvm-core/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " llvm-core/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1." + die "Mismatched defaults detected between llvm-core/clang and llvm-core/clang-common" + fi +} + +_doclang_cfg() { +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: f23b499896cd72e021649c2480d266bea46ece5b Author: Michał Górny gentoo org> AuthorDate: Tue Mar 11 14:51:49 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 11 14:56:35 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f23b4998 llvm-core/clang-runtime: Add 21.0.0_pre20250311 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-21.0.0_pre20250311.ebuild| 130 + 1 file changed, 130 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250311.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250311.ebuild new file mode 100644 index ..a28e9569b2e3 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250311.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2025 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/"; +S=${WORKDIR} + +LICENSE="metapackage" +SLOT="${PV%%.*}" +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 + 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. + + --rtlib=$(usex default-compiler-rt compiler-rt libgcc) + --unwindlib=$(usex default-compiler-rt lib
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 27ba83267d59df328e1ef409f96ef16844bd26a8 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 29 18:38:56 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 13:05:14 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27ba8326 llvm-core/clang-common: Enforce matching flags on clang-runtimes Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/clang-common-21.0.0..ebuild | 4 1 file changed, 4 insertions(+) diff --git a/llvm-core/clang-common/clang-common-21.0.0..ebuild b/llvm-core/clang-common/clang-common-21.0.0..ebuild index 1fde60b6b6de..ed0619a9ba32 100644 --- a/llvm-core/clang-common/clang-common-21.0.0..ebuild +++ b/llvm-core/clang-common/clang-common-21.0.0..ebuild @@ -27,6 +27,10 @@ PDEPEND=" default-lld? ( >=llvm-core/lld-${PV} ) !default-lld? ( sys-devel/binutils ) " +# enforce flags on clang-runtime as well to aid transition +PDEPEND+=" + llvm-core/clang-runtime[default-compiler-rt?,default-libcxx?,default-lld?,llvm-libunwind?] +" IDEPEND=" !default-compiler-rt? ( sys-devel/gcc-config ) !default-libcxx? ( sys-devel/gcc-config )
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 8754ad9e0648c3e36971f6d34394a2c5b535c839 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 13:30:15 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 13:30:15 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8754ad9e llvm-core/clang-common: Add USE-defaults for clang-runtime deps Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/clang-common-20.1.0-r1.ebuild | 2 +- llvm-core/clang-common/clang-common-21.0.0..ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm-core/clang-common/clang-common-20.1.0-r1.ebuild b/llvm-core/clang-common/clang-common-20.1.0-r1.ebuild index 3bfc8992d3b2..00fc8b0e151f 100644 --- a/llvm-core/clang-common/clang-common-20.1.0-r1.ebuild +++ b/llvm-core/clang-common/clang-common-20.1.0-r1.ebuild @@ -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-core/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] " IDEPEND=" !default-compiler-rt? ( sys-devel/gcc-config ) diff --git a/llvm-core/clang-common/clang-common-21.0.0..ebuild b/llvm-core/clang-common/clang-common-21.0.0..ebuild index ed0619a9ba32..af6e46af4529 100644 --- a/llvm-core/clang-common/clang-common-21.0.0..ebuild +++ b/llvm-core/clang-common/clang-common-21.0.0..ebuild @@ -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-core/clang-runtime[default-compiler-rt(-)?,default-libcxx(-)?,default-lld(-)?,llvm-libunwind(-)?] " IDEPEND=" !default-compiler-rt? ( sys-devel/gcc-config )
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 8e0d82e943e9fb4d924ce812ad98883aee6e6c89 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 13:15:34 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 13:15:34 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0d82e9 llvm-core/clang: Backport per-slot configs to 20.1.0-r1 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/{clang-20.1.0.ebuild => clang-20.1.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm-core/clang/clang-20.1.0.ebuild b/llvm-core/clang/clang-20.1.0-r1.ebuild similarity index 99% rename from llvm-core/clang/clang-20.1.0.ebuild rename to llvm-core/clang/clang-20.1.0-r1.ebuild index 5966f8deb0be..4e818dcc1a1c 100644 --- a/llvm-core/clang/clang-20.1.0.ebuild +++ b/llvm-core/clang/clang-20.1.0-r1.ebuild @@ -259,7 +259,7 @@ multilib_src_configure() { -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" -DLLVM_ROOT="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" - -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang" + -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang/${LLVM_MAJOR}" -DCLANG_CONFIG_FILE_USER_DIR="~/.config/clang" # relative to bindir -DCLANG_RESOURCE_DIR="../../../../lib/clang/${LLVM_MAJOR}"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: e2030457ee97e2aba42a7d5d99dbe75472b2c7cc Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 13:14:10 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 13:14:14 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2030457 llvm-core/clang-common: Backport per-slot configs to 20.1.0-r1 Signed-off-by: Michał Górny gentoo.org> .../{clang-common-20.1.0.ebuild => clang-common-20.1.0-r1.ebuild} | 4 1 file changed, 4 insertions(+) diff --git a/llvm-core/clang-common/clang-common-20.1.0.ebuild b/llvm-core/clang-common/clang-common-20.1.0-r1.ebuild similarity index 98% rename from llvm-core/clang-common/clang-common-20.1.0.ebuild rename to llvm-core/clang-common/clang-common-20.1.0-r1.ebuild index 75e1c18f7d3d..3bfc8992d3b2 100644 --- a/llvm-core/clang-common/clang-common-20.1.0.ebuild +++ b/llvm-core/clang-common/clang-common-20.1.0-r1.ebuild @@ -28,6 +28,10 @@ PDEPEND=" default-lld? ( >=llvm-core/lld-${PV} ) !default-lld? ( sys-devel/binutils ) " +# enforce flags on clang-runtime as well to aid transition +PDEPEND+=" + llvm-core/clang-runtime[default-compiler-rt?,default-libcxx?,default-lld?,llvm-libunwind?] +" IDEPEND=" !default-compiler-rt? ( sys-devel/gcc-config ) !default-libcxx? ( sys-devel/gcc-config )
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 794989dde6847773df9b7d263656e76f8313c35b Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 13:12:37 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 13:12:37 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794989dd llvm-core/clang-runtime: Backport per-slot configs to 20.1.0-r1 Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-20.1.0-r1.ebuild | 124 + .../clang-runtime/clang-runtime-20.1.0.ebuild | 31 -- 2 files changed, 124 insertions(+), 31 deletions(-) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.0-r1.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.0-r1.ebuild new file mode 100644 index ..2168a04b6406 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-20.1.0-r1.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2025 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/"; +S=${WORKDIR} + +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 + default-compiler-rt default-libcxx default-lld llvm-libunwind +" +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 ) +" + +_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
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 1d81cec818a31ee21188cf7ea833e2c1cb535a4b Author: Michał Górny gentoo org> AuthorDate: Mon Dec 30 11:44:24 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 13:05:15 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d81cec8 llvm-core/clang-runtime: Add USE=polly Closes: https://bugs.gentoo.org/715612 Signed-off-by: Michał Górny gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/39897 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild | 13 - llvm-core/clang-runtime/metadata.xml | 1 + 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild index 1cf7f46d4148..a28e9569b2e3 100644 --- a/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild @@ -13,7 +13,7 @@ LICENSE="metapackage" SLOT="${PV%%.*}" IUSE=" +compiler-rt libcxx offload openmp +sanitize - default-compiler-rt default-libcxx default-lld llvm-libunwind + default-compiler-rt default-libcxx default-lld llvm-libunwind polly " REQUIRED_USE=" sanitize? ( compiler-rt ) @@ -45,6 +45,7 @@ RDEPEND=" !default-libcxx? ( sys-devel/gcc ) default-lld? ( ~llvm-core/lld-${PV} ) !default-lld? ( sys-devel/binutils ) + polly? ( ~llvm-core/polly-${PV} ) " _doclang_cfg() { @@ -55,6 +56,7 @@ _doclang_cfg() { newins - "${tool}.cfg" <<-EOF # This configuration file is used by ${tool} driver. @../${tool}.cfg + @gentoo-plugins.cfg @gentoo-runtimes.cfg EOF done @@ -114,6 +116,15 @@ src_install() { --stdlib=$(usex default-libcxx libc++ libstdc++) -fuse-ld=$(usex default-lld lld bfd) 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/metadata.xml b/llvm-core/clang-runtime/metadata.xml index e7a356772fe4..b2327e075049 100644 --- a/llvm-core/clang-runtime/metadata.xml +++ b/llvm-core/clang-runtime/metadata.xml @@ -14,6 +14,7 @@ Use compiler-rt + libunwind instead of libgcc as the default rtlib for clang Use libc++ instead of libstdc++ as the default stdlib for clang Use lld as the default linker for clang + Load Polly plugin (you still need -mllvm -polly to use it) llvm/llvm-project
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 6db1f627fc5c7b1832cca6f5c9919553028ab7e4 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 29 16:31:08 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 13:05:14 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6db1f627 llvm-core/clang: Use per-slot config directories Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/clang-21.0.0..ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm-core/clang/clang-21.0.0..ebuild b/llvm-core/clang/clang-21.0.0..ebuild index 67e6515db8b5..88ffb1aca0b9 100644 --- a/llvm-core/clang/clang-21.0.0..ebuild +++ b/llvm-core/clang/clang-21.0.0..ebuild @@ -258,7 +258,7 @@ multilib_src_configure() { -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}/share/man" -DLLVM_ROOT="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" - -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang" + -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang/${LLVM_MAJOR}" -DCLANG_CONFIG_FILE_USER_DIR="~/.config/clang" # relative to bindir -DCLANG_RESOURCE_DIR="../../../../lib/clang/${LLVM_MAJOR}"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 48f104e91c85fe0f6642f17f8e0652e086f63b82 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 29 16:30:19 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 13:05:13 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48f104e9 llvm-core/clang-runtime: Install minimal per-slot configs Install per-slot config files. They include the top-level configs from llvm-core/clang-common and override runtimes. Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-21.0.0..ebuild | 95 +- llvm-core/clang-runtime/metadata.xml | 4 + 2 files changed, 96 insertions(+), 3 deletions(-) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild index 542c7b28a6f4..1cf7f46d4148 100644 --- a/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild @@ -3,15 +3,21 @@ EAPI=8 -inherit multilib-build +inherit multilib-build toolchain-funcs DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/"; +S=${WORKDIR} LICENSE="metapackage" SLOT="${PV%%.*}" -IUSE="+compiler-rt libcxx offload openmp +sanitize" -REQUIRED_USE="sanitize? ( compiler-rt )" +IUSE=" + +compiler-rt libcxx offload openmp +sanitize + default-compiler-rt default-libcxx default-lld llvm-libunwind +" +REQUIRED_USE=" + sanitize? ( compiler-rt ) +" RDEPEND=" compiler-rt? ( @@ -27,4 +33,87 @@ RDEPEND=" >=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 ) " + +_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-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. + + --rtlib=$(usex default-compiler-rt compiler-rt libgcc) + --unwindlib=$(usex default-compiler-rt libunwind libgcc) + --stdlib=$(usex default-libcxx libc++ libstdc++) + -fuse-ld=$(usex default-lld lld bfd) + EOF + + multilib_foreach_abi doclang_cfg +} diff --git a/llvm-core/clang-runtime/metadata.xml b/llvm-core/clang-runtime/meta
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: c3d33eb1bbd55236932a276f0ea735ed96814df5 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 10:01:28 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 10:12:50 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d33eb1 llvm-core/clang: Add keywords to 20.1.0 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/clang-20.1.0.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm-core/clang/clang-20.1.0.ebuild b/llvm-core/clang/clang-20.1.0.ebuild index 67e6515db8b5..5966f8deb0be 100644 --- a/llvm-core/clang/clang-20.1.0.ebuild +++ b/llvm-core/clang/clang-20.1.0.ebuild @@ -16,7 +16,8 @@ HOMEPAGE="https://llvm.org/"; LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~x64-macos" +IUSE="debug doc +extra ieee-long-double +pie +static-analyzer test xml" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 3ba71127545c28b8c4ba1e45c86240ee023353b4 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 10:01:43 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 10:13:03 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ba71127 llvm-core/clang-runtime: Add keywords to 20.1.0 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-runtime/clang-runtime-20.1.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.0.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.0.ebuild index 542c7b28a6f4..da17e274d8da 100644 --- a/llvm-core/clang-runtime/clang-runtime-20.1.0.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-20.1.0.ebuild @@ -10,6 +10,7 @@ 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 )"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-toolchain-symlinks/
commit: 64eaff99348f8d24a8601faa6d64555e30d4c20c Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 10:01:29 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 10:12:51 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64eaff99 llvm-core/clang-toolchain-symlinks: Add keywords to 20.1.0 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-toolchain-symlinks/clang-toolchain-symlinks-20.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm-core/clang-toolchain-symlinks/clang-toolchain-symlinks-20.ebuild b/llvm-core/clang-toolchain-symlinks/clang-toolchain-symlinks-20.ebuild index 095b2a41cf3d..472dcb82a70a 100644 --- a/llvm-core/clang-toolchain-symlinks/clang-toolchain-symlinks-20.ebuild +++ b/llvm-core/clang-toolchain-symlinks/clang-toolchain-symlinks-20.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -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 ~x64-macos" IUSE="gcc-symlinks multilib-symlinks +native-symlinks" # Blocker for bug #872416
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 4bfb613114935f7603b6f4b4741594434d5e79f8 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 10:01:27 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 10:12:50 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bfb6131 llvm-core/clang-common: Add keywords to 20.1.0 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/clang-common-20.1.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm-core/clang-common/clang-common-20.1.0.ebuild b/llvm-core/clang-common/clang-common-20.1.0.ebuild index 1fde60b6b6de..75e1c18f7d3d 100644 --- a/llvm-core/clang-common/clang-common-20.1.0.ebuild +++ b/llvm-core/clang-common/clang-common-20.1.0.ebuild @@ -10,6 +10,7 @@ HOMEPAGE="https://llvm.org/"; LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE=" default-compiler-rt default-libcxx default-lld bootstrap-prefix cet hardened llvm-libunwind
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 5216dff57b385c4fa95954a2779b4d68236cb473 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 06:13:16 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 06:13:16 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5216dff5 llvm-core/clang-common: Add 20.1.0 (unkeyworded) Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest | 2 + llvm-core/clang-common/clang-common-20.1.0.ebuild | 310 ++ 2 files changed, 312 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index ac04024fa9ce..8a431bbbdf48 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -12,5 +12,7 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 +DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 +DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442 DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f diff --git a/llvm-core/clang-common/clang-common-20.1.0.ebuild b/llvm-core/clang-common/clang-common-20.1.0.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-20.1.0.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 0a1907da9f92f6cb934704341a759a2dd28bf5a2 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 06:13:38 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 06:13:38 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1907da llvm-core/clang-runtime: Add 20.1.0 (unkeyworded) Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-20.1.0.ebuild | 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.0.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.0.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-20.1.0.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 7f2bc5e352b2c79b3b21ee61c293df6e2fcc9f98 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 5 06:13:18 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Mar 5 06:13:18 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f2bc5e3 llvm-core/clang: Add 20.1.0 (unkeyworded) Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 2 + llvm-core/clang/clang-20.1.0.ebuild | 464 2 files changed, 466 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 71bf72732764..526a4d4e9201 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -21,5 +21,7 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 +DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 +DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442 DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f diff --git a/llvm-core/clang/clang-20.1.0.ebuild b/llvm-core/clang/clang-20.1.0.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-20.1.0.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +#
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: b7daf906f085bc59c14ce2c22b46bc9171ae9956 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 1 12:56:29 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 1 12:58:34 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7daf906 llvm-core/clang-runtime: Add 21.0.0_pre20250301 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-21.0.0_pre20250301.ebuild| 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250301.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250301.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250301.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: b4cd3dcd03f0a5037cdf3635ea2361a12ee1b8da Author: Michał Górny gentoo org> AuthorDate: Sat Mar 1 12:56:13 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 1 12:58:22 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4cd3dcd llvm-core/clang: Add 21.0.0_pre20250301 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 + llvm-core/clang/clang-21.0.0_pre20250301.ebuild | 464 2 files changed, 465 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index f1caee58f883..71bf72732764 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -21,4 +21,5 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 +DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442 DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f diff --git a/llvm-core/clang/clang-21.0.0_pre20250301.ebuild b/llvm-core/clang/clang-21.0.0_pre20250301.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-21.0.0_pre20250301.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +#target. However, you will need appropriate crt* files (installed +#e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always installed for all ABIs included +#in the current profile (i.e. alike supported by sys-devel/gcc). +# +# Therefore: use llvm-core/clang[${MULTILIB_USEDEP}] only if you need +# multilib clang* libraries (not runtime, not wrappers). + +src_prepare() { + # create extra parent dir for relative CLANG_RESOURCE_DIR access + mkdir -p x/y || die +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: abfb2e6eaea73b3b2a0723dfacfa7882ccc35e07 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 1 12:56:12 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 1 12:58:21 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abfb2e6e llvm-core/clang-common: Add 21.0.0_pre20250301 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 1 + .../clang-common-21.0.0_pre20250301.ebuild | 310 + 2 files changed, 311 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index a2f41e0a436d..ac04024fa9ce 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -12,4 +12,5 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 +DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442 DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f diff --git a/llvm-core/clang-common/clang-common-21.0.0_pre20250301.ebuild b/llvm-core/clang-common/clang-common-21.0.0_pre20250301.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-21.0.0_pre20250301.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on llvm-core/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on llvm-core/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " llvm-core/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1." +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: cc168e867cad22b3a00f5f300f45a4c65e3c460b Author: Michał Górny gentoo org> AuthorDate: Sat Mar 1 08:32:58 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 1 08:32:58 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc168e86 llvm-core/clang-runtime: Remove old Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-20.1.0_rc2.ebuild | 30 -- .../clang-runtime-21.0.0_pre20250211.ebuild| 30 -- .../clang-runtime-21.0.0_pre20250215.ebuild| 30 -- .../clang-runtime-21.0.0_pre20250221.ebuild| 30 -- 4 files changed, 120 deletions(-) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.0_rc2.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.0_rc2.ebuild deleted file mode 100644 index 542c7b28a6f4.. --- a/llvm-core/clang-runtime/clang-runtime-20.1.0_rc2.ebuild +++ /dev/null @@ -1,30 +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%%.*}" -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-21.0.0_pre20250211.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250211.ebuild deleted file mode 100644 index 542c7b28a6f4.. --- a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250211.ebuild +++ /dev/null @@ -1,30 +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%%.*}" -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-21.0.0_pre20250215.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250215.ebuild deleted file mode 100644 index 542c7b28a6f4.. --- a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250215.ebuild +++ /dev/null @@ -1,30 +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%%.*}" -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-21.0.0_pre20250221.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250221.ebuild deleted file mode 100644 index 542c7b28a6f4.. --- a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250221.ebuild +++ /dev/null @@ -1,30 +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%%.*}" -IUSE="+compiler-rt l
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 4bad14a236f9f2e202a76c08b6425a69b14e496c Author: Michał Górny gentoo org> AuthorDate: Sat Mar 1 08:32:40 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 1 08:32:40 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bad14a2 llvm-core/clang: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 5 - llvm-core/clang/clang-20.1.0_rc2.ebuild | 464 llvm-core/clang/clang-21.0.0_pre20250211.ebuild | 464 llvm-core/clang/clang-21.0.0_pre20250215.ebuild | 464 llvm-core/clang/clang-21.0.0_pre20250221.ebuild | 464 5 files changed, 1861 deletions(-) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index f82e59025852..f1caee58f883 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -19,11 +19,6 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d22 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda -DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb -DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 -DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b -DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 -DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f diff --git a/llvm-core/clang/clang-20.1.0_rc2.ebuild b/llvm-core/clang/clang-20.1.0_rc2.ebuild deleted file mode 100644 index 67e6515db8b5.. --- a/llvm-core/clang/clang-20.1.0_rc2.ebuild +++ /dev/null @@ -1,464 +0,0 @@ -# Copyright 1999-2025 Gentoo Author
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 5774ecd3c4d3c30c28f59bcc07c4fc283822d054 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 1 08:32:39 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 1 08:32:39 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5774ecd3 llvm-core/clang-common: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 5 - .../clang-common/clang-common-20.1.0_rc2.ebuild| 310 - .../clang-common-21.0.0_pre20250211.ebuild | 310 - .../clang-common-21.0.0_pre20250215.ebuild | 310 - .../clang-common-21.0.0_pre20250221.ebuild | 310 - 5 files changed, 1245 deletions(-) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index 45ff16194666..a2f41e0a436d 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -10,11 +10,6 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d22 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda -DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb -DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 -DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b -DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 -DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f diff --git a/llvm-core/clang-common/clang-common-20.1.0_rc2.ebuild b/llvm-core/clang-common/clang-common-20.1.0_rc2.ebuild deleted file mode 100644 index 1fde60b6b6de.. --- a/llvm-core/clang-common/clang-common-20.1.0
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 55255c82bd3a811eef3ea7323863537632e4ca9b Author: Michał Górny gentoo org> AuthorDate: Wed Feb 26 18:51:10 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Feb 26 18:55:13 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55255c82 llvm-core/clang: Add 20.1.0_rc3 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 2 + llvm-core/clang/clang-20.1.0_rc3.ebuild | 464 2 files changed, 466 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 65e377e89370..f82e59025852 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -21,6 +21,8 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce +DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c +DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb diff --git a/llvm-core/clang/clang-20.1.0_rc3.ebuild b/llvm-core/clang/clang-20.1.0_rc3.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-20.1.0_rc3.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 53347446b2f6dab38468438ec55803bf710ca780 Author: Michał Górny gentoo org> AuthorDate: Wed Feb 26 18:51:25 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Feb 26 18:55:25 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53347446 llvm-core/clang-runtime: Add 20.1.0_rc3 Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-20.1.0_rc3.ebuild | 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.0_rc3.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.0_rc3.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-20.1.0_rc3.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: fc8481f042be70fe32f6f8a53e86b98720236ffc Author: Michał Górny gentoo org> AuthorDate: Wed Feb 26 18:51:09 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Feb 26 18:55:12 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc8481f0 llvm-core/clang-common: Add 20.1.0_rc3 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 2 + .../clang-common/clang-common-20.1.0_rc3.ebuild| 310 + 2 files changed, 312 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index 8a453d62c389..45ff16194666 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -12,6 +12,8 @@ DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818bef DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce +DIST llvm-project-20.1.0-rc3.src.tar.xz 147194560 BLAKE2B 888764927782b01e968c9ec326315375c6b1050d3852c7ebe7fbd06b3b4052307162f77a76f1e8976879178116ea909c581b8d1ee99dc7a4c5368b01d5597d23 SHA512 9de97104681de9c8039f03e94adc25fe1765280f826342fb4f616266aa0e4afe63db09a8cc3458252d8b2834e4efb2d17ed0226c62c7bb06d948ba8172ee078c +DIST llvm-project-20.1.0-rc3.src.tar.xz.sig 566 BLAKE2B 411ad085c3ab83c1599d110d93a9279206885a01e4748b8ac015a9a94b89fe25c35eab38b213cafb7f733be03826ffc4a01eb52788e2742d44d41a487aff2e26 SHA512 53c5aaa963e883ff06ac7ec9b821dcc4476b79f5be0169667843b18cd8836e8993856a045f2aab23bc77faefc2983fd822cfb1219d5644cec67132d647c877d8 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb diff --git a/llvm-core/clang-common/clang-common-20.1.0_rc3.ebuild b/llvm-core/clang-common/clang-common-20.1.0_rc3.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-20.1.0_rc3.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 54fe7da471c722375eb137533ebf9387674c2efe Author: Michał Górny gentoo org> AuthorDate: Tue Feb 25 12:50:25 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 25 14:03:18 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54fe7da4 llvm-core/clang-runtime: Add 21.0.0_pre20250225 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-21.0.0_pre20250225.ebuild| 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250225.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250225.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250225.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: d5459368fb2edc9e131c8283de14b80ea7634842 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 25 12:50:09 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 25 14:03:05 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5459368 llvm-core/clang-common: Add 21.0.0_pre20250225 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 1 + .../clang-common-21.0.0_pre20250225.ebuild | 310 + 2 files changed, 311 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index f14cc7e05032..8a453d62c389 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -15,3 +15,4 @@ DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb +DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f diff --git a/llvm-core/clang-common/clang-common-21.0.0_pre20250225.ebuild b/llvm-core/clang-common/clang-common-21.0.0_pre20250225.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-21.0.0_pre20250225.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on llvm-core/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on llvm-core/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " llvm-core/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1." + die "Mismatched defaults detected between llvm-core/clang and llvm-core/clang-common" + fi +} + +_doclang_cfg() { + local triple="${1}" + + local tool + for tool in ${triple}-clang{,++}; do + newins - "${tool}.cf
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 76eceb5e5a778339d751ee94b0be776fbd8079fc Author: Michał Górny gentoo org> AuthorDate: Tue Feb 25 12:50:10 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 25 14:03:05 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76eceb5e llvm-core/clang: Add 21.0.0_pre20250225 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 + llvm-core/clang/clang-21.0.0_pre20250225.ebuild | 464 2 files changed, 465 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index f21ddbee480e..65e377e89370 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -24,3 +24,4 @@ DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5 DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb +DIST llvm-project-d254fa877f419e61e54709f0a6f2e891da893a60.tar.gz 228028122 BLAKE2B 3321f3b205dfcd672d52122d7ba8e4e737916e01f5041a0dc140722f64359476632e036da0e0692cd366b080a073292cfdb4963e973bf800afabc20d06a2e86b SHA512 135c4864973b682cf41953d43d977eaa219a4a898fceb4b4a8cacbbc6a5dd271d26010b1db6c6c90e761bf3495036f3e7528ab259d48c9c4dc4a064332c0326f diff --git a/llvm-core/clang/clang-21.0.0_pre20250225.ebuild b/llvm-core/clang/clang-21.0.0_pre20250225.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-21.0.0_pre20250225.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +#target. However, you will need appropriate crt* files (installed +#e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always installed for all ABIs included +#in the current profile (i.e. alike supported by sys-devel/gcc). +# +# Therefore: use llvm-core/clang[${MULTILIB_USEDEP}] only if you need +# multilib clang* libraries (not runtime, not wrappers). + +src_prepare() { + # create extra parent dir for relative CLANG_RESOURCE_DIR access + mkdir -p x/y || die + BUILD_DIR=${WORKDIR}/x/y/clang + + llvm.org_src_prepare + + # add Gentoo Portage Prefix for Darwin (see prefix-dirs.patch) + eprefixify \ + lib/Lex/InitHeaderSearch.cpp \ + lib/Driver/ToolChains/Darwin.cpp || die +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 5f777a8fd79f4c286248157f5e47397784e26836 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 22 15:10:13 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 22 15:19:19 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f777a8f llvm-core/clang-runtime: Add 21.0.0_pre20250221 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-21.0.0_pre20250221.ebuild| 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250221.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250221.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250221.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 2f50b4b3b71638eae38f676233ac272910a7beb6 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 22 15:09:58 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 22 15:19:07 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f50b4b3 llvm-core/clang: Add 21.0.0_pre20250221 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 + llvm-core/clang/clang-21.0.0_pre20250221.ebuild | 464 2 files changed, 465 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 68abbbac2ff2..f21ddbee480e 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -22,4 +22,5 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b +DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb diff --git a/llvm-core/clang/clang-21.0.0_pre20250221.ebuild b/llvm-core/clang/clang-21.0.0_pre20250221.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-21.0.0_pre20250221.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +#target. However, you will need appropriate crt* files (installed +#e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always installed for all ABIs included +#in the current profile (i.e. alike supported by sys-devel/gcc). +# +# Therefore: use llvm-core/clang[${MULTILIB_USEDEP}] only if you need +# multilib clang* libraries (not runtime, not wrappers). + +src_prepare() { + # create extra parent dir for relative CLANG_RESOURCE_DIR acces
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: f4a579aaacd39280984f159b88cc929db992693e Author: Michał Górny gentoo org> AuthorDate: Sat Feb 22 15:09:57 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 22 15:19:06 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a579aa llvm-core/clang-common: Add 21.0.0_pre20250221 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 1 + .../clang-common-21.0.0_pre20250221.ebuild | 310 + 2 files changed, 311 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index 9755f1e011a6..f14cc7e05032 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -13,4 +13,5 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b +DIST llvm-project-581599096e8a1a89ccd3e053a1209c69a9079083.tar.gz 227830555 BLAKE2B 28a04dd5ce96716d389fe049c4b877f55d6e5cad5c77d8867dd7e3a448213ef413e4f4d7d5f77b0702b26a8eb25f53e08d90e2a5a97eaa3f89245531d9f6626d SHA512 d775aea9bf71d60673e966a689ff6b933afecab2c133a1f64a158551ba9db049221148eab5087bab0ce0ff917456b85fb4ea4d7284886326f54617d167a385a5 DIST llvm-project-c30a7f459452d5766da244564bc1d5888346c364.tar.gz 227560986 BLAKE2B c1c833aa6d488530826d96db81ca8be2fcf842ccf5b10a65ff18269fdfa32fa2742fb0a547eb315c2a9ee383e1b6b6cce4a78136e1740e04d322c79fb6a66a86 SHA512 0b68d3462e5eac89f50cff5e64603758ab74c701ff2de88c8569dd45b7e702b5d13b26c2745615c0c355d46d13765f47e4d43e61cde735240c6f386c0090becb diff --git a/llvm-core/clang-common/clang-common-21.0.0_pre20250221.ebuild b/llvm-core/clang-common/clang-common-21.0.0_pre20250221.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-21.0.0_pre20250221.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on llvm-core/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on llvm-core/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " llvm-core/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLA
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: be0350b5ff44c29c394fda82687c486515abbee6 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 15 10:08:53 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 15 11:29:46 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0350b5 llvm-core/clang-runtime: Add 21.0.0_pre20250215 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-21.0.0_pre20250215.ebuild| 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250215.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250215.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250215.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 82d51dd84a8302a73a9a922bda6ea762faf30915 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 15 07:18:06 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 15 07:18:06 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d51dd8 llvm-core/clang: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 5 - llvm-core/clang/clang-20.0.0_pre20250125.ebuild | 464 llvm-core/clang/clang-20.1.0_rc1.ebuild | 464 llvm-core/clang/clang-21.0.0_pre20250201.ebuild | 464 llvm-core/clang/clang-21.0.0_pre20250208.ebuild | 464 5 files changed, 1861 deletions(-) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index e7b4aa677704..cacc7c44590c 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -19,11 +19,6 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d22 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda -DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac -DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 -DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b -DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 -DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang/clang-20.0.0_pre20250125.ebuild b/llvm-core/clang/clang-20.0.0_pre20250125.ebuild deleted file mode 100644 index 67e6515db8b5.. --- a/llvm-core/clang/clang-20.0.0_pre20250125.ebuild +++ /dev/null @@ -1,464 +0,0 @@ -# Copyright
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 41778dfdd4e5e429b8e9caac8971d276e148acf0 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 15 07:18:07 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 15 07:18:07 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41778dfd llvm-core/clang-common: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 5 - .../clang-common-20.0.0_pre20250125.ebuild | 310 - .../clang-common/clang-common-20.1.0_rc1.ebuild| 310 - .../clang-common-21.0.0_pre20250201.ebuild | 310 - .../clang-common-21.0.0_pre20250208.ebuild | 310 - 5 files changed, 1245 deletions(-) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index e2345ea11956..8af079707d77 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -10,11 +10,6 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d22 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda -DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac -DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 -DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b -DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 -DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang-common/clang-common-20.0.0_pre20250125.ebuild b/llvm-core/clang-common/clang-common-20.0.0_pre20250125.ebuild deleted file mode 100644 index 1fde60b6b6de.. --- a/llvm-core/clang-common/cla
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 8a7d5a8c367c0682ce64e4a582ca50d9c2ecf571 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 15 07:17:47 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 15 07:17:47 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a7d5a8c llvm-core/clang-runtime: Remove old Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-20.0.0_pre20250125.ebuild| 30 -- .../clang-runtime/clang-runtime-20.1.0_rc1.ebuild | 30 -- .../clang-runtime-21.0.0_pre20250201.ebuild| 30 -- .../clang-runtime-21.0.0_pre20250208.ebuild| 30 -- 4 files changed, 120 deletions(-) diff --git a/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250125.ebuild b/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250125.ebuild deleted file mode 100644 index 542c7b28a6f4.. --- a/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250125.ebuild +++ /dev/null @@ -1,30 +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%%.*}" -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.0_rc1.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.0_rc1.ebuild deleted file mode 100644 index 542c7b28a6f4.. --- a/llvm-core/clang-runtime/clang-runtime-20.1.0_rc1.ebuild +++ /dev/null @@ -1,30 +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%%.*}" -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-21.0.0_pre20250201.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250201.ebuild deleted file mode 100644 index 542c7b28a6f4.. --- a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250201.ebuild +++ /dev/null @@ -1,30 +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%%.*}" -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-21.0.0_pre20250208.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250208.ebuild deleted file mode 100644 index 542c7b28a6f4.. --- a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250208.ebuild +++ /dev/null @@ -1,30 +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%%.*}" -IUSE="+compiler-rt l
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 38d155973240f3724fe824d5e89eaf82426c2f0e Author: Michał Górny gentoo org> AuthorDate: Thu Feb 13 07:48:12 2025 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 13 07:53:07 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38d15597 llvm-core/clang-runtime: Add 20.1.0_rc2 Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-20.1.0_rc2.ebuild | 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.0_rc2.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.0_rc2.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-20.1.0_rc2.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 8f6e9ff8472bc95f476b5742c18d1b9570693218 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 13 07:47:56 2025 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 13 07:52:53 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f6e9ff8 llvm-core/clang-common: Add 20.1.0_rc2 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 2 + .../clang-common/clang-common-20.1.0_rc2.ebuild| 310 + 2 files changed, 312 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index 04bfb25ffdfc..e2345ea11956 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -13,6 +13,8 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c +DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb +DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang-common/clang-common-20.1.0_rc2.ebuild b/llvm-core/clang-common/clang-common-20.1.0_rc2.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-20.1.0_rc2.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: cbddbc036c8ea23d9534554e1169382d115bf5ef Author: Michał Górny gentoo org> AuthorDate: Thu Feb 13 07:47:57 2025 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 13 07:52:54 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbddbc03 llvm-core/clang: Add 20.1.0_rc2 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 2 + llvm-core/clang/clang-20.1.0_rc2.ebuild | 464 2 files changed, 466 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index eabbd80419b2..e7b4aa677704 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -22,6 +22,8 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c +DIST llvm-project-20.1.0-rc2.src.tar.xz 147160684 BLAKE2B 6adc1226f022272d78fb0ed361c190d369a2afc53bf868409fe8f4e092d5ffb9894c71870f072bb68162610782f48088468b4a49cdb1bc731d6689c791a5b5e3 SHA512 f303deaec8f25e1b122a7e85df192b6ea10c51472b78a3d14ad9d0b976a533cfbb9164aff0bc99e447e30938cf43363552c5493b4693e1f23291ea7a9b824bbb +DIST llvm-project-20.1.0-rc2.src.tar.xz.sig 566 BLAKE2B aa91f7be228e51b0f2234bb5e0df173e3ddc90b6db4350a9008c2f8ba53220da6eef0c69778aecac3caecf918a0c54a0d910177ffe7643ad7fc5624a97262b7f SHA512 e5563a8a79b5e9ef26d62dc6d4385c1c86d12a652b4b1e7fc9ce45a2ea66e5118112746a61b439823bf99d65aea82285eabf5e07714eec77e6e5cd02feab82ce DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang/clang-20.1.0_rc2.ebuild b/llvm-core/clang/clang-20.1.0_rc2.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-20.1.0_rc2.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +)
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: f2390c37778529fbe9f6c61f3ca03ba5e4176d14 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 11 10:56:59 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 11 11:29:47 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2390c37 llvm-core/clang-runtime: Add 21.0.0_pre20250211 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-21.0.0_pre20250211.ebuild| 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250211.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250211.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250211.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: b5440ae325f2d8c2eff67d6f687525aac03d262f Author: Michał Górny gentoo org> AuthorDate: Tue Feb 11 10:56:45 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 11 11:29:35 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5440ae3 llvm-core/clang: Add 21.0.0_pre20250211 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 + llvm-core/clang/clang-21.0.0_pre20250211.ebuild | 464 2 files changed, 465 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 3869e127708a..eabbd80419b2 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -22,5 +22,6 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c +DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang/clang-21.0.0_pre20250211.ebuild b/llvm-core/clang/clang-21.0.0_pre20250211.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-21.0.0_pre20250211.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +#target. However, you will need appropriate crt* files (installed +#e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHO
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: a7b434fdedac58a52487d282ae72587fe87a89c8 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 11 10:56:44 2025 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 11 11:29:35 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7b434fd llvm-core/clang-common: Add 21.0.0_pre20250211 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 1 + .../clang-common-21.0.0_pre20250211.ebuild | 310 + 2 files changed, 311 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index fb9676abc4b1..04bfb25ffdfc 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -13,5 +13,6 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c +DIST llvm-project-2cd8207b26ea4269630feba661f68554d7ae3c15.tar.gz 227261597 BLAKE2B 51ce992b651fcf08b7fd520420040803b59f1260947953325400c50bec576c418b162d8ae2d2307e70b885b1185c302a97409bcfe48cdb14b8e1384f4e2dfa9e SHA512 a41749943508ea4a18b47c4e947917b5268544e64372c0c3347f9ab8172a2c229d8b1d813d1e842be1b98aedd624524857ed3bb23fe98ad5f36e7a71581abb4b DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang-common/clang-common-21.0.0_pre20250211.ebuild b/llvm-core/clang-common/clang-common-21.0.0_pre20250211.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-21.0.0_pre20250211.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on llvm-core/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: ac90db7bc7ed417d3d3d33fa5a024891c60d2ea9 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 8 11:49:05 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 8 11:49:05 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac90db7b llvm-core/clang-runtime: Add 21.0.0_pre20250208 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-21.0.0_pre20250208.ebuild| 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250208.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250208.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250208.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 9a5ebdb5e64fbac12bf2664f72ac49e618d8cfa7 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 8 11:48:46 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 8 11:48:46 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a5ebdb5 llvm-core/clang-common: Add 21.0.0_pre20250208 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 1 + .../clang-common-21.0.0_pre20250208.ebuild | 310 + 2 files changed, 311 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index 07b84607805e..fb9676abc4b1 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -13,4 +13,5 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c +DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang-common/clang-common-21.0.0_pre20250208.ebuild b/llvm-core/clang-common/clang-common-21.0.0_pre20250208.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-21.0.0_pre20250208.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on llvm-core/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on llvm-core/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " llvm-core/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLA
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: f81e48654da2549fb2d6b32743ba2e2aaf345bea Author: Michał Górny gentoo org> AuthorDate: Sat Feb 8 11:48:47 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 8 11:48:47 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f81e4865 llvm-core/clang: Add 21.0.0_pre20250208 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 + llvm-core/clang/clang-21.0.0_pre20250208.ebuild | 464 2 files changed, 465 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index f2b7f23a295d..3869e127708a 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -22,4 +22,5 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c +DIST llvm-project-6f241e36831927e3aea113cfc017c34fdeda340a.tar.gz 227203285 BLAKE2B 8d5e424c1836acc82ea766cd2cef104593c44d197ebeb64f18dbe74b1b5baeb4bc84084f5b68bd87ac36f7df25689dd2522cb6674a97da4f96f4f10f7bae5b06 SHA512 2b6e4bd6445eabfa3ace9b45d20797c7afc23f4553a8938399aeba227e3b8ca6a53a7d7762925a845bfed031c37af692b9c08180fbab80db2f3166940e560077 DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang/clang-21.0.0_pre20250208.ebuild b/llvm-core/clang/clang-21.0.0_pre20250208.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-21.0.0_pre20250208.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +#target. However, you will need appropriate crt* files (installed +#e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always installed for all ABIs included +#in the current profile (i.e. alike supported by sys-devel/gcc). +# +# Therefore: use llvm-core/clang[${MULTILIB_USEDEP}] only if you need +# multilib clang* libraries (not runtime, not wrappers). + +src_prepare() { + # create extra parent dir for relative CLANG_RESOURCE_DIR acces
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: a8cfbab26b727b950293453a4ab51969365a3672 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Feb 7 20:07:46 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Feb 7 20:07:46 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8cfbab2 llvm-core/clang: Stabilize 19.1.7 arm64, #946879 Signed-off-by: Arthur Zamarin gentoo.org> llvm-core/clang/clang-19.1.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm-core/clang/clang-19.1.7.ebuild b/llvm-core/clang/clang-19.1.7.ebuild index c7ee638ea204..159bb5f5a0c9 100644 --- a/llvm-core/clang/clang-19.1.7.ebuild +++ b/llvm-core/clang/clang-19.1.7.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://llvm.org/"; LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~x64-macos" IUSE="debug doc +extra ieee-long-double +pie +static-analyzer test xml" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 9143541642d769b86574083bcf9d60672368d4be Author: Arthur Zamarin gentoo org> AuthorDate: Fri Feb 7 20:07:48 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Feb 7 20:07:48 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91435416 llvm-core/clang-runtime: Stabilize 19.1.7 arm64, #946879 Signed-off-by: Arthur Zamarin gentoo.org> llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild index 06b0eb087d65..d31ababa850b 100644 --- a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild @@ -10,7 +10,7 @@ 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" +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 )"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 6407299b60da6c0452813df3414580e8e666cd5e Author: Arthur Zamarin gentoo org> AuthorDate: Fri Feb 7 20:07:46 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Feb 7 20:07:46 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6407299b llvm-core/clang-common: Stabilize 19.1.7 arm64, #946879 Signed-off-by: Arthur Zamarin gentoo.org> llvm-core/clang-common/clang-common-19.1.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 df9e15f205b8..73c6ae9644a5 100644 --- a/llvm-core/clang-common/clang-common-19.1.7.ebuild +++ b/llvm-core/clang-common/clang-common-19.1.7.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://llvm.org/"; LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE=" default-compiler-rt default-libcxx default-lld bootstrap-prefix cet hardened llvm-libunwind
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 153c36b4233990a48fd5a2a75df21a605c40d7db Author: Arthur Zamarin gentoo org> AuthorDate: Fri Feb 7 20:07:39 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Feb 7 20:07:39 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=153c36b4 llvm-core/clang-runtime: Stabilize 19.1.7 amd64, #946879 Signed-off-by: Arthur Zamarin gentoo.org> llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild index efd4ebfbadee..06b0eb087d65 100644 --- a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild @@ -10,7 +10,7 @@ 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" +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 )"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: f97f4731986e21c9456a697bc1608cc3dd1e51dc Author: Michał Górny gentoo org> AuthorDate: Sun Feb 2 15:58:59 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Feb 2 18:25:15 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97f4731 llvm-core/clang-runtime: Add 20.1.0_rc1 Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-20.1.0_rc1.ebuild | 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-20.1.0_rc1.ebuild b/llvm-core/clang-runtime/clang-runtime-20.1.0_rc1.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-20.1.0_rc1.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: fbf3e55149d56e9d72bd155b56c1c16623c41ff7 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 2 15:58:45 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Feb 2 18:25:03 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf3e551 llvm-core/clang: Add 20.1.0_rc1 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 2 + llvm-core/clang/clang-20.1.0_rc1.ebuild | 464 2 files changed, 466 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 34710fbc844c..f2b7f23a295d 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -20,4 +20,6 @@ DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e2 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac +DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 +DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang/clang-20.1.0_rc1.ebuild b/llvm-core/clang/clang-20.1.0_rc1.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-20.1.0_rc1.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +#target. However, you will need appropriate crt* files (installed +#e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always installed for all ABIs included +#in the current profile (i.e. alike supported
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: bef187267308926834bc1e8882a17cd6a2d037fd Author: Michał Górny gentoo org> AuthorDate: Sun Feb 2 15:58:44 2025 + Commit: Michał Górny gentoo org> CommitDate: Sun Feb 2 18:25:03 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef18726 llvm-core/clang-common: Add 20.1.0_rc1 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 2 + .../clang-common/clang-common-20.1.0_rc1.ebuild| 310 + 2 files changed, 312 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index 792d107b0e7e..07b84607805e 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -11,4 +11,6 @@ DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e2 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac +DIST llvm-project-20.1.0-rc1.src.tar.xz 147144668 BLAKE2B ea4733962f38ea5897c73e91840818921739909c3671749bc8a0b1d2798e5a0815bbe750ade3a2a7414836ab7158754818b2f9370a4ee1bbbd52c96b1e95ef9b SHA512 c23c4b1227b6b0b7c3059358e64a00ee98893236bb1a0a41d7e821bdf2aa8353aea8f9f7b9498899c6807b9b8e2ceb06c3cd62e32fd07a786a319135055541b4 +DIST llvm-project-20.1.0-rc1.src.tar.xz.sig 566 BLAKE2B 32eb278ec4ff1bb9d258b584922b0d227f4126a957ba75af44dcaa63b6a12ef73db56d6a86f24244af47803ddf6a243149d784f08137cbea60b49700be537705 SHA512 d7a334326201f8ca78284b33c325f180538667a0401bc30931e790aacc96dd78f6559c45929b6c335d40ef1dbe772738c0ce55d881ae3d7401733778b485408c DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang-common/clang-common-20.1.0_rc1.ebuild b/llvm-core/clang-common/clang-common-20.1.0_rc1.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-20.1.0_rc1.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on llvm-core/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on llvm-core/clang-common." + eerror "The build is being aborted to prevent breakag
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 762160bca7071e2a52b95920a57dfad8c84d304c Author: Michał Górny gentoo org> AuthorDate: Sat Feb 1 13:12:41 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 1 13:14:43 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=762160bc llvm-core/clang: Add 21.0.0_pre20250201 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 + llvm-core/clang/clang-21.0.0_pre20250201.ebuild | 464 2 files changed, 465 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 7781becc962b..34710fbc844c 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -20,3 +20,4 @@ DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e2 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac +DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang/clang-21.0.0_pre20250201.ebuild b/llvm-core/clang/clang-21.0.0_pre20250201.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-21.0.0_pre20250201.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +#target. However, you will need appropriate crt* files (installed +#e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always installed for all ABIs included +#in the current profile (i.e. alike supported by sys-devel/gcc). +# +# Therefore: use llvm-core/clang[${MULTILIB_USEDEP}] only if you need +# multilib clang* libraries (not runtime, not wrappers). + +src_prepare() { + # create extra parent dir for relative CLANG_RESOURCE_DIR access + mkdir -p x/y || die + BUILD_DIR=${WORKDIR}/x/y/clang + + llvm.org_src_prepare + + # add Gentoo Portage Prefix for Darwin (see prefix-dirs.patch) + eprefixify \ + lib/Lex/InitHeaderSearch.cpp \ + lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: fe3fe92eb990dd249430f6ee1f80bc34e04c321f Author: Michał Górny gentoo org> AuthorDate: Sat Feb 1 13:12:58 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 1 13:14:54 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe3fe92e llvm-core/clang-runtime: Add 21.0.0_pre20250201 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-21.0.0_pre20250201.ebuild| 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250201.ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250201.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0_pre20250201.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 164e0e14f19afca34d8ebb58165cea4ba61ba8e9 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 1 13:12:40 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 1 13:14:42 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164e0e14 llvm-core/clang-common: Add 21.0.0_pre20250201 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 1 + .../clang-common-21.0.0_pre20250201.ebuild | 310 + 2 files changed, 311 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index 508a179f4fc9..792d107b0e7e 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -11,3 +11,4 @@ DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e2 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac +DIST llvm-project-bfa7edcc6652bdb37d53e0cec64926aab3f280eb.tar.gz 226735989 BLAKE2B 165837dc526e618b44c49d5fa3dceda373452e010a09746bff248903fe77874637d05ab9f5d2f63de7ebce5c14e3b19a131313a4a557adfd20fe9cb93ab60476 SHA512 e9e19176fcf1302727ee34d69eaa820b94959d64ceaf754d8a93ebd5e262cec7fe35e87b08f705b09e42c3ea26b671318eecf10e9137c635b12f481f80fbac23 diff --git a/llvm-core/clang-common/clang-common-21.0.0_pre20250201.ebuild b/llvm-core/clang-common/clang-common-21.0.0_pre20250201.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-21.0.0_pre20250201.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on llvm-core/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on llvm-core/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " llvm-core/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1." + die "Mismatched defaults detected between llvm-core/clang and llvm-core/clang-common" + fi +} + +_doclang_cfg() { + local triple="${1}" + + local tool + for tool in ${triple}-clang{,++}; do + newins - "${tool}.cfg" <<-EOF + # This configuration file is u
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 4cda1f4a9dbb02d995dbbf069ba4c8f20beedcdb Author: Michał Górny gentoo org> AuthorDate: Sat Feb 1 07:59:11 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 1 08:05:41 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cda1f4a llvm-core/clang: main is now 21* Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/{clang-20.0.0..ebuild => clang-21.0.0..ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/llvm-core/clang/clang-20.0.0..ebuild b/llvm-core/clang/clang-21.0.0..ebuild similarity index 100% rename from llvm-core/clang/clang-20.0.0..ebuild rename to llvm-core/clang/clang-21.0.0..ebuild
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-toolchain-symlinks/
commit: ab884c8cc94facf5661db1e274db78188167651e Author: Michał Górny gentoo org> AuthorDate: Sat Feb 1 07:59:12 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 1 08:05:42 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab884c8c llvm-core/clang-toolchain-symlinks: main is now 21* Signed-off-by: Michał Górny gentoo.org> .../clang-toolchain-symlinks-21.ebuild | 58 ++ 1 file changed, 58 insertions(+) diff --git a/llvm-core/clang-toolchain-symlinks/clang-toolchain-symlinks-21.ebuild b/llvm-core/clang-toolchain-symlinks/clang-toolchain-symlinks-21.ebuild new file mode 100644 index ..a6dc1b3e98e0 --- /dev/null +++ b/llvm-core/clang-toolchain-symlinks/clang-toolchain-symlinks-21.ebuild @@ -0,0 +1,58 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib + +DESCRIPTION="Symlinks to use Clang on GCC-free system" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:LLVM"; +S=${WORKDIR} + +LICENSE="public-domain" +SLOT="${PV}" +IUSE="gcc-symlinks multilib-symlinks +native-symlinks" + +# Blocker for bug #872416 +RDEPEND=" + !
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: d982cee2c727e55269613e150f13431ee6fea3e2 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 1 07:59:25 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 1 08:05:54 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d982cee2 llvm-core/clang-runtime: main is now 21* Signed-off-by: Michał Górny gentoo.org> ...lang-runtime-20.0.0..ebuild => clang-runtime-21.0.0..ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm-core/clang-runtime/clang-runtime-20.0.0..ebuild b/llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild similarity index 95% rename from llvm-core/clang-runtime/clang-runtime-20.0.0..ebuild rename to llvm-core/clang-runtime/clang-runtime-21.0.0..ebuild index 8fae33839019..542c7b28a6f4 100644 --- a/llvm-core/clang-runtime/clang-runtime-20.0.0..ebuild +++ b/llvm-core/clang-runtime/clang-runtime-21.0.0..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
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 9691b471210ae9f6254cc2c2d702f04418f619cf Author: Michał Górny gentoo org> AuthorDate: Sat Feb 1 07:59:10 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 1 08:05:40 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9691b471 llvm-core/clang-common: main is now 21* Signed-off-by: Michał Górny gentoo.org> ...{clang-common-20.0.0..ebuild => clang-common-21.0.0..ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm-core/clang-common/clang-common-20.0.0..ebuild b/llvm-core/clang-common/clang-common-21.0.0..ebuild similarity index 99% rename from llvm-core/clang-common/clang-common-20.0.0..ebuild rename to llvm-core/clang-common/clang-common-21.0.0..ebuild index 8e66cf2865d9..1fde60b6b6de 100644 --- a/llvm-core/clang-common/clang-common-20.0.0..ebuild +++ b/llvm-core/clang-common/clang-common-21.0.0..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
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: dc1195e9bdf61956f90568dff9c5e4b42ff62c11 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 31 19:51:47 2025 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 31 21:50:52 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc1195e9 llvm-core/clang: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 5 - llvm-core/clang/clang-19.1.6.ebuild | 465 llvm-core/clang/clang-20.0.0_pre20250111.ebuild | 464 --- llvm-core/clang/clang-20.0.0_pre20250118.ebuild | 464 --- llvm-core/clang/clang-20.0.0_pre20250122.ebuild | 464 --- 5 files changed, 1862 deletions(-) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 3b5175d3198b..7781becc962b 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -17,11 +17,6 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d2250268df36fb94fa0fd5b3611484094fbd7962051978334d2c623d2ff5a0209dbb2c6c6492be0146507ae982a7d3e9705a689c5 SHA512 a586f8a41dde5e0d9ca6d8c58e9ef2a2e59b70a86d2e2c46106dc31b5c096bb80af0cdbdb486179e9cc676a540099f49a1c2db9e5e84c50362db1f72e9af6906 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 -DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607 SHA512 d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3 -DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac -DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc -DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 BLAKE2B 9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0 SHA512 466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7 -DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/clang/clang-19.1.6.ebuild b/llvm-core/clang/clang-19.1.6.ebuild deleted file mode 100644 index d21a4ba71610.. --- a/llvm-core/clang/clang-19.1.6.ebuild +++ /dev/null @@ -1,465 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the term
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: c2b560db0f82d97c29cf8ee587038c4415115c58 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 31 19:51:49 2025 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 31 21:50:52 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b560db llvm-core/clang-common: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 5 - llvm-core/clang-common/clang-common-19.1.6.ebuild | 310 - .../clang-common-20.0.0_pre20250111.ebuild | 310 - .../clang-common-20.0.0_pre20250118.ebuild | 310 - .../clang-common-20.0.0_pre20250122.ebuild | 310 - 5 files changed, 1245 deletions(-) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index fd9193718801..508a179f4fc9 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -8,11 +8,6 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d2250268df36fb94fa0fd5b3611484094fbd7962051978334d2c623d2ff5a0209dbb2c6c6492be0146507ae982a7d3e9705a689c5 SHA512 a586f8a41dde5e0d9ca6d8c58e9ef2a2e59b70a86d2e2c46106dc31b5c096bb80af0cdbdb486179e9cc676a540099f49a1c2db9e5e84c50362db1f72e9af6906 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 -DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607 SHA512 d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3 -DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac -DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc -DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 BLAKE2B 9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0 SHA512 466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7 -DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/clang-common/clang-common-19.1.6.ebuild b/llvm-core/clang-common/clang-common-19.1.6.ebuild deleted file mode 100644 index 01f58a6b11dc.. --- a/llvm-core/clang-common/clang-common-19.1.6.ebuild +++ /dev/null @@ -
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 30523da1865254304cb3a80150934d9f7f6ea43e Author: Michał Górny gentoo org> AuthorDate: Fri Jan 31 19:51:18 2025 + Commit: Michał Górny gentoo org> CommitDate: Fri Jan 31 21:50:41 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30523da1 llvm-core/clang-runtime: Remove old Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-19.1.6-r1.ebuild | 31 - .../clang-runtime/clang-runtime-19.1.6.ebuild | 40 -- .../clang-runtime-20.0.0_pre20250111.ebuild| 30 .../clang-runtime-20.0.0_pre20250118.ebuild| 30 .../clang-runtime-20.0.0_pre20250122.ebuild| 30 5 files changed, 161 deletions(-) diff --git a/llvm-core/clang-runtime/clang-runtime-19.1.6-r1.ebuild b/llvm-core/clang-runtime/clang-runtime-19.1.6-r1.ebuild deleted file mode 100644 index 8f4209bb5172.. --- a/llvm-core/clang-runtime/clang-runtime-19.1.6-r1.ebuild +++ /dev/null @@ -1,31 +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="${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-19.1.6.ebuild b/llvm-core/clang-runtime/clang-runtime-19.1.6.ebuild deleted file mode 100644 index 156bf2451f7b.. --- a/llvm-core/clang-runtime/clang-runtime-19.1.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 ~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-20.0.0_pre20250111.ebuild b/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250111.ebuild deleted file mode 100644 index 542c7b28a6f4.. --- a/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250111.ebuild +++ /dev/null @@ -1,30 +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%%.*}" -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/comp
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 4d481ef1b25ffa1869427d75fe30818f14e53a22 Author: Sam James gentoo org> AuthorDate: Wed Jan 29 21:26:54 2025 + Commit: Sam James gentoo org> CommitDate: Wed Jan 29 21:27:31 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d481ef1 llvm-core/clang-common: drop obsolete USE=stricter We dropped it from newer Clangs already, there's no point in keeping this here and may even confuse some people looking at `equery u` or whatever. It served its purpose, as these things are default out of the box now where appropriate. We've also had some people asking about why it's gone etc so removing it avoids that confusion. Signed-off-by: Sam James gentoo.org> .../clang-common/clang-common-15.0.7-r10.ebuild | 20 ++-- llvm-core/clang-common/metadata.xml | 1 - 2 files changed, 2 insertions(+), 19 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 e0f714bebce1..50b8d4b18639 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 @@ -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 @@ -13,7 +13,7 @@ SLOT="0" KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" IUSE=" default-compiler-rt default-libcxx default-lld llvm-libunwind - hardened stricter + hardened " PDEPEND=" @@ -146,22 +146,6 @@ src_install() { EOF fi - if use stricter; then - newins - gentoo-stricter.cfg <<-EOF - # This file increases the strictness of older clang versions - # to match the newest upstream version. - - # clang-16 defaults - -Werror=implicit-function-declaration - -Werror=implicit-int - -Werror=incompatible-function-pointer-types - EOF - - cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die - @gentoo-stricter.cfg - EOF - fi - local tool for tool in clang{,++,-cpp}; do newins - "${tool}.cfg" <<-EOF diff --git a/llvm-core/clang-common/metadata.xml b/llvm-core/clang-common/metadata.xml index a4b5da44a19b..20d001720e1f 100644 --- a/llvm-core/clang-common/metadata.xml +++ b/llvm-core/clang-common/metadata.xml @@ -28,6 +28,5 @@ what you're doing. Use lld as the default linker for clang - Default to stricter behavior known from newer clang versions, turning more warnings into errors
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 34330ce1861e63a03e38f014ecee3bdb82914d80 Author: Sam James gentoo org> AuthorDate: Wed Jan 29 21:24:08 2025 + Commit: Sam James gentoo org> CommitDate: Wed Jan 29 21:24:21 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34330ce1 llvm-core/clang-common: make USE=default-libcxx description scary Bug: https://bugs.gentoo.org/944478 Signed-off-by: Sam James gentoo.org> llvm-core/clang-common/metadata.xml | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/llvm-core/clang-common/metadata.xml b/llvm-core/clang-common/metadata.xml index da45c87b0e27..a4b5da44a19b 100644 --- a/llvm-core/clang-common/metadata.xml +++ b/llvm-core/clang-common/metadata.xml @@ -20,7 +20,13 @@ but provides no benefit either. Use compiler-rt + libunwind instead of libgcc as the default rtlib for clang - Use libc++ instead of libstdc++ as the default stdlib for clang + + Use libc++ instead of libstdc++ as the default stdlib for clang. + + Beware: this breaks ABI, producing binaries incompatible with those + built with GCC or Clang using libstdc++. Do not set unless you know + what you're doing. + Use lld as the default linker for clang Default to stricter behavior known from newer clang versions, turning more warnings into errors
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: d6901b31af4ad1bc7bf5c5f571636a94df933a93 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 25 13:08:09 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 25 13:33:09 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6901b31 llvm-core/clang-runtime: Add 20.0.0_pre20250125 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-20.0.0_pre20250125.ebuild| 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250125.ebuild b/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250125.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250125.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 8b35674b1209ddc3763afc1862d776e2b4d8172f Author: Michał Górny gentoo org> AuthorDate: Sat Jan 25 13:07:57 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 25 13:32:59 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b35674b llvm-core/clang: Add 20.0.0_pre20250125 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 + llvm-core/clang/clang-20.0.0_pre20250125.ebuild | 464 2 files changed, 465 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 0f2443a326e4..3b5175d3198b 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -21,6 +21,7 @@ DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee5 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda +DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 BLAKE2B 9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0 SHA512 466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7 DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/clang/clang-20.0.0_pre20250125.ebuild b/llvm-core/clang/clang-20.0.0_pre20250125.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-20.0.0_pre20250125.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: e583495eb3faf985a3b98d806383ae87171a7454 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 25 13:07:56 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 25 13:32:58 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e583495e llvm-core/clang-common: Add 20.0.0_pre20250125 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 1 + .../clang-common-20.0.0_pre20250125.ebuild | 310 + 2 files changed, 311 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index 534a9e0fb12c..fd9193718801 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -12,6 +12,7 @@ DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee5 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda +DIST llvm-project-1f26ac10ca1bef40a80be8f81a6f109713bc586f.tar.gz 226424755 BLAKE2B 642befb8d6923f335d1d68129ebb7357f8ba22e110df494dd956c8097e4e5db4b2a88fcc069ab67184b03558f072c68e002bdaf90eba865e38b1473a0ef29eed SHA512 e9bb4fd31bbad5ec864c662515b5ec2e5511cce975040f9f3cd8f009c92f76077928feae0467fd9519a001a379c857f7539c506953d8d5a9209a9f358f414aac DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 BLAKE2B 9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0 SHA512 466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7 DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/clang-common/clang-common-20.0.0_pre20250125.ebuild b/llvm-core/clang-common/clang-common-20.0.0_pre20250125.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-20.0.0_pre20250125.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 696f2dbde39ac1699aa2fa89baa538807cd66d41 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 22 16:33:45 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 22 19:15:33 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=696f2dbd llvm-core/clang-runtime: Add 20.0.0_pre20250122 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-20.0.0_pre20250122.ebuild| 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250122.ebuild b/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250122.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250122.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: cd9fc030841a9cc3ae7c4e6e2b9f3cb4c5e21db0 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 22 16:33:25 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 22 19:15:22 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd9fc030 llvm-core/clang: Add 20.0.0_pre20250122 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 + llvm-core/clang/clang-20.0.0_pre20250122.ebuild | 464 2 files changed, 465 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 190d2934f6f6..0f2443a326e4 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -22,4 +22,5 @@ DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc +DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 BLAKE2B 9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0 SHA512 466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7 DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/clang/clang-20.0.0_pre20250122.ebuild b/llvm-core/clang/clang-20.0.0_pre20250122.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-20.0.0_pre20250122.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +#target. However, you will need appropriate crt* files (installed +#e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always installed for all ABIs included +#in the current profile (i.e. alike supported by sys-devel/gcc). +# +# Therefore: use llvm-core/clang[${MULTILIB_USEDEP}] only if you need +# multilib clang* libraries (not runtime, not wrappers). + +src_prepare() { + # create extra parent dir for relative CLANG_RESOURCE_DIR access +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 7529b229a7bc4ca29d29df8e316496bf0ff93f12 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 22 16:33:24 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 22 19:15:21 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7529b229 llvm-core/clang-common: Add 20.0.0_pre20250122 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 1 + .../clang-common-20.0.0_pre20250122.ebuild | 310 + 2 files changed, 311 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index b7114fc7aeab..534a9e0fb12c 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -13,4 +13,5 @@ DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc +DIST llvm-project-97c3a990f05606cb807faf53bc41302fb62c7980.tar.gz 226261635 BLAKE2B 9dd0bdfaa6ee984747f2d9d8b9606cd8d2e75fa64d45fd7c87227ddca7cffe888a1d932d73c123b25360690fd687554cc333fb3d871ab0e72ddd2b1158bae2e0 SHA512 466ae8aea014fd396f3fd6b77055238a672f012b79f25ed0b215e01f968a56dd4eeaf148d03246701b1ac4cbb8f02a4325142d6e5503fb6231e330c2e49e28e7 DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/clang-common/clang-common-20.0.0_pre20250122.ebuild b/llvm-core/clang-common/clang-common-20.0.0_pre20250122.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-20.0.0_pre20250122.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on llvm-core/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on llvm-core/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " llvm-core/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLANG_IGNOR
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: d6585a1afaa86264a6c5c70ad16c2292e38f48fa Author: Michał Górny gentoo org> AuthorDate: Sat Jan 18 15:00:51 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 18 15:03:10 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6585a1a llvm-core/clang-runtime: Add 20.0.0_pre20250118 snapshot Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-20.0.0_pre20250118.ebuild| 30 ++ 1 file changed, 30 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250118.ebuild b/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250118.ebuild new file mode 100644 index ..542c7b28a6f4 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250118.ebuild @@ -0,0 +1,30 @@ +# 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%%.*}" +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} + ) + ) +"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 60e7cf15fef0f08b1215fc1d375b46c2e8c0 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 18 15:00:36 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 18 15:02:48 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60e7cf15 llvm-core/clang-common: Add 20.0.0_pre20250118 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 1 + .../clang-common-20.0.0_pre20250118.ebuild | 310 + 2 files changed, 311 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index 93916f0b1f70..b7114fc7aeab 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -13,3 +13,4 @@ DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc +DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/clang-common/clang-common-20.0.0_pre20250118.ebuild b/llvm-core/clang-common/clang-common-20.0.0_pre20250118.ebuild new file mode 100644 index ..1fde60b6b6de --- /dev/null +++ b/llvm-core/clang-common/clang-common-20.0.0_pre20250118.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=( clang/utils ) +llvm.org_set_globals + +pkg_pretend() { + [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return + + local flag missing_flags=() + for flag in default-{compiler-rt,libcxx,lld}; do + if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then + missing_flags+=( "${flag}" ) + fi + done + + if [[ ${missing_flags[@]} ]]; then + eerror "It seems that you have the following flags set on llvm-core/clang:" + eerror + eerror " ${missing_flags[*]}" + eerror + eerror "The default runtimes are now set via flags on llvm-core/clang-common." + eerror "The build is being aborted to prevent breakage. Please either set" + eerror "the respective flags on this ebuild, e.g.:" + eerror + eerror " llvm-core/clang-common ${missing_flags[*]}" + eerror + eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1." + die "Mismatched defaults detected between llvm-core/clang and llvm-core/clang-common" + fi +} + +_doclang_cfg() { + local triple="${1}" + + local tool + for tool in ${triple}-clang{,++}; do + newins - "${tool}.cfg" <<-EOF + # This configuration file is u
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 307a28d305ba640f523f9d01b4899b799663f5dd Author: Michał Górny gentoo org> AuthorDate: Sat Jan 18 15:00:37 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 18 15:02:49 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=307a28d3 llvm-core/clang: Add 20.0.0_pre20250118 snapshot Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 1 + llvm-core/clang/clang-20.0.0_pre20250118.ebuild | 464 2 files changed, 465 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 5bd8f3577039..190d2934f6f6 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -22,3 +22,4 @@ DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc +DIST llvm-project-c3a935e3f967f8f22f5db240d145459ee621c1e0.tar.gz 225133913 BLAKE2B ced922010bad14df6bce0dbbb9323ee3cc9d7bf2f764f8c982d134d7a97e38d84b0b81635bbb16031aa1899c744e7c036cec5d1957733bbed7a2f18f89db0b6f SHA512 0ea083defb3c0ecaa5d8d28682f140c68ec6b3ab6cbfc60fc38a9265a8eb88b618c075d6ae03170ed54c5e7dcb3b7003eaacea2fcb115e9864b64a17cea0013d diff --git a/llvm-core/clang/clang-20.0.0_pre20250118.ebuild b/llvm-core/clang/clang-20.0.0_pre20250118.ebuild new file mode 100644 index ..67e6515db8b5 --- /dev/null +++ b/llvm-core/clang/clang-20.0.0_pre20250118.ebuild @@ -0,0 +1,464 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +LLVM_TEST_COMPONENTS=( + llvm/utils +) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " +BDEPEND+=" + $(python_gen_cond_dep ' + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') +" +[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " + +# Multilib notes: +# 1. ABI_* flags control ABIs libclang* is built for only. +# 2. clang is always capable of compiling code for all ABIs for enabled +#target. However, you will need appropriate crt* files (installed +#e.g. by sys-devel/gcc and sys-libs/glibc). +# 3. ${CHOST}-clang wrappers are always installed for all ABIs included +#in the current profile (i.e. alike supported by sys-devel/gcc). +# +# Therefore: use llvm-core/clang[${MULTILIB_USEDEP}] only if you need +# multilib clang* libraries (not runtime, not wrappers). + +src_prepare() { + # create extra parent dir for relative CLANG_RESOURCE_DIR access + mkdir -p x/y || die + BUILD_DIR=${WORKDIR}/x/y/clang + + llvm.org_src_prepare + + # add Gentoo Portage Prefix for Darwin (see prefix-dirs.patch) + eprefixify \ + lib/Lex/InitHeaderSearch.cpp \ + lib/Driver/ToolChains/Darwin.cpp || die + + if ! use prefix-guest && [[ -n ${EPREFIX} ]]; then +
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: 25ecfedba9629c54f7ae0a6500c7d9f4e86b24cd Author: Michał Górny gentoo org> AuthorDate: Sat Jan 18 07:21:46 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 18 07:21:46 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25ecfedb llvm-core/clang-common: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest| 2 - .../clang-common-20.0.0_pre20241227.ebuild | 310 - .../clang-common-20.0.0_pre20250104.ebuild | 310 - 3 files changed, 622 deletions(-) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index cb5f43e438ae..93916f0b1f70 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -12,6 +12,4 @@ DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee5 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda -DIST llvm-project-2529a8df53af9bc6cecfd6c83404ffa5e89e3370.tar.gz 224493461 BLAKE2B 0d3c757a8f34a9bf6b2ac0ad394cc1f8125cfee534c8bd0c5875eba56fe0171892586ec05b6f1e859e5962f81c76c9a315f60bcda012df73a3bd66709b265038 SHA512 a49fa1da2fd398b279a90292704e30d8ff7163219bfd91c4a80fa5123d957cdef52d2ee41710a8bcbfea3d9a5eec269dfc756584fcc27a495f7f381176de4e69 DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc -DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 BLAKE2B 6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3 SHA512 ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1 diff --git a/llvm-core/clang-common/clang-common-20.0.0_pre20241227.ebuild b/llvm-core/clang-common/clang-common-20.0.0_pre20241227.ebuild deleted file mode 100644 index 8e66cf2865d9.. --- a/llvm-core/clang-common/clang-common-20.0.0_pre20241227.ebuild +++ /dev/null @@ -1,310 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit bash-completion-r1 llvm.org multilib - -DESCRIPTION="Common files shared between multiple slots of clang" -HOMEPAGE="https://llvm.org/"; - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE=" - default-compiler-rt default-libcxx default-lld - bootstrap-prefix cet hardened llvm-libunwind -" - -PDEPEND=" - default-compiler-rt? ( - llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] - 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 ) -" -IDEPEND=" - !default-compiler-rt? ( sys-devel/gcc-config ) - !default-libcxx? ( sys-devel/gcc-config ) -" - -LLVM_COMPONENTS=( clang/utils ) -llvm.org_set_globals - -pkg_pretend() { - [[ ${CLANG_IGNORE_DEFAULT_RUNTIMES} ]] && return - - local flag missing_flags=() - for flag in default-{compiler-rt,libcxx,lld}; do - if ! use "${flag}" && has_version "llvm-core/clang[${flag}]"; then - missing_flags+=( "${flag}" ) - fi - done - - if [[ ${missing_flags[@]} ]]; then - eerror "It seems that you have the following flags set on llvm-core/clang:" - eerror - eerror " ${missing_flags[*]}" - eerror - eerror "The default run
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 07230563a2566df83c4e2ccacd685807e10028e8 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 18 07:21:45 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 18 07:21:45 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07230563 llvm-core/clang: Remove old Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 2 - llvm-core/clang/clang-20.0.0_pre20241227.ebuild | 464 llvm-core/clang/clang-20.0.0_pre20250104.ebuild | 464 3 files changed, 930 deletions(-) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index fe2b23c48945..5bd8f3577039 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -21,6 +21,4 @@ DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee5 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4 DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda -DIST llvm-project-2529a8df53af9bc6cecfd6c83404ffa5e89e3370.tar.gz 224493461 BLAKE2B 0d3c757a8f34a9bf6b2ac0ad394cc1f8125cfee534c8bd0c5875eba56fe0171892586ec05b6f1e859e5962f81c76c9a315f60bcda012df73a3bd66709b265038 SHA512 a49fa1da2fd398b279a90292704e30d8ff7163219bfd91c4a80fa5123d957cdef52d2ee41710a8bcbfea3d9a5eec269dfc756584fcc27a495f7f381176de4e69 DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc -DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 BLAKE2B 6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3 SHA512 ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1 diff --git a/llvm-core/clang/clang-20.0.0_pre20241227.ebuild b/llvm-core/clang/clang-20.0.0_pre20241227.ebuild deleted file mode 100644 index 67e6515db8b5.. --- a/llvm-core/clang/clang-20.0.0_pre20241227.ebuild +++ /dev/null @@ -1,464 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) - -inherit cmake llvm.org multilib multilib-minimal -inherit prefix python-single-r1 toolchain-funcs - -DESCRIPTION="C language family frontend for LLVM" -HOMEPAGE="https://llvm.org/"; - -# MSVCSetupApi.h: MIT -# sorttable.js: MIT - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" -SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" -IUSE="+debug doc +extra ieee-long-double +pie +static-analyzer test xml" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -DEPEND=" - ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] - static-analyzer? ( dev-lang/perl:* ) - xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) -" - -RDEPEND=" - ${PYTHON_DEPS} - ${DEPEND} - >=llvm-core/clang-common-${PV} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( ~llvm-core/lld-${PV} ) - xml? ( virtual/pkgconfig ) -" -PDEPEND=" - ~llvm-core/clang-runtime-${PV} - llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} -" - -LLVM_COMPONENTS=( - clang clang-tools-extra cmake -) -LLVM_MANPAGES=1 -LLVM_TEST_COMPONENTS=( - llvm/utils -) -LLVM_USE_TARGETS=llvm -llvm.org_set_globals - -[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" doc? ( " -BDEPEND+=" - $(python_gen_cond_dep ' - dev-python/myst-parser[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ') -" -[[ -n ${LLVM_MANPAGE_DIST} ]] && BDEPEND+=" ) " - -# Multilib notes: -# 1. ABI_* flags control ABIs libclang* is built for only. -# 2. clang is always capable of compiling code for all ABIs for enabled -#target. However, you will need appropriate crt* files (installed -#e.g. by sys-devel/gcc and sys-lib
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 915c06ea895eea09959ebbee147a175efa9a4f42 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 18 07:21:29 2025 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 18 07:21:29 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=915c06ea llvm-core/clang-runtime: Remove old Signed-off-by: Michał Górny gentoo.org> .../clang-runtime-20.0.0_pre20241227.ebuild| 44 -- .../clang-runtime-20.0.0_pre20250104.ebuild| 30 --- 2 files changed, 74 deletions(-) diff --git a/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20241227.ebuild b/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20241227.ebuild deleted file mode 100644 index 731f7ca4c926.. --- a/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20241227.ebuild +++ /dev/null @@ -1,44 +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%%.*}" -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} - ) - ) -" - -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-20.0.0_pre20250104.ebuild b/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250104.ebuild deleted file mode 100644 index 542c7b28a6f4.. --- a/llvm-core/clang-runtime/clang-runtime-20.0.0_pre20250104.ebuild +++ /dev/null @@ -1,30 +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%%.*}" -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} - ) - ) -"
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: a32e1b3b02b5eb2cd25b1c25788f015b02fb224e Author: Michał Górny gentoo org> AuthorDate: Thu Jan 16 10:05:09 2025 + Commit: Michał Górny gentoo org> CommitDate: Thu Jan 16 10:05:09 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32e1b3b llvm-core/clang-runtime: Resync 19.1.7 Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-19.1.7.ebuild | 25 +++--- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild index d4206dc08c77..da17e274d8da 100644 --- a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild +++ b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit multilib-build toolchain-funcs +inherit multilib-build DESCRIPTION="Meta-ebuild for clang runtime libraries" HOMEPAGE="https://clang.llvm.org/"; @@ -11,7 +11,7 @@ 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" +IUSE="+compiler-rt libcxx offload openmp +sanitize" REQUIRED_USE="sanitize? ( compiler-rt )" RDEPEND=" @@ -22,19 +22,10 @@ RDEPEND=" ) ) libcxx? ( >=llvm-runtimes/libcxx-${PV}[${MULTILIB_USEDEP}] ) - openmp? ( >=llvm-runtimes/openmp-${PV}[${MULTILIB_USEDEP}] ) + openmp? ( + >=llvm-runtimes/openmp-${PV}[${MULTILIB_USEDEP}] + offload? ( + >=llvm-runtimes/offload-${PV} + ) + ) " - -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 -}
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-runtime/
commit: 3dbc0cf773a2f857d176e3b37ed19641633aaf39 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 14 20:01:42 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 15 04:24:02 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dbc0cf7 llvm-core/clang-runtime: Add 19.1.7 Signed-off-by: Michał Górny gentoo.org> .../clang-runtime/clang-runtime-19.1.7.ebuild | 40 ++ 1 file changed, 40 insertions(+) diff --git a/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild new file mode 100644 index ..d4206dc08c77 --- /dev/null +++ b/llvm-core/clang-runtime/clang-runtime-19.1.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 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 +}
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang/
commit: 8dba54ed04abccdd1e2db300a8fa591cb00e6f55 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 14 20:01:26 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 15 04:23:53 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dba54ed llvm-core/clang: Add 19.1.7 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang/Manifest| 2 + llvm-core/clang/clang-19.1.7.ebuild | 465 2 files changed, 467 insertions(+) diff --git a/llvm-core/clang/Manifest b/llvm-core/clang/Manifest index 1a7b5c426f73..fe2b23c48945 100644 --- a/llvm-core/clang/Manifest +++ b/llvm-core/clang/Manifest @@ -19,6 +19,8 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d22 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607 SHA512 d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4 +DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 +DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-2529a8df53af9bc6cecfd6c83404ffa5e89e3370.tar.gz 224493461 BLAKE2B 0d3c757a8f34a9bf6b2ac0ad394cc1f8125cfee534c8bd0c5875eba56fe0171892586ec05b6f1e859e5962f81c76c9a315f60bcda012df73a3bd66709b265038 SHA512 a49fa1da2fd398b279a90292704e30d8ff7163219bfd91c4a80fa5123d957cdef52d2ee41710a8bcbfea3d9a5eec269dfc756584fcc27a495f7f381176de4e69 DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 BLAKE2B 6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3 SHA512 ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1 diff --git a/llvm-core/clang/clang-19.1.7.ebuild b/llvm-core/clang/clang-19.1.7.ebuild new file mode 100644 index ..d21a4ba71610 --- /dev/null +++ b/llvm-core/clang/clang-19.1.7.ebuild @@ -0,0 +1,465 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake llvm.org multilib multilib-minimal +inherit prefix python-single-r1 toolchain-funcs + +DESCRIPTION="C language family frontend for LLVM" +HOMEPAGE="https://llvm.org/"; + +# MSVCSetupApi.h: MIT +# sorttable.js: MIT + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~x64-macos" +IUSE="debug doc +extra ieee-long-double +pie +static-analyzer test xml" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND=" + ~llvm-core/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}] + static-analyzer? ( dev-lang/perl:* ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] ) +" + +RDEPEND=" + ${PYTHON_DEPS} + ${DEPEND} + >=llvm-core/clang-common-${PV} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( ~llvm-core/lld-${PV} ) + xml? ( virtual/pkgconfig ) +" +PDEPEND=" + ~llvm-core/clang-runtime-${PV} + llvm-core/clang-toolchain-symlinks:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( + clang clang-tools-extra cmake +) +LLVM_MANPAGES=1 +L
[gentoo-commits] repo/gentoo:master commit in: llvm-core/clang-common/
commit: e1c6ef9979202b7edf9424bec7503a98eaf07e0c Author: Michał Górny gentoo org> AuthorDate: Tue Jan 14 20:01:25 2025 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 15 04:23:52 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c6ef99 llvm-core/clang-common: Add 19.1.7 Signed-off-by: Michał Górny gentoo.org> llvm-core/clang-common/Manifest | 2 + llvm-core/clang-common/clang-common-19.1.7.ebuild | 310 ++ 2 files changed, 312 insertions(+) diff --git a/llvm-core/clang-common/Manifest b/llvm-core/clang-common/Manifest index f83a59fdc6ff..cb5f43e438ae 100644 --- a/llvm-core/clang-common/Manifest +++ b/llvm-core/clang-common/Manifest @@ -10,6 +10,8 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d22 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607 SHA512 d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4 +DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 +DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda DIST llvm-project-2529a8df53af9bc6cecfd6c83404ffa5e89e3370.tar.gz 224493461 BLAKE2B 0d3c757a8f34a9bf6b2ac0ad394cc1f8125cfee534c8bd0c5875eba56fe0171892586ec05b6f1e859e5962f81c76c9a315f60bcda012df73a3bd66709b265038 SHA512 a49fa1da2fd398b279a90292704e30d8ff7163219bfd91c4a80fa5123d957cdef52d2ee41710a8bcbfea3d9a5eec269dfc756584fcc27a495f7f381176de4e69 DIST llvm-project-8af4d206e0f979f68925a08f9dffd60a98ce97e2.tar.gz 224825146 BLAKE2B 36e9c8f9615d65fc72beb699c4ce5959676975267a4c4288a01009d26ab84ae411f2855e4e6475957b91ddc21da29251ab22e331395bc9fee0f9bc907a05384a SHA512 ec72cdd7cc6d9bef31ae9295606d18e4935468fe60ab632aced21261d437e76f11d83d0d7199a6028689990260d9155098f7d64e97db0e0af28ea6c75a773bcc DIST llvm-project-ccfe0de0e1e37ed369c9bf89dd0188ba0afb2e9a.tar.gz 224396427 BLAKE2B 6e13c65d2ba83fdaf2db20a58b878106568406f07f9c2ceb47e4d2572fb041211384ed67c43801764060101ec4a1b04c18bf4097f37512d2751aa5860c1a8dc3 SHA512 ef4512b735568aaa627a7f4e9bac3fc4722db7a2b8bd1610faaf066856be9474fb297fd75b3c0dcc76f60ab35c3110fd329faad3e8d9b75e93844d56f41c03d1 diff --git a/llvm-core/clang-common/clang-common-19.1.7.ebuild b/llvm-core/clang-common/clang-common-19.1.7.ebuild new file mode 100644 index ..1c56480336f7 --- /dev/null +++ b/llvm-core/clang-common/clang-common-19.1.7.ebuild @@ -0,0 +1,310 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 llvm.org multilib + +DESCRIPTION="Common files shared between multiple slots of clang" +HOMEPAGE="https://llvm.org/"; + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos" +IUSE=" + default-compiler-rt default-libcxx default-lld + bootstrap-prefix cet hardened llvm-libunwind +" + +PDEPEND=" + default-compiler-rt? ( + llvm-core/clang-runtime:${LLVM_MAJOR}[compiler-rt] + 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 ) +" +IDEPEND=" + !default-compiler-rt? ( sys-devel/gcc-config ) + !default-libcxx? ( sys-devel/gcc-config ) +" + +LLVM_COMPONENTS=