[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-09-24 Thread Michał Górny
commit: 9c33bf7a0734e444fcc587d376d4c95f5c3bcf82
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 24 17:36:17 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 24 18:02:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c33bf7a

sys-devel/clang: Add 20.0.0_pre20240924 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   1 +
 sys-devel/clang/clang-20.0.0_pre20240924.ebuild | 472 
 2 files changed, 473 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 94df22718126..36c6f30136d2 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -17,3 +17,4 @@ DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b8577
 DIST llvm-project-19.1.0.src.tar.xz 141244872 BLAKE2B 
972d028599006d528acdb0ff107b30af8bef247a0f174991646d07f0a47e7d237a5a1700ae668a9f4496295535d688be550669e78b0775aaab044f5b268e
 SHA512 
396b34886f8442eeb5bc23152e8c2577e834d88f1d21a67829f9ca651b77c5ceb32df4e70c34dc1e6fea24abe45fa00f08502628de25fdbf32864f5b9066d23d
 DIST llvm-project-19.1.0.src.tar.xz.sig 438 BLAKE2B 
b044fcc6f331e75f9340e390ef8a95242a7f74e7c9835e67161fc4dd0ba0a8a5400e8ec4efd0fe50d2a9a9d950d0b37d5c0725868f450619b161a36ebded6a67
 SHA512 
d596d4942750818f489f114ff953a2b27e220abcf132d4d4ce0d910b73dfc283262507fc35cc0b61363c4af22cb9112dd7a662a89ea4b9667827fa1bde6785ed
 DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 
BLAKE2B 
9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02
 SHA512 
eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22
+DIST llvm-project-cde7b30268a85a3e7900a31534a97e7eb4de9236.tar.gz 219048549 
BLAKE2B 
53bdfea814b2cdf60bfdd27f6135b9f9d5156bdc78d22a361214399c5101b6fafaaefb9109377c1d977c67ebcb1feed69d6aaee0f2e38881480d68ac8be9b3d9
 SHA512 
0def6da5c2443753f37ba40a893b41dd5c7676b7be57102a5a6e820fe4fe235cad1da9a1c0eff1abc4c4ed5cc188522cae23afeddeee1876ea8ffde5c4f33b9f

diff --git a/sys-devel/clang/clang-20.0.0_pre20240924.ebuild 
b/sys-devel/clang/clang-20.0.0_pre20240924.ebuild
new file mode 100644
index ..76e65b231fc4
--- /dev/null
+++ b/sys-devel/clang/clang-20.0.0_pre20240924.ebuild
@@ -0,0 +1,472 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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 sys-devel/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} ]]

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-09-24 Thread Michał Górny
commit: c3114ec9d641e1e9fd5f566635210bbaaebcb80b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 24 17:36:16 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 24 18:02:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3114ec9

sys-devel/clang-common: Add 20.0.0_pre20240924 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   1 +
 .../clang-common-20.0.0_pre20240924.ebuild | 304 +
 2 files changed, 305 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index 57bd418e5491..a94461d88b67 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b8577
 DIST llvm-project-19.1.0.src.tar.xz 141244872 BLAKE2B 
972d028599006d528acdb0ff107b30af8bef247a0f174991646d07f0a47e7d237a5a1700ae668a9f4496295535d688be550669e78b0775aaab044f5b268e
 SHA512 
396b34886f8442eeb5bc23152e8c2577e834d88f1d21a67829f9ca651b77c5ceb32df4e70c34dc1e6fea24abe45fa00f08502628de25fdbf32864f5b9066d23d
 DIST llvm-project-19.1.0.src.tar.xz.sig 438 BLAKE2B 
b044fcc6f331e75f9340e390ef8a95242a7f74e7c9835e67161fc4dd0ba0a8a5400e8ec4efd0fe50d2a9a9d950d0b37d5c0725868f450619b161a36ebded6a67
 SHA512 
d596d4942750818f489f114ff953a2b27e220abcf132d4d4ce0d910b73dfc283262507fc35cc0b61363c4af22cb9112dd7a662a89ea4b9667827fa1bde6785ed
 DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 
BLAKE2B 
9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02
 SHA512 
eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22
+DIST llvm-project-cde7b30268a85a3e7900a31534a97e7eb4de9236.tar.gz 219048549 
BLAKE2B 
53bdfea814b2cdf60bfdd27f6135b9f9d5156bdc78d22a361214399c5101b6fafaaefb9109377c1d977c67ebcb1feed69d6aaee0f2e38881480d68ac8be9b3d9
 SHA512 
0def6da5c2443753f37ba40a893b41dd5c7676b7be57102a5a6e820fe4fe235cad1da9a1c0eff1abc4c4ed5cc188522cae23afeddeee1876ea8ffde5c4f33b9f

diff --git a/sys-devel/clang-common/clang-common-20.0.0_pre20240924.ebuild 
b/sys-devel/clang-common/clang-common-20.0.0_pre20240924.ebuild
new file mode 100644
index ..6eb8b79a8c99
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-20.0.0_pre20240924.ebuild
@@ -0,0 +1,304 @@
+# 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? (
+   sys-devel/clang-runtime:${LLVM_MAJOR}[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
+   eerror
+   eerror "  ${missing_flags[*]}"
+   eerror
+   eerror "The default runtimes are now set via flags on 
sys-devel/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 "  sys-devel/clang-common ${missing_flags[*]}"
+   eerror
+   eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1."
+   die "Mismatched defaults detected between sys-devel/clang and 
sys-devel/clang-common"
+   fi
+}
+
+_doclang_cfg() {
+   local triple="${1}"
+
+   local tool
+   for tool in ${triple}-clang{,++}; do
+   newins - "${tool}.cfg" <<-EOF
+   # This configuration file is used by 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-09-24 Thread Michał Górny
commit: ffc9fc7e9412d2b26e9e279d88c6605087dd8afa
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 24 17:36:28 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 24 18:02:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffc9fc7e

sys-devel/clang-runtime: Add 20.0.0_pre20240924 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-20.0.0_pre20240924.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240924.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240924.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240924.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-09-24 Thread Michał Górny
commit: c290ff536172cc15bdb3b806ec1e0fc7902e967a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 24 08:20:33 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 24 08:42:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c290ff53

sys-devel/clang: Update 20.0.0. for removed components

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/clang-20.0.0..ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys-devel/clang/clang-20.0.0..ebuild 
b/sys-devel/clang/clang-20.0.0..ebuild
index 857f7b1ed5a2..6ba764b5fc97 100644
--- a/sys-devel/clang/clang-20.0.0..ebuild
+++ b/sys-devel/clang/clang-20.0.0..ebuild
@@ -200,7 +200,6 @@ get_distribution_components() {
clang-offload-packager
clang-refactor
clang-repl
-   clang-rename
clang-scan-deps
diagtool
hmaptool
@@ -219,7 +218,6 @@ get_distribution_components() {
clang-include-cleaner
clang-include-fixer
clang-move
-   clang-pseudo
clang-query
clang-reorder-fields
clang-tidy



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-09-23 Thread Michał Górny
commit: 07231e29eee7227348515b6636aadce46e0d4c46
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 24 05:04:54 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 24 05:31:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07231e29

sys-devel/clang-common: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   4 -
 .../clang-common/clang-common-19.1.0_rc4.ebuild| 303 -
 .../clang-common-20.0.0_pre20240830.ebuild | 303 -
 .../clang-common-20.0.0_pre20240910.ebuild | 303 -
 4 files changed, 913 deletions(-)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index 05cedfc4345b..57bd418e5491 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -6,10 +6,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
-DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
 DIST llvm-project-19.1.0.src.tar.xz 141244872 BLAKE2B 
972d028599006d528acdb0ff107b30af8bef247a0f174991646d07f0a47e7d237a5a1700ae668a9f4496295535d688be550669e78b0775aaab044f5b268e
 SHA512 
396b34886f8442eeb5bc23152e8c2577e834d88f1d21a67829f9ca651b77c5ceb32df4e70c34dc1e6fea24abe45fa00f08502628de25fdbf32864f5b9066d23d
 DIST llvm-project-19.1.0.src.tar.xz.sig 438 BLAKE2B 
b044fcc6f331e75f9340e390ef8a95242a7f74e7c9835e67161fc4dd0ba0a8a5400e8ec4efd0fe50d2a9a9d950d0b37d5c0725868f450619b161a36ebded6a67
 SHA512 
d596d4942750818f489f114ff953a2b27e220abcf132d4d4ce0d910b73dfc283262507fc35cc0b61363c4af22cb9112dd7a662a89ea4b9667827fa1bde6785ed
 DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 
BLAKE2B 
9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02
 SHA512 
eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22
-DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7
-DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 
BLAKE2B 
7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c
 SHA512 
8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85

diff --git a/sys-devel/clang-common/clang-common-19.1.0_rc4.ebuild 
b/sys-devel/clang-common/clang-common-19.1.0_rc4.ebuild
deleted file mode 100644
index c96a86c4e05b..
--- a/sys-devel/clang-common/clang-common-19.1.0_rc4.ebuild
+++ /dev/null
@@ -1,303 +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
-   bo

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-09-23 Thread Michał Górny
commit: 43606ce5c8de1bd8de32fb560f546754dc0eb1fc
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 24 05:04:53 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 24 05:31:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43606ce5

sys-devel/clang: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   4 -
 sys-devel/clang/clang-19.1.0_rc4.ebuild | 470 ---
 sys-devel/clang/clang-20.0.0_pre20240830.ebuild | 471 
 sys-devel/clang/clang-20.0.0_pre20240910.ebuild | 471 
 4 files changed, 1416 deletions(-)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 2b9c04735f4b..94df22718126 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -14,10 +14,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
-DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
 DIST llvm-project-19.1.0.src.tar.xz 141244872 BLAKE2B 
972d028599006d528acdb0ff107b30af8bef247a0f174991646d07f0a47e7d237a5a1700ae668a9f4496295535d688be550669e78b0775aaab044f5b268e
 SHA512 
396b34886f8442eeb5bc23152e8c2577e834d88f1d21a67829f9ca651b77c5ceb32df4e70c34dc1e6fea24abe45fa00f08502628de25fdbf32864f5b9066d23d
 DIST llvm-project-19.1.0.src.tar.xz.sig 438 BLAKE2B 
b044fcc6f331e75f9340e390ef8a95242a7f74e7c9835e67161fc4dd0ba0a8a5400e8ec4efd0fe50d2a9a9d950d0b37d5c0725868f450619b161a36ebded6a67
 SHA512 
d596d4942750818f489f114ff953a2b27e220abcf132d4d4ce0d910b73dfc283262507fc35cc0b61363c4af22cb9112dd7a662a89ea4b9667827fa1bde6785ed
 DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 
BLAKE2B 
9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02
 SHA512 
eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22
-DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7
-DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 
BLAKE2B 
7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c
 SHA512 
8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85

diff --git a/sys-devel/clang/clang-19.1.0_rc4.ebuild 
b/sys-devel/clang/clang-19.1.0_rc4.ebuild
deleted file mode 100644
index e97008f8ad7a..
--- a/sys-devel/clang/clang-19.1.0_rc4.ebuild
+++ /dev/null
@@ -1,470 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit cmake llvm.org llvm-utils 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}/${LL

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-09-23 Thread Michał Górny
commit: 6cc7a2d259b0036bb3078c3e31c0f4be4e43328b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 24 05:04:33 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 24 05:31:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cc7a2d2

sys-devel/clang-runtime: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime/clang-runtime-19.1.0_rc4.ebuild  | 39 --
 .../clang-runtime-20.0.0_pre20240830.ebuild| 39 --
 .../clang-runtime-20.0.0_pre20240910.ebuild| 39 --
 3 files changed, 117 deletions(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.1.0_rc4.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.1.0_rc4.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-19.1.0_rc4.ebuild
+++ /dev/null
@@ -1,39 +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 openmp +sanitize"
-REQUIRED_USE="sanitize? ( compiler-rt )"
-
-RDEPEND="
-   compiler-rt? (
-   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   sanitize? (
-   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   )
-   )
-   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
-   openmp? ( >=sys-libs/libomp-${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/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240830.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240830.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240830.ebuild
+++ /dev/null
@@ -1,39 +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 openmp +sanitize"
-REQUIRED_USE="sanitize? ( compiler-rt )"
-
-RDEPEND="
-   compiler-rt? (
-   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   sanitize? (
-   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   )
-   )
-   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
-   openmp? ( >=sys-libs/libomp-${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/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240910.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240910.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240910.ebuild
+++ /dev/null
@@ -1,39 +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=

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-09-23 Thread Michał Górny
commit: 69bba33508e8ac91445314a233e59c85071a9581
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 14:41:13 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 23 15:11:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69bba335

sys-devel/clang: Hash manpage tarball

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 29239e5b5c69..2b9c04735f4b 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -2,6 +2,7 @@ DIST llvm-15.0.7-manpages.tar.bz2 228425 BLAKE2B 
573b030a32407cfe241fb2c8c62bed8
 DIST llvm-16.0.4-manpages.tar.bz2 243154 BLAKE2B 
69308e3ec19d750e7249b7c8cd79224c466b879c67dd900e201339486fa7fa4dd6ef9ef5b033b2443b32c3530cc76564fe2856a76f9b466fdab2b5c64148f089
 SHA512 
2d2b711adbd20a233d0611f81393faa29a2f32f0e64799a9a48185876045023ca1320becd2da110fbcbfce019a38df0d7c13fcaea3770b4fc23aa732eb11321b
 DIST llvm-17.0.1-manpages.tar.bz2 263148 BLAKE2B 
6485a261e356eacc4a274f9b8d329b53f11a37a23effea41a12322f6908bbe702dc1a97bfd10293061f01f1dbff8693e9324ab3dce2551e78eab128dbd7fea30
 SHA512 
963ff1b7aa0cb01ed0c0356a0adc3a315d94e78035e928dc81464f553e722633a17596e421c248968e87e22ae66f1ab9cccda5fd3388d1a6d34b5e9c6140ebcb
 DIST llvm-18.1.0-manpages.tar.bz2 270429 BLAKE2B 
d85d6e23197184dc512019c25805af0aa145eefb4c36215807c1ba70ad47943c05c06dbaafd84a7e6487bdd83814e03277374e095d97b129e3fc8d468c10741c
 SHA512 
5f492c85fad4e04e0148ea509f4b6520de9e2765c51e617363a11aa8e47c2d847f6b0897958ca1d93bccf0f6a9150868b7e04c728bd430c05bf2da30bdeba6cc
+DIST llvm-19.1.0-manpages.tar.bz2 286165 BLAKE2B 
d96df2e748d2d52af2e8b7023f59af9ab53a9e59480ff228726bf629f1ecd813af80f3ba4126919092beb7ad8214193e828f997d300c705b0d8b90d6aedb22ee
 SHA512 
aed63dee6629fe9116a9ce21e8bfb0e2c0b80ad276c6551f445ef01c71e130fef1615679adba8386ab57cac5104a153919e0b0df6bd66e023c5f0398081d2374
 DIST llvm-gentoo-patchset-15.0.7-r3.tar.xz 24268 BLAKE2B 
6531ae385ecea87bc26dba8ce19b4cde8ff224c80fd81f04c6ded131e305ecfdeb8d29ebd3b68a641d240805dc83eb0ebc7cc85124f02ad0ee66e0f201b91d7e
 SHA512 
66cb33f8b423736b990fb75d4f2d1e5f14c0b03308f403297204dd1a352d72f85f34220fd66d3de5d6df328cdf2ffce03c2a111cb0bb57791cf68a88069ac7df
 DIST llvm-gentoo-patchset-16.0.6.tar.xz 17340 BLAKE2B 
37cdf4b38367b4256d4f7a25d1b4f41758e5f81be8e20a1c94a10d6c5e36642e9672121b455e73a0bac2eb40467ef2db4b43789b2912a6790593d97b8b5c27e3
 SHA512 
2c02b9d8a4c5af9fddcd26c95dc66fffae32cb5b7f85c65a1aa4ed00dd8cd5b01cc1975a711aee63c0b8b11e9dc20f2bc05ea753904eb516892b820f02aff825
 DIST llvm-gentoo-patchset-17.0.6-r1.tar.xz 2792 BLAKE2B 
b4e9014179edd96add0c932b16d3a95a5d7a905298052164ff668590108c83cd4f938d42b6d801efedae28a959b03b2bc3c7cd2a4cad20ef2b3c7aa9a3d0c15d
 SHA512 
73a46aa9f6f2ac6334a073733aa082a12f97fb6a2750d5930af4eb1639cd192f3a17ea87c2f17947f04c68a5f60e37d9bc27ede8bab75531599edfb4c3aa8ffe



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-09-21 Thread Sam James
commit: d09b2cb36c5fa5e26543d529dd224de3df17d879
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 22 01:17:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 22 01:18:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d09b2cb3

sys-devel/clang-common: drop PDEPEND on sys-devel/clang:*

Drop the PDEPEND on sys-devel/clang:* because it confuses Portage
and leads to things like `emerge -v1 sys-devel/clang:17` pulling in
sys-devel/clang:18.

>From emerge --debug:
```
Parent:(sys-devel/clang-common-18.1.8-r1:0/0::gentoo, ebuild scheduled for 
merge)
Depstring: sys-devel/clang:* sys-devel/gcc sys-devel/gcc sys-devel/binutils
Priority:  runtime_post
Candidates: ['sys-devel/clang:*', 'sys-devel/gcc', 'sys-devel/gcc', 
'sys-devel/binutils']
   ebuild: sys-devel/clang-18.1.8::gentoo
```

This is one of those patterns which comes up every so often, same with
pam and pambase. Ultimately, nobody is going to emerge clang-common by
itself and then wonder why clang isn't installed.

We're better off just dropping the dep as it serves no real value anyway.

Reported-by: Calvin Buckley  cmpct.info>
Signed-off-by: Sam James  gentoo.org>

 .../{clang-common-15.0.7-r9.ebuild => clang-common-15.0.7-r10.ebuild}| 1 -
 .../{clang-common-16.0.6-r5.ebuild => clang-common-16.0.6-r6.ebuild} | 1 -
 .../{clang-common-17.0.6-r8.ebuild => clang-common-17.0.6-r10.ebuild}| 1 -
 .../{clang-common-17.0.6-r7.ebuild => clang-common-17.0.6-r9.ebuild} | 1 -
 .../{clang-common-18.1.8-r2.ebuild => clang-common-18.1.8-r3.ebuild} | 1 -
 .../{clang-common-19.1.0-r1.ebuild => clang-common-19.1.0-r2.ebuild} | 1 -
 sys-devel/clang-common/clang-common-19.1.0_rc4.ebuild| 1 -
 sys-devel/clang-common/clang-common-20.0.0..ebuild   | 1 -
 sys-devel/clang-common/clang-common-20.0.0_pre20240830.ebuild| 1 -
 sys-devel/clang-common/clang-common-20.0.0_pre20240910.ebuild| 1 -
 sys-devel/clang-common/clang-common-20.0.0_pre20240917.ebuild| 1 -
 11 files changed, 11 deletions(-)

diff --git a/sys-devel/clang-common/clang-common-15.0.7-r9.ebuild 
b/sys-devel/clang-common/clang-common-15.0.7-r10.ebuild
similarity index 99%
rename from sys-devel/clang-common/clang-common-15.0.7-r9.ebuild
rename to sys-devel/clang-common/clang-common-15.0.7-r10.ebuild
index 3416e3b981a4..d724729a628b 100644
--- a/sys-devel/clang-common/clang-common-15.0.7-r9.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.7-r10.ebuild
@@ -17,7 +17,6 @@ IUSE="
 "
 
 PDEPEND="
-   sys-devel/clang:*
default-compiler-rt? (
sys-devel/clang-runtime:${PV}[compiler-rt]
llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )

diff --git a/sys-devel/clang-common/clang-common-16.0.6-r5.ebuild 
b/sys-devel/clang-common/clang-common-16.0.6-r6.ebuild
similarity index 99%
rename from sys-devel/clang-common/clang-common-16.0.6-r5.ebuild
rename to sys-devel/clang-common/clang-common-16.0.6-r6.ebuild
index 8f96c70ce638..e6b8345426e7 100644
--- a/sys-devel/clang-common/clang-common-16.0.6-r5.ebuild
+++ b/sys-devel/clang-common/clang-common-16.0.6-r6.ebuild
@@ -17,7 +17,6 @@ IUSE="
 "
 
 PDEPEND="
-   sys-devel/clang:*
default-compiler-rt? (
sys-devel/clang-runtime:${LLVM_MAJOR}[compiler-rt]
llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )

diff --git a/sys-devel/clang-common/clang-common-17.0.6-r8.ebuild 
b/sys-devel/clang-common/clang-common-17.0.6-r10.ebuild
similarity index 99%
rename from sys-devel/clang-common/clang-common-17.0.6-r8.ebuild
rename to sys-devel/clang-common/clang-common-17.0.6-r10.ebuild
index 4e7d8272b374..0770e0337cbd 100644
--- a/sys-devel/clang-common/clang-common-17.0.6-r8.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.6-r10.ebuild
@@ -17,7 +17,6 @@ IUSE="
 "
 
 PDEPEND="
-   sys-devel/clang:*
default-compiler-rt? (
sys-devel/clang-runtime:${LLVM_MAJOR}[compiler-rt]
llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )

diff --git a/sys-devel/clang-common/clang-common-17.0.6-r7.ebuild 
b/sys-devel/clang-common/clang-common-17.0.6-r9.ebuild
similarity index 99%
rename from sys-devel/clang-common/clang-common-17.0.6-r7.ebuild
rename to sys-devel/clang-common/clang-common-17.0.6-r9.ebuild
index bb6ffa025ae6..5f634ac72ad7 100644
--- a/sys-devel/clang-common/clang-common-17.0.6-r7.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.6-r9.ebuild
@@ -17,7 +17,6 @@ IUSE="
 "
 
 PDEPEND="
-   sys-devel/clang:*
default-compiler-rt? (
sys-devel/clang-runtime:${LLVM_MAJOR}[compiler-rt]
llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )

diff --git a/sys-devel/clang-common/clang-common-18.1.8-r2.ebuild 
b/sys-devel/clang-common/clang-common-18.1.8-r3.ebuild
similarity index 99%
rename from sys-devel/clang-common/clang-common-18.1.8-r2.ebuild
rename

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-09-21 Thread Sam James
commit: 696f6219b94c6344e73aa6f850962752a1c07950
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 22 01:01:43 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 22 01:01:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=696f6219

sys-devel/clang-common: depend on matching clang-runtime

Same rationale as 0cc229320a24ffa560d9fc101d4d73b03b7ce427, although
it'll affect fewer people b/c it's only for default-compiler-rt.

We may want to do this for the dep on sys-devel/clang too but the :*
should make it okay too.

Signed-off-by: Sam James  gentoo.org>

 .../{clang-common-15.0.7-r8.ebuild => clang-common-15.0.7-r9.ebuild}| 2 +-
 .../{clang-common-16.0.6-r4.ebuild => clang-common-16.0.6-r5.ebuild}| 2 +-
 .../{clang-common-17.0.6-r5.ebuild => clang-common-17.0.6-r7.ebuild}| 2 +-
 .../{clang-common-17.0.6-r6.ebuild => clang-common-17.0.6-r8.ebuild}| 2 +-
 .../{clang-common-18.1.8-r1.ebuild => clang-common-18.1.8-r2.ebuild}| 2 +-
 .../{clang-common-19.1.0.ebuild => clang-common-19.1.0-r1.ebuild}   | 2 +-
 sys-devel/clang-common/clang-common-19.1.0_rc4.ebuild   | 2 +-
 sys-devel/clang-common/clang-common-20.0.0..ebuild  | 2 +-
 sys-devel/clang-common/clang-common-20.0.0_pre20240830.ebuild   | 2 +-
 sys-devel/clang-common/clang-common-20.0.0_pre20240910.ebuild   | 2 +-
 sys-devel/clang-common/clang-common-20.0.0_pre20240917.ebuild   | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/sys-devel/clang-common/clang-common-15.0.7-r8.ebuild 
b/sys-devel/clang-common/clang-common-15.0.7-r9.ebuild
similarity index 99%
rename from sys-devel/clang-common/clang-common-15.0.7-r8.ebuild
rename to sys-devel/clang-common/clang-common-15.0.7-r9.ebuild
index 4d200fba7af7..3416e3b981a4 100644
--- a/sys-devel/clang-common/clang-common-15.0.7-r8.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.7-r9.ebuild
@@ -19,7 +19,7 @@ IUSE="
 PDEPEND="
sys-devel/clang:*
default-compiler-rt? (
-   sys-devel/clang-runtime[compiler-rt]
+   sys-devel/clang-runtime:${PV}[compiler-rt]
llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
!llvm-libunwind? ( sys-libs/libunwind[static-libs] )
)

diff --git a/sys-devel/clang-common/clang-common-16.0.6-r4.ebuild 
b/sys-devel/clang-common/clang-common-16.0.6-r5.ebuild
similarity index 99%
rename from sys-devel/clang-common/clang-common-16.0.6-r4.ebuild
rename to sys-devel/clang-common/clang-common-16.0.6-r5.ebuild
index 8185d75d346e..8f96c70ce638 100644
--- a/sys-devel/clang-common/clang-common-16.0.6-r4.ebuild
+++ b/sys-devel/clang-common/clang-common-16.0.6-r5.ebuild
@@ -19,7 +19,7 @@ IUSE="
 PDEPEND="
sys-devel/clang:*
default-compiler-rt? (
-   sys-devel/clang-runtime[compiler-rt]
+   sys-devel/clang-runtime:${LLVM_MAJOR}[compiler-rt]
llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
!llvm-libunwind? ( sys-libs/libunwind[static-libs] )
)

diff --git a/sys-devel/clang-common/clang-common-17.0.6-r5.ebuild 
b/sys-devel/clang-common/clang-common-17.0.6-r7.ebuild
similarity index 99%
rename from sys-devel/clang-common/clang-common-17.0.6-r5.ebuild
rename to sys-devel/clang-common/clang-common-17.0.6-r7.ebuild
index e736620feb37..bb6ffa025ae6 100644
--- a/sys-devel/clang-common/clang-common-17.0.6-r5.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.6-r7.ebuild
@@ -19,7 +19,7 @@ IUSE="
 PDEPEND="
sys-devel/clang:*
default-compiler-rt? (
-   sys-devel/clang-runtime[compiler-rt]
+   sys-devel/clang-runtime:${LLVM_MAJOR}[compiler-rt]
llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
!llvm-libunwind? ( sys-libs/libunwind[static-libs] )
)

diff --git a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild 
b/sys-devel/clang-common/clang-common-17.0.6-r8.ebuild
similarity index 99%
rename from sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
rename to sys-devel/clang-common/clang-common-17.0.6-r8.ebuild
index 110bac527f16..4e7d8272b374 100644
--- a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.6-r8.ebuild
@@ -19,7 +19,7 @@ IUSE="
 PDEPEND="
sys-devel/clang:*
default-compiler-rt? (
-   sys-devel/clang-runtime[compiler-rt]
+   sys-devel/clang-runtime:${LLVM_MAJOR}[compiler-rt]
llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
!llvm-libunwind? ( sys-libs/libunwind[static-libs] )
)

diff --git a/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild 
b/sys-devel/clang-common/clang-common-18.1.8-r2.ebuild
similarity index 99%
rename from sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
rename to sys-devel/clang-common/clang-common-18.1.8-r2.ebuild
index e45

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-09-17 Thread Michał Górny
commit: 7eb6a6dc4bdcf66ccdc88da1ffc8318ac5a91a34
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 17 09:56:47 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 17 12:12:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eb6a6dc

sys-devel/clang: Add 20.0.0_pre20240917 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   1 +
 sys-devel/clang/clang-20.0.0_pre20240917.ebuild | 471 
 2 files changed, 472 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index d43d1385adf3..0cde05c052a4 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -15,5 +15,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.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
+DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 
BLAKE2B 
9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02
 SHA512 
eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7
 DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 
BLAKE2B 
7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c
 SHA512 
8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85

diff --git a/sys-devel/clang/clang-20.0.0_pre20240917.ebuild 
b/sys-devel/clang/clang-20.0.0_pre20240917.ebuild
new file mode 100644
index ..857f7b1ed5a2
--- /dev/null
+++ b/sys-devel/clang/clang-20.0.0_pre20240917.ebuild
@@ -0,0 +1,471 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-09-17 Thread Michał Górny
commit: 7330bd9ea7f30aaccb71c593a45e92b8f0ebd90a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 17 09:56:59 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 17 12:12:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7330bd9e

sys-devel/clang-runtime: Add 20.0.0_pre20240917 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-20.0.0_pre20240917.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240917.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240917.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240917.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang-common/

2024-09-17 Thread Michał Górny
commit: 745f07f345cfd0e2a62a25d6ce630b7a694e2185
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 17 09:56:46 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 17 12:12:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=745f07f3

sys-devel/clang-common: Add 20.0.0_pre20240917 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   1 +
 .../clang-common-20.0.0_pre20240917.ebuild | 305 +
 2 files changed, 306 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index f76a426aa2cc..da671e73c02c 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -8,5 +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.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
+DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 
BLAKE2B 
9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02
 SHA512 
eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7
 DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 
BLAKE2B 
7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c
 SHA512 
8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85

diff --git a/sys-devel/clang-common/clang-common-20.0.0_pre20240917.ebuild 
b/sys-devel/clang-common/clang-common-20.0.0_pre20240917.ebuild
new file mode 100644
index ..56db34cffe17
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-20.0.0_pre20240917.ebuild
@@ -0,0 +1,305 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
+   eerror
+   eerror "  ${missing_flags[*]}"
+   eerror
+   eerror "The default runtimes are now set via flags on 
sys-devel/clang-c

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-09-17 Thread Michał Górny
commit: 8f8d82a41eb0f0b0cf04da9ac15b42454d5079ed
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 16 12:37:39 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 17 12:12:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f8d82a4

sys-devel/clang-common: Cover more sanitizers for FORTIFY_SOURCE

Signed-off-by: Michał Górny  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/38624
Signed-off-by: Michał Górny  gentoo.org>

 .../clang-common/clang-common-20.0.0..ebuild  | 19 ++-
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/sys-devel/clang-common/clang-common-20.0.0..ebuild 
b/sys-devel/clang-common/clang-common-20.0.0..ebuild
index 090a45690818..56db34cffe17 100644
--- a/sys-devel/clang-common/clang-common-20.0.0..ebuild
+++ b/sys-devel/clang-common/clang-common-20.0.0..ebuild
@@ -227,19 +227,20 @@ src_install() {
#  define __GENTOO_HAS_FEATURE(x) 0
# endif
#
-   # if defined(__STDC_HOSTED__) && __STDC_HOSTED__ == 1
-   #  define __GENTOO_NOT_FREESTANDING 1
+   # if !defined(__OPTIMIZE__) || __OPTIMIZE__ == 0
+   # elif !defined(__STDC_HOSTED__) || __STDC_HOSTED__ != 1
+   # elif defined(__SANITIZE_ADDRESS__)
+   # elif __GENTOO_HAS_FEATURE(address_sanitizer)
+   # elif __GENTOO_HAS_FEATURE(hwaddress_sanitizer)
+   # elif __GENTOO_HAS_FEATURE(memory_sanitizer)
+   # elif __GENTOO_HAS_FEATURE(numerical_stability_sanitizer)
+   # elif __GENTOO_HAS_FEATURE(realtime_sanitizer)
+   # elif __GENTOO_HAS_FEATURE(thread_sanitizer)
# else
-   #  define __GENTOO_NOT_FREESTANDING 0
+   #  define _FORTIFY_SOURCE ${fortify_level}
# endif
#
-   # if defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 && 
__GENTOO_NOT_FREESTANDING > 0
-   #  if !defined(__SANITIZE_ADDRESS__) && 
!__GENTOO_HAS_FEATURE(address_sanitizer) && 
!__GENTOO_HAS_FEATURE(memory_sanitizer)
-   #   define _FORTIFY_SOURCE ${fortify_level}
-   #  endif
-   # endif
# undef __GENTOO_HAS_FEATURE
-   # undef __GENTOO_NOT_FREESTANDING
#endif
EOF
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-09-10 Thread Michał Górny
commit: 487aa22e9c28c9e6df8e1046ff0fb7123173dc41
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 10 11:45:33 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 10 12:58:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=487aa22e

sys-devel/clang-runtime: Add 20.0.0_pre20240910 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-20.0.0_pre20240910.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240910.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240910.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240910.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-09-10 Thread Michał Górny
commit: f8d77cc3cd49e5839d4e16ca8e9a2832aaa00e77
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 10 11:45:20 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 10 12:58:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8d77cc3

sys-devel/clang: Add 20.0.0_pre20240910 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   1 +
 sys-devel/clang/clang-20.0.0_pre20240910.ebuild | 471 
 2 files changed, 472 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index e5550dfcba71..d43d1385adf3 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -16,3 +16,4 @@ DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b8577
 DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7
+DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 
BLAKE2B 
7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c
 SHA512 
8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85

diff --git a/sys-devel/clang/clang-20.0.0_pre20240910.ebuild 
b/sys-devel/clang/clang-20.0.0_pre20240910.ebuild
new file mode 100644
index ..857f7b1ed5a2
--- /dev/null
+++ b/sys-devel/clang/clang-20.0.0_pre20240910.ebuild
@@ -0,0 +1,471 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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 sys-devel/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 ${EPR

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-09-10 Thread Michał Górny
commit: 0821e6f2f657c22e26d801813d7ea0d0f30e1ea0
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 10 11:45:18 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 10 12:58:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0821e6f2

sys-devel/clang-common: Add 20.0.0_pre20240910 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   1 +
 .../clang-common-20.0.0_pre20240910.ebuild | 304 +
 2 files changed, 305 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index a1930a7c39a5..f76a426aa2cc 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b8577
 DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7
+DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 
BLAKE2B 
7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c
 SHA512 
8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85

diff --git a/sys-devel/clang-common/clang-common-20.0.0_pre20240910.ebuild 
b/sys-devel/clang-common/clang-common-20.0.0_pre20240910.ebuild
new file mode 100644
index ..090a45690818
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-20.0.0_pre20240910.ebuild
@@ -0,0 +1,304 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
+   eerror
+   eerror "  ${missing_flags[*]}"
+   eerror
+   eerror "The default runtimes are now set via flags on 
sys-devel/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 "  sys-devel/clang-common ${missing_flags[*]}"
+   eerror
+   eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1."
+   die "Mismatched defaults detected between sys-devel/clang and 
sys-devel/clang-common"
+   fi
+}
+
+_doclang_cfg() {
+   local triple="${1}"
+
+   local tool
+   for tool in ${triple}-clang{,++}; do
+   newins - "${tool}.cfg" <<-EOF
+   # This configurat

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-09-10 Thread Michał Górny
commit: 50e52e2f9821d98033055b0b4dcb5537ed97ecff
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 10 07:08:41 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 10 07:08:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50e52e2f

sys-devel/clang-runtime: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime/clang-runtime-19.1.0_rc3.ebuild  | 39 --
 .../clang-runtime-20.0.0_pre20240822.ebuild| 39 --
 2 files changed, 78 deletions(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.1.0_rc3.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.1.0_rc3.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-19.1.0_rc3.ebuild
+++ /dev/null
@@ -1,39 +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 openmp +sanitize"
-REQUIRED_USE="sanitize? ( compiler-rt )"
-
-RDEPEND="
-   compiler-rt? (
-   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   sanitize? (
-   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   )
-   )
-   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
-   openmp? ( >=sys-libs/libomp-${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/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240822.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240822.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240822.ebuild
+++ /dev/null
@@ -1,39 +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 openmp +sanitize"
-REQUIRED_USE="sanitize? ( compiler-rt )"
-
-RDEPEND="
-   compiler-rt? (
-   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   sanitize? (
-   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   )
-   )
-   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
-   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang-common/

2024-09-10 Thread Michał Górny
commit: e85a20588e2e5e1d294506618b8b61d55b78486d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 10 07:09:01 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 10 07:09:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e85a2058

sys-devel/clang-common: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   3 -
 .../clang-common/clang-common-19.1.0_rc3.ebuild| 304 -
 .../clang-common-20.0.0_pre20240822.ebuild | 304 -
 3 files changed, 611 deletions(-)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index a680a4fa2609..a1930a7c39a5 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -6,9 +6,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
-DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
-DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7

diff --git a/sys-devel/clang-common/clang-common-19.1.0_rc3.ebuild 
b/sys-devel/clang-common/clang-common-19.1.0_rc3.ebuild
deleted file mode 100644
index 090a45690818..
--- a/sys-devel/clang-common/clang-common-19.1.0_rc3.ebuild
+++ /dev/null
@@ -1,304 +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="
-   sys-devel/clang:*
-   default-compiler-rt? (
-   sys-devel/clang-runtime[compiler-rt]
-   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
-   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
-   )
-   !default-compiler-rt? ( sys-devel/gcc )
-   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-l

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-09-10 Thread Michał Górny
commit: 9ecb9b827c7a19da22af4def9c555c3fc13dde42
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 10 07:08:59 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 10 07:08:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ecb9b82

sys-devel/clang: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   3 -
 sys-devel/clang/clang-19.1.0_rc3.ebuild | 470 ---
 sys-devel/clang/clang-20.0.0_pre20240822.ebuild | 471 
 3 files changed, 944 deletions(-)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index e09bd02f362f..e5550dfcba71 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -13,9 +13,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
-DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
-DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7

diff --git a/sys-devel/clang/clang-19.1.0_rc3.ebuild 
b/sys-devel/clang/clang-19.1.0_rc3.ebuild
deleted file mode 100644
index e97008f8ad7a..
--- a/sys-devel/clang/clang-19.1.0_rc3.ebuild
+++ /dev/null
@@ -1,470 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit cmake llvm.org llvm-utils 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="
-   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
-   static-analyzer? ( dev-lang/perl:* )
-   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
-"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   ${DEPEND}
-   >=sys-devel/clang-common-

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-09-08 Thread Arthur Zamarin
commit: f152ae6ad6f8aa5a6ebca387a57e898ea6be
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Sep  8 16:03:16 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Sep  8 16:03:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f152ae6a

sys-devel/clang: Keyword 18.1.8 mips, #939297

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/clang/clang-18.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang/clang-18.1.8.ebuild 
b/sys-devel/clang/clang-18.1.8.ebuild
index 25c68d567f93..0dad629e1672 100644
--- a/sys-devel/clang/clang-18.1.8.ebuild
+++ b/sys-devel/clang/clang-18.1.8.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 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: sys-devel/clang-common/

2024-09-08 Thread Arthur Zamarin
commit: 82891dbbbe7134b329c5abd393eef448414fb5a0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Sep  8 16:03:16 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Sep  8 16:03:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82891dbb

sys-devel/clang-common: Keyword 18.1.8-r1 mips, #939297

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/clang-common/clang-common-18.1.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild 
b/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
index ceeb2fd3046f..e45a2de975b5 100644
--- a/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
+++ b/sys-devel/clang-common/clang-common-18.1.8-r1.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 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: sys-devel/clang-toolchain-symlinks/

2024-09-08 Thread Arthur Zamarin
commit: 3bd1e6425d2499b432fcc7db19a2e7accb3e2c8f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Sep  8 16:03:18 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Sep  8 16:03:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bd1e642

sys-devel/clang-toolchain-symlinks: Keyword 18 mips, #939297

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild 
b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
index 436e2673639f..18d3e444c0e2 100644
--- a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
+++ b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="public-domain"
 SLOT="${PV}"
-KEYWORDS="amd64 arm arm64 ~loong 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="gcc-symlinks multilib-symlinks +native-symlinks"
 
 # Blocker for bug #872416



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-09-08 Thread Arthur Zamarin
commit: 04de277ad3777c394291fcef4e80b79a0e82883a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Sep  8 16:03:18 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Sep  8 16:03:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04de277a

sys-devel/clang-runtime: Keyword 18.1.8 mips, #939297

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild 
b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
index 25889f60d661..e95d8a0af7dc 100644
--- a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
+++ b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://clang.llvm.org/";
 
 LICENSE="metapackage"
 SLOT="${PV%%.*}"
-KEYWORDS="amd64 arm arm64 ~loong 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 openmp +sanitize"
 REQUIRED_USE="sanitize? ( compiler-rt )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-09-03 Thread Michał Górny
commit: 4433e297ef3456793d4edd4e448e57532c4e6739
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep  3 19:41:52 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep  3 19:45:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4433e297

sys-devel/clang-runtime: Add 19.1.0_rc4

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime/clang-runtime-19.1.0_rc4.ebuild  | 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.1.0_rc4.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.1.0_rc4.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-19.1.0_rc4.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-09-03 Thread Michał Górny
commit: afcb39e06b5bd5685dd0e2065c0acb1c94072082
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep  3 19:41:39 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep  3 19:44:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afcb39e0

sys-devel/clang: Add 19.1.0_rc4

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   2 +
 sys-devel/clang/clang-19.1.0_rc4.ebuild | 470 
 2 files changed, 472 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 3980a75e1739..e09bd02f362f 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -15,5 +15,7 @@ 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.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
+DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
+DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
 DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7

diff --git a/sys-devel/clang/clang-19.1.0_rc4.ebuild 
b/sys-devel/clang/clang-19.1.0_rc4.ebuild
new file mode 100644
index ..e97008f8ad7a
--- /dev/null
+++ b/sys-devel/clang/clang-19.1.0_rc4.ebuild
@@ -0,0 +1,470 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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 libcla

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-09-03 Thread Michał Górny
commit: 5b23473ab7e0459c046ff6f0c39e2aacbcd26bf1
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep  3 19:41:38 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep  3 19:44:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b23473a

sys-devel/clang-common: Add 19.1.0_rc4

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   2 +
 .../clang-common/clang-common-19.1.0_rc4.ebuild| 304 +
 2 files changed, 306 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index e02d1f532095..a680a4fa2609 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -8,5 +8,7 @@ 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.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
+DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B 
c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435
 SHA512 
826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8
+DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B 
aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a
 SHA512 
5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8
 DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7

diff --git a/sys-devel/clang-common/clang-common-19.1.0_rc4.ebuild 
b/sys-devel/clang-common/clang-common-19.1.0_rc4.ebuild
new file mode 100644
index ..090a45690818
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-19.1.0_rc4.ebuild
@@ -0,0 +1,304 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   e

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-08-31 Thread Michał Górny
commit: f8f5f08360fb2b2361f124ab2f7f1cdcb4e7dfb7
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 31 08:29:44 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 31 08:33:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8f5f083

sys-devel/clang-runtime: Add 20.0.0_pre20240830 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-20.0.0_pre20240830.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240830.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240830.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240830.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-08-31 Thread Michał Górny
commit: c010830dcfeec2139126bdf90298e67527fa9e1e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 31 08:29:33 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 31 08:32:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c010830d

sys-devel/clang: Add 20.0.0_pre20240830 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   1 +
 sys-devel/clang/clang-20.0.0_pre20240830.ebuild | 471 
 2 files changed, 472 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index ee0f492956e4..3980a75e1739 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -16,3 +16,4 @@ DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b8577
 DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
+DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7

diff --git a/sys-devel/clang/clang-20.0.0_pre20240830.ebuild 
b/sys-devel/clang/clang-20.0.0_pre20240830.ebuild
new file mode 100644
index ..857f7b1ed5a2
--- /dev/null
+++ b/sys-devel/clang/clang-20.0.0_pre20240830.ebuild
@@ -0,0 +1,471 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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 sys-devel/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 ${EPR

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-08-31 Thread Michał Górny
commit: 7f63d61db095d3821299686f97568fe79ed49907
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 31 08:29:32 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 31 08:32:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f63d61d

sys-devel/clang-common: Add 20.0.0_pre20240830 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   1 +
 .../clang-common-20.0.0_pre20240830.ebuild | 304 +
 2 files changed, 305 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index f98bf2d3492a..e02d1f532095 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b8577
 DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
+DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 
BLAKE2B 
61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9
 SHA512 
a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7

diff --git a/sys-devel/clang-common/clang-common-20.0.0_pre20240830.ebuild 
b/sys-devel/clang-common/clang-common-20.0.0_pre20240830.ebuild
new file mode 100644
index ..090a45690818
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-20.0.0_pre20240830.ebuild
@@ -0,0 +1,304 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
+   eerror
+   eerror "  ${missing_flags[*]}"
+   eerror
+   eerror "The default runtimes are now set via flags on 
sys-devel/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 "  sys-devel/clang-common ${missing_flags[*]}"
+   eerror
+   eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1."
+   die "Mismatched defaults detected between sys-devel/clang and 
sys-devel/clang-common"
+   fi
+}
+
+_doclang_cfg() {
+   local triple="${1}"
+
+   local tool
+   for tool in ${triple}-clang{,++}; do
+   newins - "${tool}.cfg" <<-EOF
+   # This configurat

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-08-27 Thread Michał Górny
commit: 370c200e66bb72744e98f677c257b494932f62c4
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 27 13:16:58 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 27 13:16:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=370c200e

sys-devel/clang-common: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   4 -
 .../clang-common/clang-common-19.1.0_rc2.ebuild| 304 -
 .../clang-common-20.0.0_pre20240808.ebuild | 304 -
 .../clang-common-20.0.0_pre20240815.ebuild | 304 -
 4 files changed, 916 deletions(-)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index b2c074c06376..f98bf2d3492a 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -6,10 +6,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
-DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
 DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
-DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
-DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-devel/clang-common/clang-common-19.1.0_rc2.ebuild 
b/sys-devel/clang-common/clang-common-19.1.0_rc2.ebuild
deleted file mode 100644
index 090a45690818..
--- a/sys-devel/clang-common/clang-common-19.1.0_rc2.ebuild
+++ /dev/null
@@ -1,304 +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
- 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-08-27 Thread Michał Górny
commit: a0dc79f3b9dce797b79fc84122921e3c5e64edd1
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 27 13:16:57 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 27 13:16:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0dc79f3

sys-devel/clang: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   4 -
 sys-devel/clang/clang-19.1.0_rc2.ebuild | 470 ---
 sys-devel/clang/clang-20.0.0_pre20240808.ebuild | 471 
 sys-devel/clang/clang-20.0.0_pre20240815.ebuild | 471 
 4 files changed, 1416 deletions(-)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index ea73e76ae36e..ee0f492956e4 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -13,10 +13,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
-DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
 DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
-DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
-DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-devel/clang/clang-19.1.0_rc2.ebuild 
b/sys-devel/clang/clang-19.1.0_rc2.ebuild
deleted file mode 100644
index e97008f8ad7a..
--- a/sys-devel/clang/clang-19.1.0_rc2.ebuild
+++ /dev/null
@@ -1,470 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit cmake llvm.org llvm-utils 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_MAJ

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-08-27 Thread Michał Górny
commit: 3ca932fe17c84ee1270972f9e1ddc9cc3bd17b0f
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 27 13:16:43 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 27 13:16:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca932fe

sys-devel/clang-runtime: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime/clang-runtime-19.1.0_rc2.ebuild  | 39 --
 .../clang-runtime-20.0.0_pre20240808.ebuild| 39 --
 .../clang-runtime-20.0.0_pre20240815.ebuild| 39 --
 3 files changed, 117 deletions(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.1.0_rc2.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.1.0_rc2.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-19.1.0_rc2.ebuild
+++ /dev/null
@@ -1,39 +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 openmp +sanitize"
-REQUIRED_USE="sanitize? ( compiler-rt )"
-
-RDEPEND="
-   compiler-rt? (
-   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   sanitize? (
-   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   )
-   )
-   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
-   openmp? ( >=sys-libs/libomp-${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/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240808.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240808.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240808.ebuild
+++ /dev/null
@@ -1,39 +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 openmp +sanitize"
-REQUIRED_USE="sanitize? ( compiler-rt )"
-
-RDEPEND="
-   compiler-rt? (
-   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   sanitize? (
-   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   )
-   )
-   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
-   openmp? ( >=sys-libs/libomp-${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/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240815.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240815.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240815.ebuild
+++ /dev/null
@@ -1,39 +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=

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-08-22 Thread Michał Górny
commit: c558713d11db7ecd621d3e7ebef2082f1778b143
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 22 11:16:24 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 22 11:23:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c558713d

sys-devel/clang-runtime: Add 20.0.0_pre20240822 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-20.0.0_pre20240822.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240822.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240822.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240822.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-08-22 Thread Michał Górny
commit: f1fa0b037257a9b6fe59b4eb413ac4ff165af08d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 22 11:16:13 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 22 11:23:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1fa0b03

sys-devel/clang: Add 20.0.0_pre20240822 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   1 +
 sys-devel/clang/clang-20.0.0_pre20240822.ebuild | 471 
 2 files changed, 472 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 5d00ccf5bca9..ea73e76ae36e 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -17,5 +17,6 @@ DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
 DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
+DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
 DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
 DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-devel/clang/clang-20.0.0_pre20240822.ebuild 
b/sys-devel/clang/clang-20.0.0_pre20240822.ebuild
new file mode 100644
index ..857f7b1ed5a2
--- /dev/null
+++ b/sys-devel/clang/clang-20.0.0_pre20240822.ebuild
@@ -0,0 +1,471 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-08-22 Thread Michał Górny
commit: afa791b89c378919f08e053b54a68e0fe23b22a5
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 22 11:16:12 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 22 11:23:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afa791b8

sys-devel/clang-common: Add 20.0.0_pre20240822 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   1 +
 .../clang-common-20.0.0_pre20240822.ebuild | 304 +
 2 files changed, 305 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index b26d3b2910dd..b2c074c06376 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -10,5 +10,6 @@ DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
 DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
+DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 
BLAKE2B 
40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f
 SHA512 
a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d
 DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
 DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-devel/clang-common/clang-common-20.0.0_pre20240822.ebuild 
b/sys-devel/clang-common/clang-common-20.0.0_pre20240822.ebuild
new file mode 100644
index ..090a45690818
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-20.0.0_pre20240822.ebuild
@@ -0,0 +1,304 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
+   eerror
+   eerror "  ${missing_flags[*]}"
+   eerror
+   eerror "The default runtimes are now set via flags on 
sys-devel/c

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-08-20 Thread Michał Górny
commit: cf8692e06cbebb12ba5d01adf2ae3484c6688535
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 20 14:51:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 20 15:40:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8692e0

sys-devel/clang-runtime: Add 19.1.0_rc3

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime/clang-runtime-19.1.0_rc3.ebuild  | 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.1.0_rc3.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.1.0_rc3.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-19.1.0_rc3.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang-common/

2024-08-20 Thread Michał Górny
commit: 98ce26c740b07046541a18ca4daa8991c60f0174
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 20 14:51:17 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 20 15:40:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98ce26c7

sys-devel/clang-common: Add 19.1.0_rc3

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   2 +
 .../clang-common/clang-common-19.1.0_rc3.ebuild| 304 +
 2 files changed, 306 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index 199e0e69f022..b26d3b2910dd 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -8,5 +8,7 @@ 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.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
+DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
+DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
 DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-devel/clang-common/clang-common-19.1.0_rc3.ebuild 
b/sys-devel/clang-common/clang-common-19.1.0_rc3.ebuild
new file mode 100644
index ..090a45690818
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-19.1.0_rc3.ebuild
@@ -0,0 +1,304 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   e

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-08-20 Thread Michał Górny
commit: 721ae54ca3215feb82d8bf85aa6f5019fdbda574
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 20 14:51:18 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 20 15:40:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=721ae54c

sys-devel/clang: Add 19.1.0_rc3

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   2 +
 sys-devel/clang/clang-19.1.0_rc3.ebuild | 470 
 2 files changed, 472 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 45ec18ff2f1c..5d00ccf5bca9 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -15,5 +15,7 @@ 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.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
+DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 
6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b
 SHA512 
3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a76dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3
+DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 
86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf
 SHA512 
ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266
 DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
 DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-devel/clang/clang-19.1.0_rc3.ebuild 
b/sys-devel/clang/clang-19.1.0_rc3.ebuild
new file mode 100644
index ..e97008f8ad7a
--- /dev/null
+++ b/sys-devel/clang/clang-19.1.0_rc3.ebuild
@@ -0,0 +1,470 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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 libcla

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-08-15 Thread Michał Górny
commit: 3a5761dc661249528e6b5e9229551864a1791c4f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 15 19:16:34 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 15 20:01:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a5761dc

sys-devel/clang-common: Add 20.0.0_pre20240815 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   1 +
 .../clang-common-20.0.0_pre20240815.ebuild | 304 +
 2 files changed, 305 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index e96e91af93d0..199e0e69f022 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -8,4 +8,5 @@ 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.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
+DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
 DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-devel/clang-common/clang-common-20.0.0_pre20240815.ebuild 
b/sys-devel/clang-common/clang-common-20.0.0_pre20240815.ebuild
new file mode 100644
index ..090a45690818
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-20.0.0_pre20240815.ebuild
@@ -0,0 +1,304 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
+   eerror
+   eerror "  ${missing_flags[*]}"
+   eerror
+   eerror "The default runtimes are now set via flags on 
sys-devel/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 "  sys-devel/clang-common ${missing_flags[*]}"
+   eerror
+   eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-08-15 Thread Michał Górny
commit: fc26a535f435e752f7dbb6e3549f879d55907e6f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 15 19:16:46 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 15 20:01:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc26a535

sys-devel/clang-runtime: Add 20.0.0_pre20240815 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-20.0.0_pre20240815.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240815.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240815.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240815.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-08-15 Thread Michał Górny
commit: 34b2bef997255e094b980f04bcf5ee4ba9b995b0
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 15 19:16:35 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 15 20:01:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34b2bef9

sys-devel/clang: Add 20.0.0_pre20240815 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   1 +
 sys-devel/clang/clang-20.0.0_pre20240815.ebuild | 471 
 2 files changed, 472 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index b1320c7ccea1..45ec18ff2f1c 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -15,4 +15,5 @@ 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.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
+DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 
BLAKE2B 
691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324
 SHA512 
2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
 DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-devel/clang/clang-20.0.0_pre20240815.ebuild 
b/sys-devel/clang/clang-20.0.0_pre20240815.ebuild
new file mode 100644
index ..857f7b1ed5a2
--- /dev/null
+++ b/sys-devel/clang/clang-20.0.0_pre20240815.ebuild
@@ -0,0 +1,471 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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 sys-devel/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

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-08-12 Thread Michał Górny
commit: 289490b9878b0a81279daed040fb5a5fe6785ef8
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 13 03:49:51 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 13 04:54:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=289490b9

sys-devel/clang-common: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   3 -
 .../clang-common/clang-common-19.1.0_rc1.ebuild| 304 -
 .../clang-common-20.0.0_pre20240801.ebuild | 304 -
 3 files changed, 611 deletions(-)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index 04df8178ee73..e96e91af93d0 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -1,4 +1,3 @@
-DIST llvm-project-130c135689ec12ab78c53645808524a8d28f7cae.tar.gz 217788932 
BLAKE2B 
9ba8ad82597780f24e750272f9439d1e8d464813a607efec4920a13473103975bc181506dcc15c76a6e4ca83622284b77a7903e36aff6145719529630121cf0b
 SHA512 
d9c67155f462e53968ec448e325b35a80c0d207039dd7155568fa366aa1894bc8dfaa2d5c03a67320bdefb1934720a1d23bc4b972c9fae3ff09c7a79d885c53d
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
@@ -7,8 +6,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-19.1.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
-DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
 DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
 DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-devel/clang-common/clang-common-19.1.0_rc1.ebuild 
b/sys-devel/clang-common/clang-common-19.1.0_rc1.eb

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-08-12 Thread Michał Górny
commit: b9736d63eeaddd033f526bc246c1293a9edffa75
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 13 03:49:49 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 13 04:54:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9736d63

sys-devel/clang: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   3 -
 sys-devel/clang/clang-19.1.0_rc1.ebuild | 470 ---
 sys-devel/clang/clang-20.0.0_pre20240801.ebuild | 471 
 3 files changed, 944 deletions(-)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 4ee216409a6d..b1320c7ccea1 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -5,7 +5,6 @@ DIST llvm-18.1.0-manpages.tar.bz2 270429 BLAKE2B 
d85d6e23197184dc512019c25805af0
 DIST llvm-gentoo-patchset-15.0.7-r3.tar.xz 24268 BLAKE2B 
6531ae385ecea87bc26dba8ce19b4cde8ff224c80fd81f04c6ded131e305ecfdeb8d29ebd3b68a641d240805dc83eb0ebc7cc85124f02ad0ee66e0f201b91d7e
 SHA512 
66cb33f8b423736b990fb75d4f2d1e5f14c0b03308f403297204dd1a352d72f85f34220fd66d3de5d6df328cdf2ffce03c2a111cb0bb57791cf68a88069ac7df
 DIST llvm-gentoo-patchset-16.0.6.tar.xz 17340 BLAKE2B 
37cdf4b38367b4256d4f7a25d1b4f41758e5f81be8e20a1c94a10d6c5e36642e9672121b455e73a0bac2eb40467ef2db4b43789b2912a6790593d97b8b5c27e3
 SHA512 
2c02b9d8a4c5af9fddcd26c95dc66fffae32cb5b7f85c65a1aa4ed00dd8cd5b01cc1975a711aee63c0b8b11e9dc20f2bc05ea753904eb516892b820f02aff825
 DIST llvm-gentoo-patchset-17.0.6-r1.tar.xz 2792 BLAKE2B 
b4e9014179edd96add0c932b16d3a95a5d7a905298052164ff668590108c83cd4f938d42b6d801efedae28a959b03b2bc3c7cd2a4cad20ef2b3c7aa9a3d0c15d
 SHA512 
73a46aa9f6f2ac6334a073733aa082a12f97fb6a2750d5930af4eb1639cd192f3a17ea87c2f17947f04c68a5f60e37d9bc27ede8bab75531599edfb4c3aa8ffe
-DIST llvm-project-130c135689ec12ab78c53645808524a8d28f7cae.tar.gz 217788932 
BLAKE2B 
9ba8ad82597780f24e750272f9439d1e8d464813a607efec4920a13473103975bc181506dcc15c76a6e4ca83622284b77a7903e36aff6145719529630121cf0b
 SHA512 
d9c67155f462e53968ec448e325b35a80c0d207039dd7155568fa366aa1894bc8dfaa2d5c03a67320bdefb1934720a1d23bc4b972c9fae3ff09c7a79d885c53d
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
@@ -14,8 +13,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-19.1.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
-DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
 DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca1

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-08-09 Thread Jakov Smolić
commit: e9986b785fe92a2845f5f656c761426c88aa7523
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Aug  9 08:50:27 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Aug  9 08:50:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9986b78

sys-devel/clang-common: Stabilize 17.0.6-r6 ppc64, #936553

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-devel/clang-common/clang-common-17.0.6-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild 
b/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
index 6effda6ffca1..586aadfd7afa 100644
--- a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.6-r6.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 ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong 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: sys-devel/clang-runtime/

2024-08-08 Thread Michał Górny
commit: 4ad5e36f1a46c59bad90cbc0192a1cae49e5a81a
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  8 19:00:18 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  8 19:26:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad5e36f

sys-devel/clang-runtime: Add 20.0.0_pre20240808 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-20.0.0_pre20240808.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240808.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240808.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240808.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-08-08 Thread Michał Górny
commit: 109bbeabf0f476d2f100062863ca9263a5de3f22
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  8 19:00:05 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  8 19:25:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=109bbeab

sys-devel/clang: Add 20.0.0_pre20240808 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   1 +
 sys-devel/clang/clang-20.0.0_pre20240808.ebuild | 471 
 2 files changed, 472 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 8eb72243f6d3..4ee216409a6d 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -18,3 +18,4 @@ DIST llvm-project-19.1.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e57
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
 DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
+DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-devel/clang/clang-20.0.0_pre20240808.ebuild 
b/sys-devel/clang/clang-20.0.0_pre20240808.ebuild
new file mode 100644
index ..857f7b1ed5a2
--- /dev/null
+++ b/sys-devel/clang/clang-20.0.0_pre20240808.ebuild
@@ -0,0 +1,471 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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 sys-devel/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: sys-devel/clang-common/

2024-08-08 Thread Michał Górny
commit: 899230392e58fab6b52771e20821ef2526d908cf
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  8 19:00:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  8 19:25:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89923039

sys-devel/clang-common: Add 20.0.0_pre20240808 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   1 +
 .../clang-common-20.0.0_pre20240808.ebuild | 304 +
 2 files changed, 305 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index 0f284eff910c..04df8178ee73 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -11,3 +11,4 @@ DIST llvm-project-19.1.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e57
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
 DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
 DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
+DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 
BLAKE2B 
a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277
 SHA512 
c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5

diff --git a/sys-devel/clang-common/clang-common-20.0.0_pre20240808.ebuild 
b/sys-devel/clang-common/clang-common-20.0.0_pre20240808.ebuild
new file mode 100644
index ..090a45690818
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-20.0.0_pre20240808.ebuild
@@ -0,0 +1,304 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
+   eerror
+   eerror "  ${missing_flags[*]}"
+   eerror
+   eerror "The default runtimes are now set via flags on 
sys-devel/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 "  sys-devel/clang-common ${missing_flags[*]}"
+   eerror
+   eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1."
+   die "Mismatched defaults detected between sys-devel/clang and 
sys-devel/clang-common"
+   fi
+}
+
+_doclang_cfg() {
+   local triple="${1}"
+
+   local tool
+   for tool in ${triple}-clang{,++}; do
+   newins - "${tool}.cfg" <<-EOF
+   # This configuration file is used by ${tool}

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-08-05 Thread Michał Górny
commit: 3df6125a9ee5f7cf39b1c547f86bcaf7196ab827
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug  5 18:22:34 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug  5 18:22:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3df6125a

sys-devel/clang-runtime: Add 19.1.0_rc2

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime/clang-runtime-19.1.0_rc2.ebuild  | 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.1.0_rc2.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.1.0_rc2.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-19.1.0_rc2.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang-common/

2024-08-05 Thread Michał Górny
commit: a4f8718919e889b8166b543e2b119a2b0618fe3f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug  5 18:22:23 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug  5 18:22:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4f87189

sys-devel/clang-common: Add 19.1.0_rc2

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   2 +
 .../clang-common/clang-common-19.1.0_rc2.ebuild| 304 +
 2 files changed, 306 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index 279925324291..0f284eff910c 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -9,3 +9,5 @@ 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.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
+DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
+DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826

diff --git a/sys-devel/clang-common/clang-common-19.1.0_rc2.ebuild 
b/sys-devel/clang-common/clang-common-19.1.0_rc2.ebuild
new file mode 100644
index ..090a45690818
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-19.1.0_rc2.ebuild
@@ -0,0 +1,304 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
+   eerror
+   eerror "  ${missing_flags[*]}"
+   eerror
+   eerror "The default runtimes are now set via flags on 
sys-devel/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 "  sys-devel/clang-common ${missing_flags[*]}"
+   eerror
+   eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1."
+   die "Mismatched defaults detected between sys-devel/clang and 
sys-devel/clang

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-08-05 Thread Michał Górny
commit: 16bc8ec4368341abceb15d31d0a331e06942e07c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug  5 18:22:24 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug  5 18:22:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bc8ec4

sys-devel/clang: Add 19.1.0_rc2

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   2 +
 sys-devel/clang/clang-19.1.0_rc2.ebuild | 470 
 2 files changed, 472 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index ac0f46f23449..8eb72243f6d3 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -16,3 +16,5 @@ 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.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
+DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 
690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad45be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780
 SHA512 
508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
+DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 
1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5
 SHA512 
b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826

diff --git a/sys-devel/clang/clang-19.1.0_rc2.ebuild 
b/sys-devel/clang/clang-19.1.0_rc2.ebuild
new file mode 100644
index ..e97008f8ad7a
--- /dev/null
+++ b/sys-devel/clang/clang-19.1.0_rc2.ebuild
@@ -0,0 +1,470 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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 sys-devel/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 Port

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-08-01 Thread Michał Górny
commit: 7d0d7a4cf97d0ec8fd196b63d01d977e73051ee8
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  1 19:32:03 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  1 20:20:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d0d7a4c

sys-devel/clang: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   1 -
 sys-devel/clang/clang-19.0.0_pre20240720.ebuild | 469 
 2 files changed, 470 deletions(-)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 30e3c42fbb4d..ac0f46f23449 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -16,4 +16,3 @@ 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.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
-DIST llvm-project-72d8c2737bb557af9d0c735b9fa30b1b03485627.tar.gz 217324958 
BLAKE2B 
d43c161ac98860e2ce03e7e2474c55766e7496200b090ebb1cb6dcf0c2ad3a32bae76249feca53cd8b56c63806a740c280e6306890cd28429c4a7e84cae5eada
 SHA512 
af3b44ec3f96d636d919906cf20547eb91d0a83d07731c9db38f28311a52011d8ec66833422fad9bb89ca9ac546e308b02015a7b365086341bee1f3de1b6c5e2

diff --git a/sys-devel/clang/clang-19.0.0_pre20240720.ebuild 
b/sys-devel/clang/clang-19.0.0_pre20240720.ebuild
deleted file mode 100644
index 87140d676d57..
--- a/sys-devel/clang/clang-19.0.0_pre20240720.ebuild
+++ /dev/null
@@ -1,469 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit cmake llvm.org llvm-utils 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="
-   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
-   static-analyzer? ( dev-lang/perl:* )
-   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
-"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   ${DEPEND}
-   >=sys-devel/clang-common-${PV}
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   test? ( ~sys-devel/lld-${PV} )
-   xml? ( virtual/pkgconfig )
-"
-PDEPEND="
-   ~sys-devel/clang-runtime-${PV}
-   sys-devel/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 sys-devel/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
-   sed -i "/LibDir.*Loa

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-08-01 Thread Michał Górny
commit: 96084d681f15f466404eaf03820e060b675f8e35
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  1 19:32:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  1 20:20:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96084d68

sys-devel/clang-common: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   1 -
 .../clang-common-19.0.0_pre20240720.ebuild | 304 -
 2 files changed, 305 deletions(-)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index 10d69b98acd6..279925324291 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -9,4 +9,3 @@ 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.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
-DIST llvm-project-72d8c2737bb557af9d0c735b9fa30b1b03485627.tar.gz 217324958 
BLAKE2B 
d43c161ac98860e2ce03e7e2474c55766e7496200b090ebb1cb6dcf0c2ad3a32bae76249feca53cd8b56c63806a740c280e6306890cd28429c4a7e84cae5eada
 SHA512 
af3b44ec3f96d636d919906cf20547eb91d0a83d07731c9db38f28311a52011d8ec66833422fad9bb89ca9ac546e308b02015a7b365086341bee1f3de1b6c5e2

diff --git a/sys-devel/clang-common/clang-common-19.0.0_pre20240720.ebuild 
b/sys-devel/clang-common/clang-common-19.0.0_pre20240720.ebuild
deleted file mode 100644
index 090a45690818..
--- a/sys-devel/clang-common/clang-common-19.0.0_pre20240720.ebuild
+++ /dev/null
@@ -1,304 +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="
-   sys-devel/clang:*
-   default-compiler-rt? (
-   sys-devel/clang-runtime[compiler-rt]
-   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
-   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
-   )
-   !default-compiler-rt? ( sys-devel/gcc )
-   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
-   !default-libcxx? ( sys-devel/gcc )
-   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
-   missing_flags+=( "${flag}" )
-   fi
-   done
-
-   if [[ ${missing_flags[@]} ]]; then
-   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
-   eerror
-   eerror "  ${missing_flags[*]}"
-   eerror
-   eerror "The default runtimes are now set via flags on 
sys-devel/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 "  sys-devel/clang-common ${missing_flags[*]}"
-   eerror
-   eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1."
-   die "Mismatched defaults detected between sys-devel/clang and 
sys-devel/clang-common"
-   fi
-}
-
-_doclang_cfg() {
-   local triple="${1}"
-
-   local tool
-   for tool in ${triple}-clang{,++}; do
-   newins - "${tool}.cfg" <<-EOF
-   # This configuration file is used by ${tool} driver.
-  

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-08-01 Thread Michał Górny
commit: dc622cb8f8662efec040be3a3f66263c4434fdd8
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  1 19:31:44 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  1 20:20:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc622cb8

sys-devel/clang-runtime: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-19.0.0_pre20240720.ebuild| 39 --
 1 file changed, 39 deletions(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240720.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240720.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240720.ebuild
+++ /dev/null
@@ -1,39 +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 openmp +sanitize"
-REQUIRED_USE="sanitize? ( compiler-rt )"
-
-RDEPEND="
-   compiler-rt? (
-   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   sanitize? (
-   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   )
-   )
-   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
-   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang-runtime/

2024-08-01 Thread Michał Górny
commit: 2a90dfc45e4460f153246f019420b727ca4fbb41
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  1 19:30:09 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  1 20:20:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a90dfc4

sys-devel/clang-runtime: Add 20.0.0_pre20240801 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-20.0.0_pre20240801.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240801.ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240801.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-20.0.0_pre20240801.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-07-27 Thread Michał Górny
commit: 7d7799bfb3fa78c50c7e3bc34e86da8c447a6d68
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 27 07:21:55 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 27 07:21:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d7799bf

sys-devel/clang: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   2 -
 sys-devel/clang/clang-19.0.0..ebuild| 470 ---
 sys-devel/clang/clang-19.0.0_pre20240706.ebuild | 473 
 sys-devel/clang/clang-19.0.0_pre20240712.ebuild | 469 ---
 4 files changed, 1414 deletions(-)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index ea35e0f1bbc7..40f908e86ed3 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -5,7 +5,6 @@ DIST llvm-18.1.0-manpages.tar.bz2 270429 BLAKE2B 
d85d6e23197184dc512019c25805af0
 DIST llvm-gentoo-patchset-15.0.7-r3.tar.xz 24268 BLAKE2B 
6531ae385ecea87bc26dba8ce19b4cde8ff224c80fd81f04c6ded131e305ecfdeb8d29ebd3b68a641d240805dc83eb0ebc7cc85124f02ad0ee66e0f201b91d7e
 SHA512 
66cb33f8b423736b990fb75d4f2d1e5f14c0b03308f403297204dd1a352d72f85f34220fd66d3de5d6df328cdf2ffce03c2a111cb0bb57791cf68a88069ac7df
 DIST llvm-gentoo-patchset-16.0.6.tar.xz 17340 BLAKE2B 
37cdf4b38367b4256d4f7a25d1b4f41758e5f81be8e20a1c94a10d6c5e36642e9672121b455e73a0bac2eb40467ef2db4b43789b2912a6790593d97b8b5c27e3
 SHA512 
2c02b9d8a4c5af9fddcd26c95dc66fffae32cb5b7f85c65a1aa4ed00dd8cd5b01cc1975a711aee63c0b8b11e9dc20f2bc05ea753904eb516892b820f02aff825
 DIST llvm-gentoo-patchset-17.0.6-r1.tar.xz 2792 BLAKE2B 
b4e9014179edd96add0c932b16d3a95a5d7a905298052164ff668590108c83cd4f938d42b6d801efedae28a959b03b2bc3c7cd2a4cad20ef2b3c7aa9a3d0c15d
 SHA512 
73a46aa9f6f2ac6334a073733aa082a12f97fb6a2750d5930af4eb1639cd192f3a17ea87c2f17947f04c68a5f60e37d9bc27ede8bab75531599edfb4c3aa8ffe
-DIST llvm-project-0b9f2847da79298ed09c29493245113f02b32d9f.tar.gz 216399453 
BLAKE2B 
ed13e6639d40bdda6dbd09eba0cc8e4f82f4f53ce3cff9742e902af1c306c60dcb6d5fb008057829d46bbbde391697726cba2096c52cf1592c00faf1e37430e4
 SHA512 
a5b0bf59fa228a41f0c904a42b4b96740fc5e5caa63248c546eb4a810e86d5d8d1d8df663051edcc0389ffa6ec12ee5dbf7d94d6211a253319550d7fac1c
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
@@ -16,5 +15,4 @@ 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.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
-DIST llvm-project-1bad7024561bc64ed4bfda0772b16376b475eba5.tar.gz 216657623 
BLAKE2B 
99c48a95c427e8fae5568e5f59ab9bec8b2d8bec0c5d3cf453c261a738fe1c295b34e2e10e6b08d2b02cae43e3b0cd4c8eb025d19a83ee51f47a49afadd56d3f
 SHA512 
08fc904122ab346edbfc3903cafae4f50ba57e146b2d821a568f8378c0f3ab4d413e07c5df2bf061374f9db4634b5f6b27f204fc4f2f68984303ceec9c963c0c
 DIST llvm-project-72d8c2737bb557af9d0c735b9fa30b1b03485627.tar.gz 217324958 
BLAKE2B 
d43c161ac98860e2ce03e7e2474c55766e7496200b090ebb1cb6dcf0c2ad3a32bae76249feca53cd8b56c63806a740c280e6306890cd28429c4a7e84cae5eada
 SHA512 
af3b44ec3f96d636d919906cf20547eb91d0a83d07731c9db38f28311a52011d8ec66833422fad9bb89ca9ac546e

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-07-27 Thread Michał Górny
commit: a6717994a627efdae65e59fdaa36ea080f34645c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 27 07:21:57 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 27 07:21:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6717994

sys-devel/clang-common: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   2 -
 .../clang-common/clang-common-19.0.0..ebuild   | 304 -
 .../clang-common-19.0.0_pre20240706.ebuild | 304 -
 .../clang-common-19.0.0_pre20240712.ebuild | 304 -
 4 files changed, 914 deletions(-)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index 9d4768eb026c..b5bb67f8290a 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -1,4 +1,3 @@
-DIST llvm-project-0b9f2847da79298ed09c29493245113f02b32d9f.tar.gz 216399453 
BLAKE2B 
ed13e6639d40bdda6dbd09eba0cc8e4f82f4f53ce3cff9742e902af1c306c60dcb6d5fb008057829d46bbbde391697726cba2096c52cf1592c00faf1e37430e4
 SHA512 
a5b0bf59fa228a41f0c904a42b4b96740fc5e5caa63248c546eb4a810e86d5d8d1d8df663051edcc0389ffa6ec12ee5dbf7d94d6211a253319550d7fac1c
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
@@ -9,5 +8,4 @@ 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.0-rc1.src.tar.xz 141259912 BLAKE2B 
e882ff54a96900b4948e572cf073c897df6b4ce159869a42c56a4c830187d83b8d9d9b3940dad22346f142f9674575191cc9d079312f0d9aa1105390c07f504f
 SHA512 
9f43dbe8d5f1322f73fb1c638ce4fc7a8179c9ca33fdbfbb6d72632a3d6bf4bc4993f8f5ec827510af55f4f013fba8fe3d7d9e45f262eec16ecf9ab39296b4b8
 DIST llvm-project-19.1.0-rc1.src.tar.xz.sig 438 BLAKE2B 
cc1acbd33440bb14f78c19cc3061a5c0cb3d9dbcd6f0d1516fe118ac02c500ba4df129f870ddf3fe1a52519feab4b631866413fce9c726272d52c3865a9eea27
 SHA512 
a3361992b55be13aeff5d91bb90a15e3a2ab89e486328fa4d9abc9efa3925aee70bea48449b003ae1926909d389bf71afcf6dc56d800ed2e0e3dbc65da6e4e92
-DIST llvm-project-1bad7024561bc64ed4bfda0772b16376b475eba5.tar.gz 216657623 
BLAKE2B 
99c48a95c427e8fae5568e5f59ab9bec8b2d8bec0c5d3cf453c261a738fe1c295b34e2e10e6b08d2b02cae43e3b0cd4c8eb025d19a83ee51f47a49afadd56d3f
 SHA512 
08fc904122ab346edbfc3903cafae4f50ba57e146b2d821a568f8378c0f3ab4d413e07c5df2bf061374f9db4634b5f6b27f204fc4f2f68984303ceec9c963c0c
 DIST llvm-project-72d8c2737bb557af9d0c735b9fa30b1b03485627.tar.gz 217324958 
BLAKE2B 
d43c161ac98860e2ce03e7e2474c55766e7496200b090ebb1cb6dcf0c2ad3a32bae76249feca53cd8b56c63806a740c280e6306890cd28429c4a7e84cae5eada
 SHA512 
af3b44ec3f96d636d919906cf20547eb91d0a83d07731c9db38f28311a52011d8ec66833422fad9bb89ca9ac546e308b02015a7b365086341bee1f3de1b6c5e2

diff --git a/sys-devel/clang-common/clang-common-19.0.0..ebuild 
b/sys-devel/clang-common/clang-common-19.0.0..ebuild
deleted file mode 100644
index 090a45690818..
--- a/sys-devel/clang-common/clang-common-19.0.0..ebuild
+++ /dev/null
@@ -1,304 +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="
-   sys-devel/clang:*
-   default-compiler-rt? (
-   sys-devel/clang-runtime[compiler-rt]
-   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
-   !llvm-libunwind? ( sys-libs/libunwind[static-

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-07-27 Thread Michał Górny
commit: a89da3d87791814ab64b1089539e4a9f4544b168
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 27 07:21:32 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 27 07:21:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a89da3d8

sys-devel/clang-runtime: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime/clang-runtime-19.0.0..ebuild | 39 --
 .../clang-runtime-19.0.0_pre20240706.ebuild| 39 --
 .../clang-runtime-19.0.0_pre20240712.ebuild| 39 --
 3 files changed, 117 deletions(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.0.0..ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.0.0..ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-19.0.0..ebuild
+++ /dev/null
@@ -1,39 +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 openmp +sanitize"
-REQUIRED_USE="sanitize? ( compiler-rt )"
-
-RDEPEND="
-   compiler-rt? (
-   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   sanitize? (
-   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   )
-   )
-   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
-   openmp? ( >=sys-libs/libomp-${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/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240706.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240706.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240706.ebuild
+++ /dev/null
@@ -1,39 +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 openmp +sanitize"
-REQUIRED_USE="sanitize? ( compiler-rt )"
-
-RDEPEND="
-   compiler-rt? (
-   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   sanitize? (
-   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   )
-   )
-   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
-   openmp? ( >=sys-libs/libomp-${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/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240712.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240712.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240712.ebuild
+++ /dev/null
@@ -1,39 +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/";
-
-LICEN

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-07-27 Thread Michał Górny
commit: c1313450baa93e9677c9ebbddab3f806403ad859
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 27 07:20:47 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 27 07:20:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1313450

sys-devel/clang-runtime: Add 19.1.0_rc1

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime/clang-runtime-19.1.0_rc1.ebuild  | 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.1.0_rc1.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.1.0_rc1.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-19.1.0_rc1.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-07-26 Thread Michał Górny
commit: e8ce444d759d92a1a848f1aaad1bbd5466453a47
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 26 20:06:37 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 27 05:51:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8ce444d

sys-devel/clang: Add clang-nvlink-wrapper

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/clang-20.0.0..ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-devel/clang/clang-20.0.0..ebuild 
b/sys-devel/clang/clang-20.0.0..ebuild
index 87140d676d57..e97008f8ad7a 100644
--- a/sys-devel/clang/clang-20.0.0..ebuild
+++ b/sys-devel/clang/clang-20.0.0..ebuild
@@ -194,6 +194,7 @@ get_distribution_components() {
clang-format
clang-installapi
clang-linker-wrapper
+   clang-nvlink-wrapper
clang-offload-bundler
clang-offload-packager
clang-refactor



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-07-23 Thread Arthur Zamarin
commit: d7efcb756d498a6e2d6b09a8987168f1030f1f47
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jul 23 19:15:07 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jul 23 19:15:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7efcb75

sys-devel/clang-common: Stabilize 17.0.6-r6 arm64, #936553

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/clang-common/clang-common-17.0.6-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild 
b/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
index 15e7844803c6..6effda6ffca1 100644
--- a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.6-r6.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 ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong 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: sys-devel/clang-common/

2024-07-23 Thread Jakov Smolić
commit: 03433a7ddf1c7eb1c0f4e8ffc7f14fb87e42361f
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jul 23 16:45:44 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jul 23 16:45:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03433a7d

sys-devel/clang-common: Stabilize 17.0.6-r6 amd64, #936553

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-devel/clang-common/clang-common-17.0.6-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild 
b/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
index bcf06a6f7f17..89de78749a48 100644
--- a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.6-r6.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 ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong 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: sys-devel/clang-common/

2024-07-23 Thread Jakov Smolić
commit: e1e0903977590536460113dc55b55dc0013cbf5e
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jul 23 16:45:46 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jul 23 16:45:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1e09039

sys-devel/clang-common: Stabilize 17.0.6-r6 x86, #936553

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-devel/clang-common/clang-common-17.0.6-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild 
b/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
index 89de78749a48..15e7844803c6 100644
--- a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.6-r6.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 ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong 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: sys-devel/clang-toolchain-symlinks/

2024-07-23 Thread Sam James
commit: 577c3f40885a3d1e2459f080d3de7d526fd21b6d
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 14:10:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 14:10:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577c3f40

sys-devel/clang-toolchain-symlinks: Stabilize 18 sparc, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild 
b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
index 1260c74400df..436e2673639f 100644
--- a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
+++ b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="public-domain"
 SLOT="${PV}"
-KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong 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: sys-devel/clang-common/

2024-07-23 Thread Sam James
commit: f88958fee6f26bddd465cd3751dbfd58caa5e44c
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 14:10:32 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 14:10:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f88958fe

sys-devel/clang-common: Stabilize 17.0.6-r6 ppc, #936553

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-common/clang-common-17.0.6-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild 
b/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
index f90ed723d7b0..bcf06a6f7f17 100644
--- a/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.6-r6.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 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong 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: sys-devel/clang-runtime/

2024-07-23 Thread Sam James
commit: d1c234375bcc9967dd5d157ece663f87167217c7
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 14:10:13 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 14:10:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1c23437

sys-devel/clang-runtime: Stabilize 18.1.8 sparc, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild 
b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
index fdc40ff34a92..25889f60d661 100644
--- a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
+++ b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://clang.llvm.org/";
 
 LICENSE="metapackage"
 SLOT="${PV%%.*}"
-KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
 IUSE="+compiler-rt libcxx openmp +sanitize"
 REQUIRED_USE="sanitize? ( compiler-rt )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-07-23 Thread Sam James
commit: 62685dc7142363469faa15bc21ad714e89a09a66
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 14:10:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 14:10:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62685dc7

sys-devel/clang-common: Stabilize 18.1.8-r1 sparc, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-common/clang-common-18.1.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild 
b/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
index db5d2595dac9..ceeb2fd3046f 100644
--- a/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
+++ b/sys-devel/clang-common/clang-common-18.1.8-r1.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 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong 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: sys-devel/clang/

2024-07-23 Thread Sam James
commit: 8553579d7de4a2d4abe6aff62092b55624aaf385
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 14:10:11 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 14:10:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8553579d

sys-devel/clang: Stabilize 18.1.8 sparc, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang/clang-18.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang/clang-18.1.8.ebuild 
b/sys-devel/clang/clang-18.1.8.ebuild
index df883e4388ad..25c68d567f93 100644
--- a/sys-devel/clang/clang-18.1.8.ebuild
+++ b/sys-devel/clang/clang-18.1.8.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 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong 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: sys-devel/clang-runtime/

2024-07-23 Thread Michał Górny
commit: 2b0c3960c1eaa2ab27697dec071a83ccc09d29b7
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 23 14:00:54 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 23 14:07:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b0c3960

sys-devel/clang-runtime: Add 20.x live ebuilds

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime/clang-runtime-20.0.0..ebuild | 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-20.0.0..ebuild 
b/sys-devel/clang-runtime/clang-runtime-20.0.0..ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-20.0.0..ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-07-23 Thread Michał Górny
commit: 5ca58d75137f88c4f8b8b45a1b44113da445806c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 23 14:00:41 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 23 14:07:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ca58d75

sys-devel/clang: Add 20.x live ebuilds

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/clang-20.0.0..ebuild | 469 +++
 1 file changed, 469 insertions(+)

diff --git a/sys-devel/clang/clang-20.0.0..ebuild 
b/sys-devel/clang/clang-20.0.0..ebuild
new file mode 100644
index ..87140d676d57
--- /dev/null
+++ b/sys-devel/clang/clang-20.0.0..ebuild
@@ -0,0 +1,469 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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 sys-devel/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
+   sed -i "/LibDir.*Loader/s@return \"\/\"@return 
\"${EPREFIX}/\"@" lib/Driver/ToolChains/Linux.cpp || die
+   fi
+}
+
+check_distribution_components() {
+   if [[ ${CMAKE_MAKEFILE_GENERATOR} == ninja ]]; then
+   local all_targets=() my_targets=() l
+   cd "${BUILD_DIR}" || die
+
+   while read -r l; do
+   if [[ ${l} == install-*-stripped:* ]]; then
+   l=${l#install-}
+   l=${l%%-stripped*}
+
+   case ${l} in
+   # meta-targets
+   clang-libraries|distribution)
+   continue
+   ;;
+   # tools
+   clang|clangd|clang-*)
+   ;;
+   # static libraries
+   clang*|findAllSymbols)
+   continue
+   ;;
+   # conditional to USE=doc
+   docs-clang-html|docs-clang-tools-html)
+   use doc || continue
+   ;;
+   esac
+
+   all_targets+=( "${l}" )
+   fi
+   done < <(${NINJA} -t targets all)
+
+   while read -r l; do
+   my_

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-toolchain-symlinks/

2024-07-23 Thread Michał Górny
commit: 546e32a7b90a9f6698cb669c18f2f1140db1e69f
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 23 14:00:42 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 23 14:07:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546e32a7

sys-devel/clang-toolchain-symlinks: Add 20.x live ebuilds

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-toolchain-symlinks-20.ebuild | 58 ++
 1 file changed, 58 insertions(+)

diff --git 
a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-20.ebuild 
b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-20.ebuild
new file mode 100644
index ..3496a0f89b67
--- /dev/null
+++ b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-20.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022-2024 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: sys-devel/clang-common/

2024-07-23 Thread Michał Górny
commit: 237c32996267fc516bb1a8ea6eed254edb361964
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 23 14:00:40 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 23 14:07:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=237c3299

sys-devel/clang-common: Add 20.x live ebuilds

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-common/clang-common-20.0.0..ebuild   | 304 +
 1 file changed, 304 insertions(+)

diff --git a/sys-devel/clang-common/clang-common-20.0.0..ebuild 
b/sys-devel/clang-common/clang-common-20.0.0..ebuild
new file mode 100644
index ..090a45690818
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-20.0.0..ebuild
@@ -0,0 +1,304 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
+   eerror
+   eerror "  ${missing_flags[*]}"
+   eerror
+   eerror "The default runtimes are now set via flags on 
sys-devel/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 "  sys-devel/clang-common ${missing_flags[*]}"
+   eerror
+   eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1."
+   die "Mismatched defaults detected between sys-devel/clang and 
sys-devel/clang-common"
+   fi
+}
+
+_doclang_cfg() {
+   local triple="${1}"
+
+   local tool
+   for tool in ${triple}-clang{,++}; do
+   newins - "${tool}.cfg" <<-EOF
+   # This configuration file is used by ${tool} driver.
+   @gentoo-common.cfg
+   @gentoo-common-ld.cfg
+   EOF
+   if [[ ${triple} == x86_64* ]]; then
+   cat >> "${ED}/etc/clang/${tool}.cfg" <<-EOF || die
+   @gentoo-cet.cfg
+   EOF
+   fi
+   done
+
+   if use kernel_Darwin; then
+   cat >> "${ED}/etc/clang/${triple}-clang++.cfg" <<-EOF || die
+   -lc++abi
+   EOF
+   fi
+
+   newins - "${triple}-clang-cpp.cfg" <<-EOF
+   # This configuration file is used by the ${triple}-clang-cpp 
driver.
+   @gentoo-common.cfg
+   EOF
+   if [[ ${triple} == x86_64* ]]; then
+   cat >> "${ED}/etc/clang/${triple}-clang-cpp.cfg" <<-EOF || die
+   @gentoo-cet.cfg
+   EOF
+   fi
+
+   # 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/${vendor_triple}-${tool}.cfg" ]]; then
+   dosym "${triple}-${tool}.cfg" 
"/etc/clang/${vendor_triple}-${tool}.cfg"
+   fi
+   done
+   done
+}
+
+doclang_cfg() {
+   local triple="${1}"
+
+   _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

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-07-23 Thread Sam James
commit: cef76eac7a5184e1544f31c90eda4e927febdc4f
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:56:49 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:56:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cef76eac

sys-devel/clang-common: Stabilize 18.1.8-r1 x86, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-common/clang-common-18.1.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild 
b/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
index 7b1eb62f342a..db5d2595dac9 100644
--- a/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
+++ b/sys-devel/clang-common/clang-common-18.1.8-r1.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 ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong 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: sys-devel/clang-runtime/

2024-07-23 Thread Sam James
commit: 5d9efd853300d9e21c91414e44f09327eb4a446a
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:56:55 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:56:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d9efd85

sys-devel/clang-runtime: Stabilize 18.1.8 x86, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild 
b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
index 4f3aafb56f39..fdc40ff34a92 100644
--- a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
+++ b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://clang.llvm.org/";
 
 LICENSE="metapackage"
 SLOT="${PV%%.*}"
-KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
 IUSE="+compiler-rt libcxx openmp +sanitize"
 REQUIRED_USE="sanitize? ( compiler-rt )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-toolchain-symlinks/

2024-07-23 Thread Sam James
commit: 75fbdf55e763922362e2d0f40e4af0340b6125ac
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:56:58 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:56:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75fbdf55

sys-devel/clang-toolchain-symlinks: Stabilize 18 x86, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild 
b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
index 8263bcba3d13..1260c74400df 100644
--- a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
+++ b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="public-domain"
 SLOT="${PV}"
-KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong 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: sys-devel/clang-toolchain-symlinks/

2024-07-23 Thread Sam James
commit: c41072be628f92036f641115071707e22e07ad16
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:56:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:56:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c41072be

sys-devel/clang-toolchain-symlinks: Stabilize 18 ppc64, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild 
b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
index bef6420bc3ba..8263bcba3d13 100644
--- a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
+++ b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="public-domain"
 SLOT="${PV}"
-KEYWORDS="amd64 arm arm64 ~loong ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong 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: sys-devel/clang/

2024-07-23 Thread Sam James
commit: 9328724682792a8dabe28bcf9de697ffc33c8a5e
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:56:49 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:56:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93287246

sys-devel/clang: Stabilize 18.1.8 x86, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang/clang-18.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang/clang-18.1.8.ebuild 
b/sys-devel/clang/clang-18.1.8.ebuild
index 05a04cfb1be3..df883e4388ad 100644
--- a/sys-devel/clang/clang-18.1.8.ebuild
+++ b/sys-devel/clang/clang-18.1.8.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 ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong 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: sys-devel/clang-runtime/

2024-07-23 Thread Sam James
commit: ab944f89c2d7d0b1109dddb5d485d0662def5d3b
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:56:30 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:56:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab944f89

sys-devel/clang-runtime: Stabilize 18.1.8 ppc64, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild 
b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
index 775cb48dac90..4f3aafb56f39 100644
--- a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
+++ b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://clang.llvm.org/";
 
 LICENSE="metapackage"
 SLOT="${PV%%.*}"
-KEYWORDS="amd64 arm arm64 ~loong ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
 IUSE="+compiler-rt libcxx openmp +sanitize"
 REQUIRED_USE="sanitize? ( compiler-rt )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-toolchain-symlinks/

2024-07-23 Thread Sam James
commit: a7df86eb85dcfb148f19a8090d020cae0df64ed6
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:34:49 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:34:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7df86eb

sys-devel/clang-toolchain-symlinks: Stabilize 18 arm, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild 
b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
index b23d67c50533..2e951466b413 100644
--- a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
+++ b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="public-domain"
 SLOT="${PV}"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~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: sys-devel/clang-runtime/

2024-07-23 Thread Sam James
commit: d925aa7124baa0bbd758608b2bfe0e48ca96caac
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:34:48 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:34:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d925aa71

sys-devel/clang-runtime: Stabilize 18.1.8 arm, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild 
b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
index ca2c6d85ec3f..87a051f8262c 100644
--- a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
+++ b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://clang.llvm.org/";
 
 LICENSE="metapackage"
 SLOT="${PV%%.*}"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
 IUSE="+compiler-rt libcxx openmp +sanitize"
 REQUIRED_USE="sanitize? ( compiler-rt )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-07-23 Thread Sam James
commit: ef84bd9ccbcfa8e0b0111f98bbf64da62aca1a5f
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:34:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:34:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef84bd9c

sys-devel/clang: Stabilize 18.1.8 arm, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang/clang-18.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang/clang-18.1.8.ebuild 
b/sys-devel/clang/clang-18.1.8.ebuild
index f981ae8ae9fd..c75f137af614 100644
--- a/sys-devel/clang/clang-18.1.8.ebuild
+++ b/sys-devel/clang/clang-18.1.8.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 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~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: sys-devel/clang-common/

2024-07-23 Thread Sam James
commit: 039e79fd6af9789dc34e42f63e8b171e97c9f490
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:34:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:34:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=039e79fd

sys-devel/clang-common: Stabilize 18.1.8-r1 arm, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-common/clang-common-18.1.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild 
b/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
index df397e477b4f..d7cd2c6222ca 100644
--- a/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
+++ b/sys-devel/clang-common/clang-common-18.1.8-r1.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 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 arm arm64 ~loong ~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: sys-devel/clang-toolchain-symlinks/

2024-07-23 Thread Sam James
commit: 282f370ce3f6f036dd096d410ad5cd1d4fc9f29c
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 13:34:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 13:34:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=282f370c

sys-devel/clang-toolchain-symlinks: Stabilize 18 arm64, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild 
b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
index 4c573a606f24..b23d67c50533 100644
--- a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
+++ b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="public-domain"
 SLOT="${PV}"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong ~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: sys-devel/clang-toolchain-symlinks/

2024-07-23 Thread Sam James
commit: 431d5b19e2eee4c3d33bce109a5cd1306e443b88
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 12:23:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 12:23:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=431d5b19

sys-devel/clang-toolchain-symlinks: Stabilize 18 amd64, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild 
b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
index 5cfe92aa27da..4c573a606f24 100644
--- a/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
+++ b/sys-devel/clang-toolchain-symlinks/clang-toolchain-symlinks-18.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="public-domain"
 SLOT="${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~arm64-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~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: sys-devel/clang-runtime/

2024-07-23 Thread Sam James
commit: 7127ed8487a5b2aeaaf2289ebdb41184c2ca3569
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 12:23:48 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 12:23:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7127ed84

sys-devel/clang-runtime: Stabilize 18.1.8 amd64, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild 
b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
index 38042f073a24..42ff228e71a5 100644
--- a/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
+++ b/sys-devel/clang-runtime/clang-runtime-18.1.8.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://clang.llvm.org/";
 
 LICENSE="metapackage"
 SLOT="${PV%%.*}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~arm64-macos ~ppc-macos ~x64-macos"
 IUSE="+compiler-rt libcxx openmp +sanitize"
 REQUIRED_USE="sanitize? ( compiler-rt )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-07-23 Thread Sam James
commit: 11871413d6410eebc12234edd5177f567c01d58c
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 12:23:40 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 12:23:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11871413

sys-devel/clang: Stabilize 18.1.8 amd64, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang/clang-18.1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang/clang-18.1.8.ebuild 
b/sys-devel/clang/clang-18.1.8.ebuild
index daf8ded03599..4ee145a71fa6 100644
--- a/sys-devel/clang/clang-18.1.8.ebuild
+++ b/sys-devel/clang/clang-18.1.8.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 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~arm64-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~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: sys-devel/clang-common/

2024-07-23 Thread Sam James
commit: dbc9330d8fbc0ec13efb13f7bec7a6ae42a58f40
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 12:23:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 12:23:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc9330d

sys-devel/clang-common: Stabilize 18.1.8-r1 amd64, #935984

Signed-off-by: Sam James  gentoo.org>

 sys-devel/clang-common/clang-common-18.1.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild 
b/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
index 303f8001a6c8..30da85a39c17 100644
--- a/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
+++ b/sys-devel/clang-common/clang-common-18.1.8-r1.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 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~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: sys-devel/clang-runtime/

2024-07-20 Thread Michał Górny
commit: c66d856c77e30a37f4454e53b2afe7efe64a99e8
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 20 11:33:22 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 20 13:27:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c66d856c

sys-devel/clang-runtime: Add 19.0.0_pre20240720 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-19.0.0_pre20240720.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240720.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240720.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240720.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang-runtime/

2024-07-13 Thread Michał Górny
commit: 3f72494756675dda373eb9c4d871d72da1b7b4ac
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 13 12:55:37 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 13 14:14:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f724947

sys-devel/clang-runtime: Add 19.0.0_pre20240712 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-19.0.0_pre20240712.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240712.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240712.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240712.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-07-13 Thread Michał Górny
commit: 30014f07f030d72f43d75a4fbfdc4549b750bbe3
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 13 12:55:24 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 13 14:14:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30014f07

sys-devel/clang: Add 19.0.0_pre20240712 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   1 +
 sys-devel/clang/clang-19.0.0_pre20240712.ebuild | 469 
 2 files changed, 470 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 25ec0fbf30c9..dff32289f60e 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -14,3 +14,4 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
+DIST llvm-project-1bad7024561bc64ed4bfda0772b16376b475eba5.tar.gz 216657623 
BLAKE2B 
99c48a95c427e8fae5568e5f59ab9bec8b2d8bec0c5d3cf453c261a738fe1c295b34e2e10e6b08d2b02cae43e3b0cd4c8eb025d19a83ee51f47a49afadd56d3f
 SHA512 
08fc904122ab346edbfc3903cafae4f50ba57e146b2d821a568f8378c0f3ab4d413e07c5df2bf061374f9db4634b5f6b27f204fc4f2f68984303ceec9c963c0c

diff --git a/sys-devel/clang/clang-19.0.0_pre20240712.ebuild 
b/sys-devel/clang/clang-19.0.0_pre20240712.ebuild
new file mode 100644
index ..87140d676d57
--- /dev/null
+++ b/sys-devel/clang/clang-19.0.0_pre20240712.ebuild
@@ -0,0 +1,469 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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 sys-devel/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
+   sed -i "/L

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-07-13 Thread Michał Górny
commit: ca62c987680c04588a4fbb3b908e49ac0175a6cb
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 13 12:55:23 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 13 14:14:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca62c987

sys-devel/clang-common: Add 19.0.0_pre20240712 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   1 +
 .../clang-common-19.0.0_pre20240712.ebuild | 304 +
 2 files changed, 305 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index 19cd7967846b..da1a21ae2420 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -7,3 +7,4 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
+DIST llvm-project-1bad7024561bc64ed4bfda0772b16376b475eba5.tar.gz 216657623 
BLAKE2B 
99c48a95c427e8fae5568e5f59ab9bec8b2d8bec0c5d3cf453c261a738fe1c295b34e2e10e6b08d2b02cae43e3b0cd4c8eb025d19a83ee51f47a49afadd56d3f
 SHA512 
08fc904122ab346edbfc3903cafae4f50ba57e146b2d821a568f8378c0f3ab4d413e07c5df2bf061374f9db4634b5f6b27f204fc4f2f68984303ceec9c963c0c

diff --git a/sys-devel/clang-common/clang-common-19.0.0_pre20240712.ebuild 
b/sys-devel/clang-common/clang-common-19.0.0_pre20240712.ebuild
new file mode 100644
index ..090a45690818
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-19.0.0_pre20240712.ebuild
@@ -0,0 +1,304 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
+   eerror
+   eerror "  ${missing_flags[*]}"
+   eerror
+   eerror "The default runtimes are now set via flags on 
sys-devel/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 "  sys-devel/clang-common ${missing_flags[*]}"
+   eerror
+   eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1."
+   die "Mismatched defaults detected between sys-devel/clang and 
sys-devel/clang-common"
+   fi
+}
+
+_doclang_cfg() {
+   local triple="${1}"
+
+   local tool
+   for tool in ${triple}-clang{,++}; do
+   newins - "${tool}.cfg" <<-EOF
+   # This configuration file is used by ${tool} driver.
+

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-07-13 Thread Michał Górny
commit: 7c61c9eb0be589d1354eb73dc160593f244265a8
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 13 04:47:21 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 13 07:45:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c61c9eb

sys-devel/clang-runtime: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-19.0.0_pre20240623.ebuild| 39 --
 .../clang-runtime-19.0.0_pre20240630.ebuild| 39 --
 2 files changed, 78 deletions(-)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240623.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240623.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240623.ebuild
+++ /dev/null
@@ -1,39 +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 openmp +sanitize"
-REQUIRED_USE="sanitize? ( compiler-rt )"
-
-RDEPEND="
-   compiler-rt? (
-   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   sanitize? (
-   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   )
-   )
-   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
-   openmp? ( >=sys-libs/libomp-${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/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240630.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240630.ebuild
deleted file mode 100644
index 323c0b62c062..
--- a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240630.ebuild
+++ /dev/null
@@ -1,39 +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 openmp +sanitize"
-REQUIRED_USE="sanitize? ( compiler-rt )"
-
-RDEPEND="
-   compiler-rt? (
-   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   sanitize? (
-   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
-   )
-   )
-   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
-   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-07-13 Thread Michał Górny
commit: e90a3976c26f327d3bf7e5f7d927a73027480683
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 13 04:47:38 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 13 07:45:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e90a3976

sys-devel/clang: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   2 -
 sys-devel/clang/clang-19.0.0_pre20240623.ebuild | 469 
 sys-devel/clang/clang-19.0.0_pre20240630.ebuild | 469 
 3 files changed, 940 deletions(-)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 2837e561b026..25ec0fbf30c9 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -5,7 +5,6 @@ DIST llvm-18.1.0-manpages.tar.bz2 270429 BLAKE2B 
d85d6e23197184dc512019c25805af0
 DIST llvm-gentoo-patchset-15.0.7-r3.tar.xz 24268 BLAKE2B 
6531ae385ecea87bc26dba8ce19b4cde8ff224c80fd81f04c6ded131e305ecfdeb8d29ebd3b68a641d240805dc83eb0ebc7cc85124f02ad0ee66e0f201b91d7e
 SHA512 
66cb33f8b423736b990fb75d4f2d1e5f14c0b03308f403297204dd1a352d72f85f34220fd66d3de5d6df328cdf2ffce03c2a111cb0bb57791cf68a88069ac7df
 DIST llvm-gentoo-patchset-16.0.6.tar.xz 17340 BLAKE2B 
37cdf4b38367b4256d4f7a25d1b4f41758e5f81be8e20a1c94a10d6c5e36642e9672121b455e73a0bac2eb40467ef2db4b43789b2912a6790593d97b8b5c27e3
 SHA512 
2c02b9d8a4c5af9fddcd26c95dc66fffae32cb5b7f85c65a1aa4ed00dd8cd5b01cc1975a711aee63c0b8b11e9dc20f2bc05ea753904eb516892b820f02aff825
 DIST llvm-gentoo-patchset-17.0.6-r1.tar.xz 2792 BLAKE2B 
b4e9014179edd96add0c932b16d3a95a5d7a905298052164ff668590108c83cd4f938d42b6d801efedae28a959b03b2bc3c7cd2a4cad20ef2b3c7aa9a3d0c15d
 SHA512 
73a46aa9f6f2ac6334a073733aa082a12f97fb6a2750d5930af4eb1639cd192f3a17ea87c2f17947f04c68a5f60e37d9bc27ede8bab75531599edfb4c3aa8ffe
-DIST llvm-project-022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd.tar.gz 215902891 
BLAKE2B 
ecd87b84a4e5f87c91b6df0a2d6849f385bdb7b26b14a2836f1e1fc5a69f9f5b441e47b9251174019f62eabe39a243092cd1a175b5da7d7576cdcfd63083cff0
 SHA512 
7726e253179bfd9e0b93236e3ce1133b421329b0b3496b10c0a0eecde372fb5e55cce737b6b78db13f2d0833bbc92023d95efa54cb2918b12ce9af166bd90ff4
 DIST llvm-project-0b9f2847da79298ed09c29493245113f02b32d9f.tar.gz 216399453 
BLAKE2B 
ed13e6639d40bdda6dbd09eba0cc8e4f82f4f53ce3cff9742e902af1c306c60dcb6d5fb008057829d46bbbde391697726cba2096c52cf1592c00faf1e37430e4
 SHA512 
a5b0bf59fa228a41f0c904a42b4b96740fc5e5caa63248c546eb4a810e86d5d8d1d8df663051edcc0389ffa6ec12ee5dbf7d94d6211a253319550d7fac1c
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
@@ -15,4 +14,3 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-3ae6755719c6dfc07761b4e9bdac8c86bcb41734.tar.gz 213487323 
BLAKE2B 
12030750fca0e7db4ae07a608874877151b2393cf58388f067b469e913ce9ac3f264440ebb3df5ea33f9f97cb87928fa746c98ba26c8d296f9e26dcbf950afc2
 SHA512 
951b70eafc8aea5b1f7847002229d89df565ca8180deef08b25966dcf070a7603a258e5fc24f9496251d23d275040724ed5e9499432ba3e19f5984f6f1c3c645

diff --git a/sys-devel/clang/clang-19.0.0_pre20240623.ebuild 
b/sys-devel/clang/clang-19.0.0_pre20240623.ebuild
deleted file mode 100644
index 87140d676d57..
--- a/sys-devel/clang/clang-19.0.0_pre20240623.ebuild
+++ /dev/null
@@ -1,469 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-07-13 Thread Michał Górny
commit: ec85cebfc0c38f9b6c9b44d43b7fa45601556e4a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 13 04:47:39 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 13 07:45:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec85cebf

sys-devel/clang-common: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   2 -
 .../clang-common-19.0.0_pre20240623.ebuild | 304 -
 .../clang-common-19.0.0_pre20240630.ebuild | 304 -
 3 files changed, 610 deletions(-)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index d8983bfac4e7..19cd7967846b 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -1,4 +1,3 @@
-DIST llvm-project-022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd.tar.gz 215902891 
BLAKE2B 
ecd87b84a4e5f87c91b6df0a2d6849f385bdb7b26b14a2836f1e1fc5a69f9f5b441e47b9251174019f62eabe39a243092cd1a175b5da7d7576cdcfd63083cff0
 SHA512 
7726e253179bfd9e0b93236e3ce1133b421329b0b3496b10c0a0eecde372fb5e55cce737b6b78db13f2d0833bbc92023d95efa54cb2918b12ce9af166bd90ff4
 DIST llvm-project-0b9f2847da79298ed09c29493245113f02b32d9f.tar.gz 216399453 
BLAKE2B 
ed13e6639d40bdda6dbd09eba0cc8e4f82f4f53ce3cff9742e902af1c306c60dcb6d5fb008057829d46bbbde391697726cba2096c52cf1592c00faf1e37430e4
 SHA512 
a5b0bf59fa228a41f0c904a42b4b96740fc5e5caa63248c546eb4a810e86d5d8d1d8df663051edcc0389ffa6ec12ee5dbf7d94d6211a253319550d7fac1c
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
@@ -8,4 +7,3 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e06541
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B 
a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f
 SHA512 
259984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db
 DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 
6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd
 SHA512 
ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
-DIST llvm-project-3ae6755719c6dfc07761b4e9bdac8c86bcb41734.tar.gz 213487323 
BLAKE2B 
12030750fca0e7db4ae07a608874877151b2393cf58388f067b469e913ce9ac3f264440ebb3df5ea33f9f97cb87928fa746c98ba26c8d296f9e26dcbf950afc2
 SHA512 
951b70eafc8aea5b1f7847002229d89df565ca8180deef08b25966dcf070a7603a258e5fc24f9496251d23d275040724ed5e9499432ba3e19f5984f6f1c3c645

diff --git a/sys-devel/clang-common/clang-common-19.0.0_pre20240623.ebuild 
b/sys-devel/clang-common/clang-common-19.0.0_pre20240623.ebuild
deleted file mode 100644
index f260391ba4ab..
--- a/sys-devel/clang-common/clang-common-19.0.0_pre20240623.ebuild
+++ /dev/null
@@ -1,304 +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="
-   sys-devel/clang:*
-   default-compiler-rt? (
-   sys-devel/clang-runtime[compiler-rt]
-   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
-   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
-   )
-   !default-compiler-rt? ( sys-devel/gcc )
-   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
-   !default-libcxx? ( sys-devel/gcc )
-   default-lld? ( >=sys-devel/lld-${PV} )
-   !default-lld? ( sys-devel/binutils )
-"
-IDEPEND="
-   !default-compiler-rt? ( sys-devel/gcc-config )
-   !default-libcxx? ( sys-devel/gcc-config )
-"
-

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-07-06 Thread Michał Górny
commit: 63c7a7e2b77e2166f2984bb891670d903e68aad5
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  6 10:46:36 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 11:19:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c7a7e2

sys-devel/clang-runtime: Add 19.0.0_pre20240706 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-19.0.0_pre20240706.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240706.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240706.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240706.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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: sys-devel/clang/

2024-07-06 Thread Michał Górny
commit: 541386a03d1d3dcc0727414c9061c98841042da0
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  6 10:46:21 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 11:19:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541386a0

sys-devel/clang: Add 19.0.0_pre20240706 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang/Manifest|   1 +
 sys-devel/clang/clang-19.0.0_pre20240706.ebuild | 473 
 2 files changed, 474 insertions(+)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 1c7ac912d021..2837e561b026 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -6,6 +6,7 @@ DIST llvm-gentoo-patchset-15.0.7-r3.tar.xz 24268 BLAKE2B 
6531ae385ecea87bc26dba8
 DIST llvm-gentoo-patchset-16.0.6.tar.xz 17340 BLAKE2B 
37cdf4b38367b4256d4f7a25d1b4f41758e5f81be8e20a1c94a10d6c5e36642e9672121b455e73a0bac2eb40467ef2db4b43789b2912a6790593d97b8b5c27e3
 SHA512 
2c02b9d8a4c5af9fddcd26c95dc66fffae32cb5b7f85c65a1aa4ed00dd8cd5b01cc1975a711aee63c0b8b11e9dc20f2bc05ea753904eb516892b820f02aff825
 DIST llvm-gentoo-patchset-17.0.6-r1.tar.xz 2792 BLAKE2B 
b4e9014179edd96add0c932b16d3a95a5d7a905298052164ff668590108c83cd4f938d42b6d801efedae28a959b03b2bc3c7cd2a4cad20ef2b3c7aa9a3d0c15d
 SHA512 
73a46aa9f6f2ac6334a073733aa082a12f97fb6a2750d5930af4eb1639cd192f3a17ea87c2f17947f04c68a5f60e37d9bc27ede8bab75531599edfb4c3aa8ffe
 DIST llvm-project-022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd.tar.gz 215902891 
BLAKE2B 
ecd87b84a4e5f87c91b6df0a2d6849f385bdb7b26b14a2836f1e1fc5a69f9f5b441e47b9251174019f62eabe39a243092cd1a175b5da7d7576cdcfd63083cff0
 SHA512 
7726e253179bfd9e0b93236e3ce1133b421329b0b3496b10c0a0eecde372fb5e55cce737b6b78db13f2d0833bbc92023d95efa54cb2918b12ce9af166bd90ff4
+DIST llvm-project-0b9f2847da79298ed09c29493245113f02b32d9f.tar.gz 216399453 
BLAKE2B 
ed13e6639d40bdda6dbd09eba0cc8e4f82f4f53ce3cff9742e902af1c306c60dcb6d5fb008057829d46bbbde391697726cba2096c52cf1592c00faf1e37430e4
 SHA512 
a5b0bf59fa228a41f0c904a42b4b96740fc5e5caa63248c546eb4a810e86d5d8d1d8df663051edcc0389ffa6ec12ee5dbf7d94d6211a253319550d7fac1c
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7

diff --git a/sys-devel/clang/clang-19.0.0_pre20240706.ebuild 
b/sys-devel/clang/clang-19.0.0_pre20240706.ebuild
new file mode 100644
index ..8f60be56ec64
--- /dev/null
+++ b/sys-devel/clang/clang-19.0.0_pre20240706.ebuild
@@ -0,0 +1,473 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake llvm.org llvm-utils 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="
+   ~sys-devel/llvm-${PV}:${LLVM_MAJOR}=[debug=,${MULTILIB_USEDEP}]
+   static-analyzer? ( dev-lang/perl:* )
+   xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   ${DEPEND}
+   >=sys-devel/clang-common-${PV}
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   test? ( ~sys-devel/lld-${PV} )
+   xml? ( virtual/pkgconfig )
+"
+PDEPEND="
+   ~sys-devel/clang-runtime-${PV}
+   sys-devel/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:

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-07-06 Thread Michał Górny
commit: 5907520dd920bd67bb663a1bc1edeeefc7fe86e7
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  6 10:46:20 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 11:19:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5907520d

sys-devel/clang-common: Add 19.0.0_pre20240706 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 sys-devel/clang-common/Manifest|   1 +
 .../clang-common-19.0.0_pre20240706.ebuild | 304 +
 2 files changed, 305 insertions(+)

diff --git a/sys-devel/clang-common/Manifest b/sys-devel/clang-common/Manifest
index 190a94518940..d8983bfac4e7 100644
--- a/sys-devel/clang-common/Manifest
+++ b/sys-devel/clang-common/Manifest
@@ -1,4 +1,5 @@
 DIST llvm-project-022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd.tar.gz 215902891 
BLAKE2B 
ecd87b84a4e5f87c91b6df0a2d6849f385bdb7b26b14a2836f1e1fc5a69f9f5b441e47b9251174019f62eabe39a243092cd1a175b5da7d7576cdcfd63083cff0
 SHA512 
7726e253179bfd9e0b93236e3ce1133b421329b0b3496b10c0a0eecde372fb5e55cce737b6b78db13f2d0833bbc92023d95efa54cb2918b12ce9af166bd90ff4
+DIST llvm-project-0b9f2847da79298ed09c29493245113f02b32d9f.tar.gz 216399453 
BLAKE2B 
ed13e6639d40bdda6dbd09eba0cc8e4f82f4f53ce3cff9742e902af1c306c60dcb6d5fb008057829d46bbbde391697726cba2096c52cf1592c00faf1e37430e4
 SHA512 
a5b0bf59fa228a41f0c904a42b4b96740fc5e5caa63248c546eb4a810e86d5d8d1d8df663051edcc0389ffa6ec12ee5dbf7d94d6211a253319550d7fac1c
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7

diff --git a/sys-devel/clang-common/clang-common-19.0.0_pre20240706.ebuild 
b/sys-devel/clang-common/clang-common-19.0.0_pre20240706.ebuild
new file mode 100644
index ..090a45690818
--- /dev/null
+++ b/sys-devel/clang-common/clang-common-19.0.0_pre20240706.ebuild
@@ -0,0 +1,304 @@
+# 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="
+   sys-devel/clang:*
+   default-compiler-rt? (
+   sys-devel/clang-runtime[compiler-rt]
+   llvm-libunwind? ( sys-libs/llvm-libunwind[static-libs] )
+   !llvm-libunwind? ( sys-libs/libunwind[static-libs] )
+   )
+   !default-compiler-rt? ( sys-devel/gcc )
+   default-libcxx? ( >=sys-libs/libcxx-${PV}[static-libs] )
+   !default-libcxx? ( sys-devel/gcc )
+   default-lld? ( >=sys-devel/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 "sys-devel/clang[${flag}]"; 
then
+   missing_flags+=( "${flag}" )
+   fi
+   done
+
+   if [[ ${missing_flags[@]} ]]; then
+   eerror "It seems that you have the following flags set on 
sys-devel/clang:"
+   eerror
+   eerror "  ${missing_flags[*]}"
+   eerror
+   eerror "The default runtimes are now set via flags on 
sys-devel/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 "  sys-devel/clang-common ${missing_flags[*]}"
+   eerror
+   eerror "or build with CLANG_IGNORE_DEFAULT_RUNTIMES=1."
+   die "Mismatched defaults detected between sys-devel/clang and 
sys-de

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/

2024-07-04 Thread Sam James
commit: de01d97d992ee06fa23ed0938cfd32cc0ea34493
Author: Sv. Lockal  gmail  com>
AuthorDate: Thu Jul  4 03:44:33 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul  4 19:07:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de01d97d

sys-devel/clang-common: add -Xarch_host for hardening flags to fix HIP 
compilation

Fixes USE=hardened errors like:
`error: reference to __host__ function '__glibcxx_assert_fail' in __host__ 
__device__ function`

Closes: https://bugs.gentoo.org/935314
Signed-off-by: Sv. Lockal  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37420
Signed-off-by: Sam James  gentoo.org>

 .../{clang-common-18.1.8.ebuild => clang-common-17.0.6-r6.ebuild}   | 6 ++
 .../{clang-common-18.1.8.ebuild => clang-common-18.1.8-r1.ebuild}   | 4 ++--
 sys-devel/clang-common/clang-common-19.0.0..ebuild  | 4 ++--
 sys-devel/clang-common/clang-common-19.0.0_pre20240630.ebuild   | 4 ++--
 4 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/sys-devel/clang-common/clang-common-18.1.8.ebuild 
b/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
similarity index 98%
copy from sys-devel/clang-common/clang-common-18.1.8.ebuild
copy to sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
index b7d4720e0e22..f90ed723d7b0 100644
--- a/sys-devel/clang-common/clang-common-18.1.8.ebuild
+++ b/sys-devel/clang-common/clang-common-17.0.6-r6.ebuild
@@ -244,17 +244,15 @@ src_install() {
#endif
EOF
 
-   # TODO: Maybe -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST for
-   # non-hardened?
if use hardened ; then
cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die
# Options below are conditional on USE=hardened.
-   -D_GLIBCXX_ASSERTIONS
+   -Xarch_host -D_GLIBCXX_ASSERTIONS
 
# Analogue to GLIBCXX_ASSERTIONS
# 
https://libcxx.llvm.org/UsingLibcxx.html#assertions-mode
# 
https://libcxx.llvm.org/Hardening.html#using-hardened-mode
-   
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
+   -Xarch_host -D_LIBCPP_ENABLE_ASSERTIONS=1
EOF
 
cat >> "${ED}/etc/clang/gentoo-hardened-ld.cfg" <<-EOF || die

diff --git a/sys-devel/clang-common/clang-common-18.1.8.ebuild 
b/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
similarity index 98%
rename from sys-devel/clang-common/clang-common-18.1.8.ebuild
rename to sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
index b7d4720e0e22..303f8001a6c8 100644
--- a/sys-devel/clang-common/clang-common-18.1.8.ebuild
+++ b/sys-devel/clang-common/clang-common-18.1.8-r1.ebuild
@@ -249,12 +249,12 @@ src_install() {
if use hardened ; then
cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die
# Options below are conditional on USE=hardened.
-   -D_GLIBCXX_ASSERTIONS
+   -Xarch_host -D_GLIBCXX_ASSERTIONS
 
# Analogue to GLIBCXX_ASSERTIONS
# 
https://libcxx.llvm.org/UsingLibcxx.html#assertions-mode
# 
https://libcxx.llvm.org/Hardening.html#using-hardened-mode
-   
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
+   -Xarch_host 
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
EOF
 
cat >> "${ED}/etc/clang/gentoo-hardened-ld.cfg" <<-EOF || die

diff --git a/sys-devel/clang-common/clang-common-19.0.0..ebuild 
b/sys-devel/clang-common/clang-common-19.0.0..ebuild
index f260391ba4ab..090a45690818 100644
--- a/sys-devel/clang-common/clang-common-19.0.0..ebuild
+++ b/sys-devel/clang-common/clang-common-19.0.0..ebuild
@@ -248,12 +248,12 @@ src_install() {
if use hardened ; then
cat >> "${ED}/etc/clang/gentoo-hardened.cfg" <<-EOF || die
# Options below are conditional on USE=hardened.
-   -D_GLIBCXX_ASSERTIONS
+   -Xarch_host -D_GLIBCXX_ASSERTIONS
 
# Analogue to GLIBCXX_ASSERTIONS
# 
https://libcxx.llvm.org/UsingLibcxx.html#assertions-mode
# 
https://libcxx.llvm.org/Hardening.html#using-hardened-mode
-   
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
+   -Xarch_host 
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
EOF
 
cat >> "${ED}/etc/clang/gentoo-hardened-ld.cfg" <<-EOF || die

diff --git a/sys-devel/clang-common/clang-common-19.0.0_pre20240630.ebuild 
b/sys-devel/clang-common/clang-common-19.0.0_pre20240630.ebuild
index f260391ba4ab..090a45690818 100644
--- a/sys-devel/clang-common/clang-common-19.0.0_pre20240630.ebuild
++

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/

2024-07-03 Thread Pacho Ramos
commit: de83a25c3f8b4ab54332e82df4ad9d90786e4e8c
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Jul  4 06:46:18 2024 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Jul  4 06:46:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de83a25c

sys-devel/clang: enable py3.12

Closes: https://bugs.gentoo.org/933997
Signed-off-by: Pacho Ramos  gentoo.org>

 sys-devel/clang/clang-15.0.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/clang/clang-15.0.7-r3.ebuild 
b/sys-devel/clang/clang-15.0.7-r3.ebuild
index 131afb227f0e..0d07b49a63ac 100644
--- a/sys-devel/clang/clang-15.0.7-r3.ebuild
+++ b/sys-devel/clang/clang-15.0.7-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit cmake llvm llvm.org multilib multilib-minimal \
prefix python-single-r1 toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2024-06-30 Thread Michał Górny
commit: cd42ca18f1f7a48bd73daaf0aa5cef64fe5c
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 30 16:23:48 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 30 17:00:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd42ca18

sys-devel/clang-runtime: Add 19.0.0_pre20240630 snapshot

Signed-off-by: Michał Górny  gentoo.org>

 .../clang-runtime-19.0.0_pre20240630.ebuild| 39 ++
 1 file changed, 39 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240630.ebuild 
b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240630.ebuild
new file mode 100644
index ..323c0b62c062
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-19.0.0_pre20240630.ebuild
@@ -0,0 +1,39 @@
+# 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 openmp +sanitize"
+REQUIRED_USE="sanitize? ( compiler-rt )"
+
+RDEPEND="
+   compiler-rt? (
+   
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   sanitize? (
+   
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
+   )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${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
+}



  1   2   3   4   5   6   7   8   9   10   >