[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-04-20 Thread Michał Górny
commit: 8daf96502ff0f53fde46b6f7fc0aa35486e4ba12
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 20 09:38:41 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 20 09:38:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8daf9650

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240420 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240420.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 8b7dede0fd3c..08f33eef70b1 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.4.src.tar.xz 132054668 BLAKE2B 
94bbad3b185fd07cbace4eff79aba80fbdd5e072739250e3927fe1848bcf3f8d355eb1f384e57306707eb702acc7ab01b732590735be7950221607664d04b0a6
 SHA512 
b1b214ae91f3705d8ea345547ad53f1e5d7d884c1eb6958bc41c14ac4b3e407771ccc2b693686ff103c8232c2c3942731d6db9a9cb4f735e6c6a0674739d0b29
 DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb25c40e9d8d2c7341de0215d8c31f330f396e9c166ff63513829cdc9cef349f08238f66a4dc949fa97958a7af496abae369eaa
 SHA512 
4f456edf4fb454815acaef6855b1a0991f229810a32e9369af83388e37f0ef8964308e1e93bd6216024cdd67e86caaadc8d5794467857cc6fe561c9fa6ca7386
 DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf
 SHA512 
1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1
+DIST llvm-project-f03cd2db91956456f1c5e2da86d3c50183eebd28.tar.gz 209375254 
BLAKE2B 
1d7e043d04323edb64b2ef2309fbcb4f82a959f45391e815133cc0891d5a497bbb81101aab460e9bf67e75aa906e13ad1877c3850829dcad397ed626dc8f2792
 SHA512 
6775e03a44b2133bd4a4b473ab007599321daa19dc7f3cc47f95cf9d110e83e982bf48a6b1d43038b0f0a2c0fef2f689aefd20132b25a90ef19342683e2d2e50

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240420.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240420.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240420.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+   sed -i -e 
"/COMPILER_RT_HAS_${cmake_flag^^}/s:TRUE:FALSE:" \
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-04-19 Thread Michał Górny
commit: cfbb2fdda8467d8bbb84370bd83575a1a8be4f88
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 20 04:24:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 20 04:29:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfbb2fdd

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   4 -
 .../compiler-rt-sanitizers-18.1.3.ebuild   | 218 -
 ...ompiler-rt-sanitizers-19.0.0_pre20240330.ebuild | 217 
 ...ompiler-rt-sanitizers-19.0.0_pre20240404.ebuild | 217 
 4 files changed, 656 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index fadae9dbb312..8b7dede0fd3c 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -1,14 +1,10 @@
 DIST llvm-gentoo-patchset-15.0.7.tar.xz 19300 BLAKE2B 
b70e81d744c2eba5cd851e7b690ce8979b3064973f522be7c93bfb54186a4bc8b17219f8788dfc8a527217dd13946cf7836640698ddd3d4b3fde493dfbf8
 SHA512 
da6ae4a0874aff1a423b4bb36701ecb5a35a36ae91d4ed7fda58b83e50ffcdc30498c84be4711fd3e1f227bf312dbe930019203e0a131944439af2aa94f7
-DIST llvm-project-12735916bd3a63aa9f316af8eebfe9420cfec489.tar.gz 208645973 
BLAKE2B 
4a64dcaa15cb592634eceb384ecfc11173dbf0285402c32be2b8056374bb8ecef8fa1055fbe353a0836c84b75736cc05f3a14428bc431c18362cfaa7bf96a50a
 SHA512 
ee42f7db322c84dfae3c67ffcfff2ee8d56d6bd4a0412b6bd4f8952ac1da4d57d18fa38011fe514631363b4cc143327be887792dd2e9562942261c99e655d948
 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
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
-DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
 DIST llvm-project-18.1.4.src.tar.xz 132054668 BLAKE2B 
94bbad3b185fd07cbace4eff79aba80fbdd5e072739250e3927fe1848bcf3f8d355eb1f384e57306707eb702acc7ab01b732590735be7950221607664d04b0a6
 SHA512 
b1b214ae91f3705d8ea345547ad53f1e5d7d884c1eb6958bc41c14ac4b3e407771ccc2b693686ff103c8232c2c3942731d6db9a9cb4f735e6c6a0674739d0b29
 DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb25c40e9d8d2c7341de0215d8c31f330f396e9c166ff63513829cdc9cef349f08238f66a4dc949fa97958a7af496abae369eaa
 SHA512 
4f456edf4fb454815acaef6855b1a0991f229810a32e9369af83388e37f0ef8964308e1e93bd6216024cdd67e86caaadc8d5794467857cc6fe561c9fa6ca7386
-DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-04-18 Thread Michał Górny
commit: 5d1ec7fe081184508ab23f23930ce86e0c94e28e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 18 11:29:34 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 18 18:13:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d1ec7fe

sys-libs/compiler-rt-sanitizers: Add 18.1.4

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-18.1.4.ebuild   | 218 +
 2 files changed, 220 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 5546d4c3a5c5..fadae9dbb312 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,5 +8,7 @@ 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.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
 DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
+DIST llvm-project-18.1.4.src.tar.xz 132054668 BLAKE2B 
94bbad3b185fd07cbace4eff79aba80fbdd5e072739250e3927fe1848bcf3f8d355eb1f384e57306707eb702acc7ab01b732590735be7950221607664d04b0a6
 SHA512 
b1b214ae91f3705d8ea345547ad53f1e5d7d884c1eb6958bc41c14ac4b3e407771ccc2b693686ff103c8232c2c3942731d6db9a9cb4f735e6c6a0674739d0b29
+DIST llvm-project-18.1.4.src.tar.xz.sig 566 BLAKE2B 
b74fd219d7bcdf197b4e711cfbb25c40e9d8d2c7341de0215d8c31f330f396e9c166ff63513829cdc9cef349f08238f66a4dc949fa97958a7af496abae369eaa
 SHA512 
4f456edf4fb454815acaef6855b1a0991f229810a32e9369af83388e37f0ef8964308e1e93bd6216024cdd67e86caaadc8d5794467857cc6fe561c9fa6ca7386
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
 DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf
 SHA512 
1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.4.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.4.ebuild
new file mode 100644
index ..192ead8311f8
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.4.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-04-10 Thread Michał Górny
commit: 9b7d179153c5fe7fefea88bd8dc6148b51487800
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 10 09:52:51 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 10 11:09:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7d1791

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240410 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240410.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 53188b977ec8..5546d4c3a5c5 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
 DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
+DIST llvm-project-ee284d2da0720dc21191d6f545504cbfcf5dcbcf.tar.gz 208883034 
BLAKE2B 
e37c9f1a6a4d0caa9a3091f979dd09f509d458f8b7b30286c77dd2385aea748b7aac6dd488c79573f82feb655aa321717bd2fb46bba4a12b388b52064f6e13bf
 SHA512 
1335ade87cd2accc47ac47ed2ab302999e375808b158b6c9d31fac9059cbb992d2bdaaadf1fd9a1b37268c1123d43346ea4d150894d6d2e6f80ba790b65b93b1

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240410.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240410.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240410.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+   sed -i -e 
"/COMPILER_RT_HAS_${cmake_flag^^}/s:TRUE:FALSE:" \
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-04-06 Thread Michał Górny
commit: 83f9570b36d3cad9b17c5231158ecec054b6de02
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  6 13:04:08 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  6 13:44:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83f9570b

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240404 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240404.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 44020d12332a..53188b977ec8 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -1,4 +1,5 @@
 DIST llvm-gentoo-patchset-15.0.7.tar.xz 19300 BLAKE2B 
b70e81d744c2eba5cd851e7b690ce8979b3064973f522be7c93bfb54186a4bc8b17219f8788dfc8a527217dd13946cf7836640698ddd3d4b3fde493dfbf8
 SHA512 
da6ae4a0874aff1a423b4bb36701ecb5a35a36ae91d4ed7fda58b83e50ffcdc30498c84be4711fd3e1f227bf312dbe930019203e0a131944439af2aa94f7
+DIST llvm-project-12735916bd3a63aa9f316af8eebfe9420cfec489.tar.gz 208645973 
BLAKE2B 
4a64dcaa15cb592634eceb384ecfc11173dbf0285402c32be2b8056374bb8ecef8fa1055fbe353a0836c84b75736cc05f3a14428bc431c18362cfaa7bf96a50a
 SHA512 
ee42f7db322c84dfae3c67ffcfff2ee8d56d6bd4a0412b6bd4f8952ac1da4d57d18fa38011fe514631363b4cc143327be887792dd2e9562942261c99e655d948
 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-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240404.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240404.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240404.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-04-05 Thread Michał Górny
commit: 94236e5ccbe50fbf0fd5ee379478e4556a827e92
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  6 04:55:02 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  6 04:55:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94236e5c

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   4 -
 .../compiler-rt-sanitizers-18.1.2.ebuild   | 218 -
 ...ompiler-rt-sanitizers-19.0.0_pre20240316.ebuild | 217 
 ...ompiler-rt-sanitizers-19.0.0_pre20240322.ebuild | 217 
 4 files changed, 656 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index a3c86dbf2a0a..44020d12332a 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -5,10 +5,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
-DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
 DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
-DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
-DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.2.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.2.ebuild
deleted file mode 100644
index 192ead8311f8..
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.2.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-04-04 Thread Michał Górny
commit: f654738e3ee5c5411c892ba2f6389d4e7b7a1ed4
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  4 17:44:57 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  4 18:08:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f654738e

sys-libs/compiler-rt-sanitizers: Add 18.1.3

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-18.1.3.ebuild   | 218 +
 2 files changed, 220 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index ece7fa394217..a3c86dbf2a0a 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -7,6 +7,8 @@ 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.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
+DIST llvm-project-18.1.3.src.tar.xz 132049300 BLAKE2B 
0681177cfe6a65f5cf11942381078388e8f5d9d5a4bb50b040e4c10a3898e7311ff379fcca008e82e4bef225792a38eb77f722c972725b9251a0fda29d8d7ecc
 SHA512 
b8b8a00c560bc7d4c4b5d533b92dbd52f2c0254f0acf687e787e8b7fa780cd5d96f6e9709356d2c406c0b36b186dee4de6b1bc1928a97de0bda863fa873e0783
+DIST llvm-project-18.1.3.src.tar.xz.sig 566 BLAKE2B 
dcecf41346cc864c6e5bedd3a7db3db4f32a68534364d2537a15ca7e4e2f2d35a22722385ac556d2a4ac48ab37567566094f223534e696299f98040e702146d0
 SHA512 
b7e50779841891e9ed9de5ed917c5be3209a52a5d98c67a032509ae8fad8a2a882bf619c66d2ee45bb53dfb03d750cb94dc4b2750ec2a8edb0465700d5bc657c
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
 DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
 DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.3.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.3.ebuild
new file mode 100644
index ..192ead8311f8
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.3.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-03-30 Thread Michał Górny
commit: 63651b6648dbd1dbcf9fc9a74170e051545c4c50
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 30 10:21:42 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 30 10:27:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63651b66

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240330 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240330.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 0b189206b7bd..ece7fa394217 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,4 +8,5 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
+DIST llvm-project-a8b0ecd2605ff23f495a8af64e06c35f86834e54.tar.gz 208451583 
BLAKE2B 
3f8557637b9d10ed924cfec0b3e83d85996417df24b317cac55740aa199ef97cf7560fe634debd1dbfc7c9fc25aa2b2643fccaecc4c866481dc57b11eba1d02f
 SHA512 
1f4bf5a8a59582af426ad13cc828e1e482c5c831ed5a4bb0da419ed3cf67e5e485fd36074603ad22328e35be44b8ccd2d92d1382bc7a228fdf38d458a2321e07
 DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240330.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240330.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240330.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-03-23 Thread Michał Górny
commit: 19fc7521baa8ee2844da987292495322cb6034e4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 23 16:07:50 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 23 17:03:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19fc7521

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240322 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240322.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 8cb6236bc2ab..0b189206b7bd 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490
+DIST llvm-project-f3cfe016c5d8429c0dccfa6f85442e2ea0d45a58.tar.gz 208184654 
BLAKE2B 
abd35798f7c921866bb221cecc42aa94915271d0804acbf44dbe5640efb787ef9d928c329eacde768fac4292217ed4d3c4187fba02dd1c826059aeaa1bad33f0
 SHA512 
513f7278367114ba3fe3271e8a790b62adbca97d280968537e44e5df9a7afb467a5ca93480f4d4fb7c4d5c0734d00ab54559bf68c00f09a1fcff2fee492aa84f

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240322.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240322.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240322.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+   sed -i -e 
"/COMPILER_RT_HAS_${cmake_flag^^}/s:TRUE:FALSE:" \
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-03-23 Thread Michał Górny
commit: e26c65d3fe508e663d91e9aac4084aa0a9a33b99
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 23 06:48:50 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 23 06:48:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e26c65d3

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   4 -
 .../compiler-rt-sanitizers-18.1.0.ebuild   | 218 -
 ...ompiler-rt-sanitizers-19.0.0_pre20240302.ebuild | 217 
 ...ompiler-rt-sanitizers-19.0.0_pre20240309.ebuild | 217 
 4 files changed, 656 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 018cf2f68335..8cb6236bc2ab 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -5,10 +5,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46c46f9b78fe764dc6c45e016b3d39006dac40af4cae2e01d07131785711913f311d944e9817036b20b08366382e83f3d4093814
 SHA512 
b94f837ff0e1aafdd4939e6e50740c8ab6af602b182357ae495359301a6d5fadaa997014895b90e0c91a715c713218396bb10687167ef30b17ebeccf310f2adf
-DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
 DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
 DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
-DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
-DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0.ebuild
deleted file mode 100644
index 192ead8311f8..
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-03-20 Thread Michał Górny
commit: f817702bc551726e061c6adb9d6b9ef2cc16becb
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 20 06:36:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 20 12:50:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f817702b

sys-libs/compiler-rt-sanitizers: Add 18.1.2

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-18.1.2.ebuild   | 218 +
 2 files changed, 220 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index a4f673325120..018cf2f68335 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -7,6 +7,8 @@ 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.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46c46f9b78fe764dc6c45e016b3d39006dac40af4cae2e01d07131785711913f311d944e9817036b20b08366382e83f3d4093814
 SHA512 
b94f837ff0e1aafdd4939e6e50740c8ab6af602b182357ae495359301a6d5fadaa997014895b90e0c91a715c713218396bb10687167ef30b17ebeccf310f2adf
 DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
+DIST llvm-project-18.1.2.src.tar.xz 132060436 BLAKE2B 
f21fca02fe9e02a3d440595aafbe0572be318ce69cc6285c1bf3dc9187b37ebf4c76f3ea60b6870c441675288f46e5597b069ec451d5026c5161f84daef6b4b2
 SHA512 
a0d01b018abbdf1609abc7b63911bb4c6c3619b748a0616b66be0843fcaa4240868412c5d1f77fe6dafdfed665b46570e7ce615da58efcaa91e9ddc8481e6fc4
+DIST llvm-project-18.1.2.src.tar.xz.sig 566 BLAKE2B 
97c6b6b4a041316e70abd54ff715d87a62410fe5590c9b90548fff5a5121d8d5e028ec681f7e99c130d6c6726835365825286ef0a01c82a98394d9369ea7a390
 SHA512 
1cd8d1c227782cb43e269696045cea500a43f3c6b786f2cda8d380f5b8fc28d3ada11c41c4a252f2d3db465f767b27ea50c5659faa43d4aa5655cc3ffd6243c2
 DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
 DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
 DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.2.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.2.ebuild
new file mode 100644
index ..192ead8311f8
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.2.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-03-16 Thread Michał Górny
commit: 52c9793ead57665e2367f9ee5f1fce18a6c14f0d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 16 16:19:17 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 16 16:25:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52c9793e

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240316 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240316.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 30b4546a1824..a4f673325120 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-18.1.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46
 DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
 DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
 DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
+DIST llvm-project-6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e.tar.gz 207700152 
BLAKE2B 
855720b7a9cc7b1d8fdf398394eb5c702dd615c04e7dad51c449cb1c2f46e75f2ccf2ee10fa3a3403d6aec29f557023a11bd8cdb525bc9c3d76c79f23cd15e82
 SHA512 
ff6269158e165907c69bd3e4d2d6b87b4f4670546b7e290d7e6665e7097ec887d71174fa37bf5e1755524317e8ae8f0c7c7e428049e8b553faa52c614f1f4490

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240316.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240316.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240316.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+   sed -i -e 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-03-12 Thread Sam James
commit: 5216a5babc967f8374e3fe6c6e631080977d33ce
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 12 07:54:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 12 07:54:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5216a5ba

sys-libs/compiler-rt-sanitizers: skip -Wthread-safety on older versions

Too much pain to backport it, it's just that newer Clang got better at
detecting these.

Closes: https://bugs.gentoo.org/926330
Signed-off-by: Sam James  gentoo.org>

 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild | 3 +++
 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild | 3 +++
 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild | 3 +++
 3 files changed, 9 insertions(+)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild
index a0fc463aab2e..0ecd27c9f4f2 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild
@@ -91,6 +91,9 @@ src_prepare() {
fi
done
 
+   # bug #926330
+   sed -i -e '/-Wthread-safety/d' CMakeLists.txt cmake/config-ix.cmake || 
die
+
# TODO: fix these tests to be skipped upstream
if use asan && ! use profile; then
rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
index fb27ee0f9e4d..58a7a57b942a 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
@@ -89,6 +89,9 @@ src_prepare() {
fi
done
 
+   # bug #926330
+   sed -i -e '/-Wthread-safety/d' CMakeLists.txt cmake/config-ix.cmake || 
die
+
# TODO: fix these tests to be skipped upstream
if use asan && ! use profile; then
rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
index 34f22c544481..b9264ab7e0a0 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
@@ -89,6 +89,9 @@ src_prepare() {
fi
done
 
+   # bug #926330
+   sed -i -e '/-Wthread-safety/d' CMakeLists.txt cmake/config-ix.cmake || 
die
+
# TODO: fix these tests to be skipped upstream
if use asan && ! use profile; then
rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-03-09 Thread Michał Górny
commit: 78902021d8aa55086895b163df777213499d32e4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  9 15:12:44 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  9 15:51:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78902021

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240309 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240309.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 9e4389706894..30b4546a1824 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -7,4 +7,5 @@ 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.0.src.tar.xz 132034208 BLAKE2B 
06ad7c65e1d10946c74027ec46c46f9b78fe764dc6c45e016b3d39006dac40af4cae2e01d07131785711913f311d944e9817036b20b08366382e83f3d4093814
 SHA512 
b94f837ff0e1aafdd4939e6e50740c8ab6af602b182357ae495359301a6d5fadaa997014895b90e0c91a715c713218396bb10687167ef30b17ebeccf310f2adf
 DIST llvm-project-18.1.0.src.tar.xz.sig 566 BLAKE2B 
1ab731c3fb151ce777ad4e2c8c653e5e08c2e97795dae06185d9d92248d4435aae67e1cfa23efb9b0b90ee44183ca69b92c64cb2b6d2c338388bde1fea07d232
 SHA512 
7bda930945c4b51c33de9918941797a4336020b475f3999a81055bb0b2a080f81e823c6bde43cc445a113e78f5667939bce5da64ccd650e8e9b15646f84ae105
+DIST llvm-project-1c7607e8ee6ec4ca3abce1561dd39a98d4efac96.tar.gz 207112414 
BLAKE2B 
eb028b0b09d0f970d2861578245f4ace7ebe55ef1da33503cad6a1ed3691d29cac2556bc9360e911d64ab617df4cce0d26ea0e1ab49a68ce7e4001c52ed32a71
 SHA512 
687720278900dd57dae430e965902777946e93b647726410c6310bb1c2c944d7d30d1733204d3db10d527ecff9d9ad78cbcb8a97408383d9c5245a031291674a
 DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240309.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240309.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240309.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-03-06 Thread Michał Górny
commit: 9160219c42fd02fbea24033b815b77a2cd9e1be1
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar  6 16:37:33 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  6 17:03:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9160219c

sys-libs/compiler-rt-sanitizers: Rekeyword 18.1.0

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

 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0.ebuild
index 57f868d54be6..192ead8311f8 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0.ebuild
@@ -11,7 +11,8 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="${LLVM_MAJOR}"
-IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
 # base targets
 IUSE+=" +libfuzzer +memprof +orc +profile +xray"
 # sanitizer targets, keep in sync with config-ix.cmake



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-03-02 Thread Michał Górny
commit: b4c4a57608b8986a30c0f7744c195190630fc3fe
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  2 11:53:03 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  2 13:24:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4c4a576

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240302 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240302.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index fcb60dd9af7d..19c80dfd3d2e 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -9,4 +9,5 @@ DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f
 DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-18.1.0rc4.src.tar.xz 132041940 BLAKE2B 
1379efd68f765a70e088ac356f69d792c210003c76b15f28b40273aa64825d7a7c7aa03d2d5016b2607626fd63f656ad88402506f23e836c72474be2032d3224
 SHA512 
3018a843f8e615ee0a4c742d5fafcc67eb6d6a40f81212ce045bdff7012b5acec006ee89c321baf59209daabe66b838709cdaed4e11a34c34b821cfdb77e8a61
 DIST llvm-project-18.1.0rc4.src.tar.xz.sig 566 BLAKE2B 
cc089aadc50d874b575c23b8c22a5472c8507acd3352786d3ac2ee0ec06f07e99eee81b94c6b5bdca569ccffa8b867eb2265b57d5d07b8ec31e3cfce89bf8fc1
 SHA512 
2ce82201b7c673884815898069f18cf1e4ab13a0a9ed535339d9c4132b7b0edb6b748b03499e383f8f0268d904589e6aebb9a204ef95d14f56a3fb9dca24571c
+DIST llvm-project-597f9761c3a5ba278fa930d2fac13f156287d505.tar.gz 206699707 
BLAKE2B 
5461426f02742cefe5ae7faeb7fed15628741e3fb41ca01ffb8159805f9b55d883d318e7c677e5bf348949b7d8e16e079df09d461abe9b32d804dcb284584fc5
 SHA512 
b06ae070bb197d18cb8653e290b85e8526cdab4aeb5a02c94295d489d271bd7cea637960b516937e0ba1d7ada29e734c8ea1137335d46756db54632dcdba93e9
 DIST llvm-project-60a904b2ad9842b93cc5fa0ad5bda5e22c550b7e.tar.gz 206511075 
BLAKE2B 
501924562c3e49eb921adcf3175d55ce0a47992b3b6b8b512ad8f1cc7b7e5f7bc3e2e278b7817c5924fdf8328f97be2f9c5037b1b6414d49e3b525739ecec6da
 SHA512 
b05fcb4600645befb07f2da1efba463389df3fd1d9a26cb0e6ff9ab51edc2d8c5f51a9d44fe4b7f5f29d67cd4dbd15382fdf97f51ddc2c209196533c40611078

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240302.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240302.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240302.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   python-any-r1_pkg_setup
+}
+
+src_prepare() 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-02-28 Thread Michał Górny
commit: cf20ad6bffb997b5707262f4bd7809e2cb254cb8
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 28 20:08:47 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 28 20:40:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf20ad6b

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   4 -
 .../compiler-rt-sanitizers-18.1.0_rc2.ebuild   | 217 -
 ...ompiler-rt-sanitizers-19.0.0_pre20240210.ebuild | 217 -
 ...ompiler-rt-sanitizers-19.0.0_pre20240218.ebuild | 217 -
 4 files changed, 655 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 941edf2623c4..fcb60dd9af7d 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -5,12 +5,8 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
-DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
 DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f225705140a463706ec391e4e42f203606b85673601a65fe55f2432d77f4c2f4c6584b35e53eeaded42e0b67aa6538c37d7cceb4ff
 SHA512 
6c0adcf6e4057de8fb1dcd062845d14d725833d23d8e1362cbccab176931f55600a3971f01690179b795ff3feca0af9141b16dee4d4159755596cc9c904bf099
 DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-18.1.0rc4.src.tar.xz 132041940 BLAKE2B 
1379efd68f765a70e088ac356f69d792c210003c76b15f28b40273aa64825d7a7c7aa03d2d5016b2607626fd63f656ad88402506f23e836c72474be2032d3224
 SHA512 
3018a843f8e615ee0a4c742d5fafcc67eb6d6a40f81212ce045bdff7012b5acec006ee89c321baf59209daabe66b838709cdaed4e11a34c34b821cfdb77e8a61
 DIST llvm-project-18.1.0rc4.src.tar.xz.sig 566 BLAKE2B 
cc089aadc50d874b575c23b8c22a5472c8507acd3352786d3ac2ee0ec06f07e99eee81b94c6b5bdca569ccffa8b867eb2265b57d5d07b8ec31e3cfce89bf8fc1
 SHA512 
2ce82201b7c673884815898069f18cf1e4ab13a0a9ed535339d9c4132b7b0edb6b748b03499e383f8f0268d904589e6aebb9a204ef95d14f56a3fb9dca24571c
-DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
 DIST llvm-project-60a904b2ad9842b93cc5fa0ad5bda5e22c550b7e.tar.gz 206511075 
BLAKE2B 
501924562c3e49eb921adcf3175d55ce0a47992b3b6b8b512ad8f1cc7b7e5f7bc3e2e278b7817c5924fdf8328f97be2f9c5037b1b6414d49e3b525739ecec6da
 SHA512 
b05fcb4600645befb07f2da1efba463389df3fd1d9a26cb0e6ff9ab51edc2d8c5f51a9d44fe4b7f5f29d67cd4dbd15382fdf97f51ddc2c209196533c40611078
-DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-02-28 Thread Michał Górny
commit: 49c611714c15e976c36912913369363beaea2090
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 28 20:04:37 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 28 20:40:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c61171

sys-libs/compiler-rt-sanitizers: Add 18.1.0_rc4

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-18.1.0_rc4.ebuild   | 217 +
 2 files changed, 219 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index a3096c5ba214..941edf2623c4 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -9,6 +9,8 @@ DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
 DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f225705140a463706ec391e4e42f203606b85673601a65fe55f2432d77f4c2f4c6584b35e53eeaded42e0b67aa6538c37d7cceb4ff
 SHA512 
6c0adcf6e4057de8fb1dcd062845d14d725833d23d8e1362cbccab176931f55600a3971f01690179b795ff3feca0af9141b16dee4d4159755596cc9c904bf099
 DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
+DIST llvm-project-18.1.0rc4.src.tar.xz 132041940 BLAKE2B 
1379efd68f765a70e088ac356f69d792c210003c76b15f28b40273aa64825d7a7c7aa03d2d5016b2607626fd63f656ad88402506f23e836c72474be2032d3224
 SHA512 
3018a843f8e615ee0a4c742d5fafcc67eb6d6a40f81212ce045bdff7012b5acec006ee89c321baf59209daabe66b838709cdaed4e11a34c34b821cfdb77e8a61
+DIST llvm-project-18.1.0rc4.src.tar.xz.sig 566 BLAKE2B 
cc089aadc50d874b575c23b8c22a5472c8507acd3352786d3ac2ee0ec06f07e99eee81b94c6b5bdca569ccffa8b867eb2265b57d5d07b8ec31e3cfce89bf8fc1
 SHA512 
2ce82201b7c673884815898069f18cf1e4ab13a0a9ed535339d9c4132b7b0edb6b748b03499e383f8f0268d904589e6aebb9a204ef95d14f56a3fb9dca24571c
 DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
 DIST llvm-project-60a904b2ad9842b93cc5fa0ad5bda5e22c550b7e.tar.gz 206511075 
BLAKE2B 
501924562c3e49eb921adcf3175d55ce0a47992b3b6b8b512ad8f1cc7b7e5f7bc3e2e278b7817c5924fdf8328f97be2f9c5037b1b6414d49e3b525739ecec6da
 SHA512 
b05fcb4600645befb07f2da1efba463389df3fd1d9a26cb0e6ff9ab51edc2d8c5f51a9d44fe4b7f5f29d67cd4dbd15382fdf97f51ddc2c209196533c40611078
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc4.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc4.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc4.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-02-24 Thread Michał Górny
commit: 07634479b3c5b21a07420f613dcacc82c88d9590
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 24 14:53:15 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 24 14:53:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07634479

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240224 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240224.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 3073c9098ff3..a3096c5ba214 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -10,4 +10,5 @@ DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be
 DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f225705140a463706ec391e4e42f203606b85673601a65fe55f2432d77f4c2f4c6584b35e53eeaded42e0b67aa6538c37d7cceb4ff
 SHA512 
6c0adcf6e4057de8fb1dcd062845d14d725833d23d8e1362cbccab176931f55600a3971f01690179b795ff3feca0af9141b16dee4d4159755596cc9c904bf099
 DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
+DIST llvm-project-60a904b2ad9842b93cc5fa0ad5bda5e22c550b7e.tar.gz 206511075 
BLAKE2B 
501924562c3e49eb921adcf3175d55ce0a47992b3b6b8b512ad8f1cc7b7e5f7bc3e2e278b7817c5924fdf8328f97be2f9c5037b1b6414d49e3b525739ecec6da
 SHA512 
b05fcb4600645befb07f2da1efba463389df3fd1d9a26cb0e6ff9ab51edc2d8c5f51a9d44fe4b7f5f29d67cd4dbd15382fdf97f51ddc2c209196533c40611078
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240224.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240224.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240224.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-02-21 Thread Michał Górny
commit: 10bab930d7dab8982c5710f1ecc77246590d1ef7
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 21 20:39:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 22 04:23:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10bab930

sys-libs/compiler-rt-sanitizers: Add 18.1.0_rc3

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-18.1.0_rc3.ebuild   | 217 +
 2 files changed, 219 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 173d916e90a1..3073c9098ff3 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -7,5 +7,7 @@ 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.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
+DIST llvm-project-18.1.0rc3.src.tar.xz 132011280 BLAKE2B 
482a0e1b806292598bd646f225705140a463706ec391e4e42f203606b85673601a65fe55f2432d77f4c2f4c6584b35e53eeaded42e0b67aa6538c37d7cceb4ff
 SHA512 
6c0adcf6e4057de8fb1dcd062845d14d725833d23d8e1362cbccab176931f55600a3971f01690179b795ff3feca0af9141b16dee4d4159755596cc9c904bf099
+DIST llvm-project-18.1.0rc3.src.tar.xz.sig 566 BLAKE2B 
dac9c174e2eeda5e0af0153d78a2e9c8f145efe03250582a27df1bd6a89ba70afdcfa1ed6aa46adb1f7f21077cadb6e43963758358ff17122c36781ee4018c05
 SHA512 
91a2778f9b66bc80172172f36d6027fb2455f3ffd03b06ad0dd376471c4d4e2e34c8bee69c76cfe95003ae34f0d28c394c7d135fbbb75686ff89aee56b6c45c3
 DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc3.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc3.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc3.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-02-18 Thread Michał Górny
commit: b891f9a98893f39c821732ab6115404fa386b2b5
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 18 19:55:51 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 18 20:22:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b891f9a9

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240218 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240218.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index ab8af0be5fe8..173d916e90a1 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -7,4 +7,5 @@ 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.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
+DIST llvm-project-3496927edcd0685807351ba88a7e2cfb006e1c0d.tar.gz 206227842 
BLAKE2B 
cd27e9e9bca3622c2241bfa91c78eb8443df7465c1efcec57d5e701e2c61d3b2d3619483199e67b56deed9410f5382fc3164cdc7e864dcd77f4d12f3f9d2b159
 SHA512 
156d441074aff4d85af956b9abf89f9aefbe5b39e315c9c7c249ad01f95b42a303c23e9142292e7746f691c2ee704a7cd4a60916594ea1d468240c9b8152
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240218.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240218.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240218.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-02-17 Thread Michał Górny
commit: 3d85c7f31a2889acfd5464bedb1687ee61f53780
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 17 19:18:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 17 19:18:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d85c7f3

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 -
 ...ompiler-rt-sanitizers-19.0.0_pre20240203.ebuild | 217 -
 2 files changed, 218 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index ebf2f8b2e225..ab8af0be5fe8 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -7,5 +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.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
-DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a
 DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240203.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240203.ebuild
deleted file mode 100644
index 57f868d54be6..
--- 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240203.ebuild
+++ /dev/null
@@ -1,217 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-   shadowcallstack gwp-asan
-)
-IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
-REQUIRED_USE="
-   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
-   test? (
-   cfi? ( ubsan )
-   gwp-asan? ( scudo )
-   )
-"
-RESTRICT="
-   !clang? ( test )
-   !test? ( test )
-"
-
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
-"
-BDEPEND="
-   clang? ( sys-devel/clang )
-   elibc_glibc? ( net-libs/libtirpc )
-   test? (
-   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
-   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
-   sys-libs/compiler-rt:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-"
-
-LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
-}
-
-check_space() {
-   if use test; then
-   local CHECKREQS_DISK_BUILD=11G
-   check-reqs_pkg_pretend
-   fi
-}
-
-pkg_pretend() {
-   check_space
-}
-
-pkg_setup() {
-   check_space
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   sed -i -e 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-02-10 Thread Michał Górny
commit: 893922821d838d8f2414485d1a03115370e13132
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 10 17:15:22 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 10 17:27:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89392282

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240210 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240210.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index fc12c5a758c4..ebf2f8b2e225 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
 DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a
+DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 
BLAKE2B 
115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00
 SHA512 
cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240210.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240210.ebuild
new file mode 100644
index ..57f868d54be6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240210.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+   sed -i -e 
"/COMPILER_RT_HAS_${cmake_flag^^}/s:TRUE:FALSE:" \
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-02-10 Thread Michał Górny
commit: 8688e1ece32ffd601e180ee011bcb91b7bfb67e1
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 10 11:14:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 10 11:14:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8688e1ec

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   3 -
 .../compiler-rt-sanitizers-18.1.0_rc1.ebuild   | 216 -
 ...ompiler-rt-sanitizers-19.0.0_pre20240127.ebuild | 216 -
 3 files changed, 435 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 218be87d072e..fc12c5a758c4 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -5,9 +5,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
-DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
 DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
-DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
 DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc1.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc1.ebuild
deleted file mode 100644
index 2ab1ae07e4c7..
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc1.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-  

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-02-10 Thread Michał Górny
commit: dfa28b3246e07a048cd5af9f0ec41159698af9fb
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 10 11:00:40 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 10 11:13:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfa28b32

sys-libs/compiler-rt-sanitizers: Migrate to llvm-utils

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

 .../compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc2.ebuild  | 5 +++--
 .../compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0..ebuild | 5 +++--
 .../compiler-rt-sanitizers-19.0.0_pre20240203.ebuild | 5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc2.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc2.ebuild
index 2ab1ae07e4c7..57f868d54be6 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc2.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
 
 DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
 HOMEPAGE="https://llvm.org/;
@@ -72,7 +72,6 @@ pkg_pretend() {
 
 pkg_setup() {
check_space
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
python-any-r1_pkg_setup
 }
 
@@ -102,6 +101,8 @@ src_prepare() {
 }
 
 src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
 

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0..ebuild
index 2ab1ae07e4c7..57f868d54be6 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0..ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0..ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
 
 DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
 HOMEPAGE="https://llvm.org/;
@@ -72,7 +72,6 @@ pkg_pretend() {
 
 pkg_setup() {
check_space
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
python-any-r1_pkg_setup
 }
 
@@ -102,6 +101,8 @@ src_prepare() {
 }
 
 src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
 

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240203.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240203.ebuild
index 2ab1ae07e4c7..57f868d54be6 100644
--- 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240203.ebuild
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240203.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+inherit check-reqs cmake flag-o-matic llvm.org llvm-utils python-any-r1
 
 DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
 HOMEPAGE="https://llvm.org/;
@@ -72,7 +72,6 @@ pkg_pretend() {
 
 pkg_setup() {
check_space
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
python-any-r1_pkg_setup
 }
 
@@ -102,6 +101,8 @@ src_prepare() {
 }
 
 src_configure() {
+   llvm_prepend_path "${LLVM_MAJOR}"
+
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-02-07 Thread Michał Górny
commit: effa921b54becc7f00a91e6aafb1ce5220be7a12
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  7 15:48:08 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  7 16:11:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=effa921b

sys-libs/compiler-rt-sanitizers: Add 18.1.0_rc2

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-18.1.0_rc2.ebuild   | 216 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 47af6ad940cb..218be87d072e 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -7,5 +7,7 @@ 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.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
 DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
+DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 
8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15
 SHA512 
b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a
+DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B 
c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0
 SHA512 
83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91
 DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
 DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc2.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc2.ebuild
new file mode 100644
index ..2ab1ae07e4c7
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc2.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-02-03 Thread Michał Górny
commit: 1a70ad0893437d37fc5c1939007c5be6d721b417
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb  3 14:49:36 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb  3 15:01:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a70ad08

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240203 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240203.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 1c6d43b7ffcf..47af6ad940cb 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
 DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
 DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
+DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 
BLAKE2B 
ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9
 SHA512 
366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240203.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240203.ebuild
new file mode 100644
index ..2ab1ae07e4c7
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240203.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+   sed -i -e 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-01-30 Thread Michał Górny
commit: 7622b95e387bc02d9194991184c3b845c3d9a6d4
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 30 20:17:27 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 30 21:21:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7622b95e

sys-libs/compiler-rt-sanitizers: Remove 18.0.0*

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   3 -
 .../compiler-rt-sanitizers-18.0.0..ebuild  | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20240106.ebuild | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20240113.ebuild | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20240120.ebuild | 216 -
 5 files changed, 867 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 39c718a25611..1c6d43b7ffcf 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,6 +8,3 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149
 DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
 DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
 DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
-DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
-DIST llvm-project-9eb0f86c279f40a792ec27bf0e9b491b8c90a640.tar.gz 205195168 
BLAKE2B 
c3d051270958216196d6051d41e78168a7027714c5658c7edc70d274ed91f9d4ee16e8d1f92672bf252c65005c636c380766210ac3d80b4ac2f9f6305aefa29b
 SHA512 
ee62acdfa756a2ddeb46fcafa364489885b6ecc50c87f365af42f308ebc87b9674c33c2f5a84c5169d9c9cada08e4fffe35d2eff48f05b70e791e27ac2c8b347
-DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
deleted file mode 100644
index 2ab1ae07e4c7..
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-   shadowcallstack gwp-asan
-)
-IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
-REQUIRED_USE="
-   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
-   test? (
-   cfi? ( ubsan )
-   gwp-asan? ( scudo )
-   )
-"
-RESTRICT="
-   !clang? ( test )
-   !test? ( test )
-"
-
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
-"
-BDEPEND="
-   clang? ( sys-devel/clang )
-   elibc_glibc? ( net-libs/libtirpc )
-   test? (
-   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
-   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
-   sys-libs/compiler-rt:${LLVM_MAJOR}
-   )
-   !test? (

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-01-30 Thread Michał Górny
commit: bb5f9d9be9f5fdd38ffef245ce93e167be065597
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 30 20:16:19 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 30 21:21:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5f9d9b

sys-libs/compiler-rt-sanitizers: Add 18.1.0_rc1

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-18.1.0_rc1.ebuild   | 216 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 53d813d9669c..39c718a25611 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -5,6 +5,8 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
+DIST llvm-project-18.1.0rc1.src.tar.xz 131969632 BLAKE2B 
0cc2f3049a89ee07182189a1ff7aec1751bfe6bbaed4887e139854737fe4eb0ec924b37d8d5b01e298d6a4b271735a615283465262345d0a288180edd6276139
 SHA512 
85afc331c8a023f4d8177cc42143b968b94d6987a7ed38b8be1170c6b4e1ef1a79d2d4e44d5fae98b713959b5d69bd4e44c6ba84355f59e8fe99588cbca03d7a
+DIST llvm-project-18.1.0rc1.src.tar.xz.sig 566 BLAKE2B 
c9fd7e92e0c6bb8291314ed388d518d15b75c5d4e7ba5da461c2176c5519d721c5ae95d8ecf99ce17bdc398cf23f13b540aacab306c2923e4c0ac8a5f059746f
 SHA512 
0bb072ef2d3156241bcb74102c977db73720f38918e1a0b2cbe6191b6884ce5750ed9f5af69575599bad840c0151a04f81ebc5194c4ce258cbd6516d6c26d9cb
 DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
 DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
 DIST llvm-project-9eb0f86c279f40a792ec27bf0e9b491b8c90a640.tar.gz 205195168 
BLAKE2B 
c3d051270958216196d6051d41e78168a7027714c5658c7edc70d274ed91f9d4ee16e8d1f92672bf252c65005c636c380766210ac3d80b4ac2f9f6305aefa29b
 SHA512 
ee62acdfa756a2ddeb46fcafa364489885b6ecc50c87f365af42f308ebc87b9674c33c2f5a84c5169d9c9cada08e4fffe35d2eff48f05b70e791e27ac2c8b347

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc1.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc1.ebuild
new file mode 100644
index ..2ab1ae07e4c7
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.1.0_rc1.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-01-27 Thread Michał Górny
commit: c15c3b786387a3e64aceb40abd94f776fbbc47ab
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 27 15:18:22 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 27 20:33:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c15c3b78

sys-libs/compiler-rt-sanitizers: Add 19.0.0_pre20240127 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-19.0.0_pre20240127.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index e90f3bc71e77..53d813d9669c 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -5,6 +5,7 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
+DIST llvm-project-1f13203029333ac99cc9844b8b6915aae3fc0902.tar.gz 205629630 
BLAKE2B 
cd6c127bc7b63fffc4707863ab8a34e23371ce28878818723ba74d78a1be1b43c2f401fba7de2084f628f9418b7f0e7b9fe9c224b92dc44233cde2f5e3470333
 SHA512 
0b35754d6e8836267393d0d63effe04e1af5851b217252953ca3a75e7d71e32b1188991d34ff649f8c1cf2a1b49b844ca7e0704597655ffd37d151f4b9a0cf36
 DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
 DIST llvm-project-9eb0f86c279f40a792ec27bf0e9b491b8c90a640.tar.gz 205195168 
BLAKE2B 
c3d051270958216196d6051d41e78168a7027714c5658c7edc70d274ed91f9d4ee16e8d1f92672bf252c65005c636c380766210ac3d80b4ac2f9f6305aefa29b
 SHA512 
ee62acdfa756a2ddeb46fcafa364489885b6ecc50c87f365af42f308ebc87b9674c33c2f5a84c5169d9c9cada08e4fffe35d2eff48f05b70e791e27ac2c8b347
 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240127.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240127.ebuild
new file mode 100644
index ..2ab1ae07e4c7
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0_pre20240127.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-01-23 Thread Michał Górny
commit: 404b80a66089efc72b1888a03e9ca6e9c712c01f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 24 05:44:29 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 24 06:32:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=404b80a6

sys-libs/compiler-rt-sanitizers: Add 19.x live ebuild

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

 .../compiler-rt-sanitizers-19.0.0..ebuild  | 216 +
 1 file changed, 216 insertions(+)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0..ebuild
new file mode 100644
index ..2ab1ae07e4c7
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-19.0.0..ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+   sed -i -e 
"/COMPILER_RT_HAS_${cmake_flag^^}/s:TRUE:FALSE:" \
+   cmake/config-ix.cmake || die
+   fi
+   done
+
+   # TODO: fix these tests to be skipped upstream
+   if use asan && ! use profile; then
+   rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die
+   fi
+   if use ubsan && ! use cfi; then
+   > test/cfi/CMakeLists.txt || die
+   fi
+   # hangs, sigh
+   rm test/tsan/getline_nohang.cpp || die
+
+   llvm.org_src_prepare
+}
+
+src_configure() {
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   # pre-set since we need to pass it to cmake
+   BUILD_DIR=${WORKDIR}/compiler-rt_build
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   local flag want_sanitizer=OFF
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if use "${flag}"; then
+   want_sanitizer=ON
+   break
+   fi
+   done
+
+   local mycmakeargs=(
+   
-DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${LLVM_MAJOR}"
+   # use a build dir structure consistent with install
+   # this makes it possible to easily deploy test-friendly clang
+   -DCOMPILER_RT_OUTPUT_DIR="${BUILD_DIR}/lib/clang/${LLVM_MAJOR}"
+
+   -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
+   # builtins & crt installed by sys-libs/compiler-rt
+   -DCOMPILER_RT_BUILD_BUILTINS=OFF
+   -DCOMPILER_RT_BUILD_CRT=OFF
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-01-22 Thread Michał Górny
commit: dc997f5b80b58ffd004cc23df67ba781edc264be
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 22 12:58:18 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 22 14:07:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc997f5b

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20240120 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20240120.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index d8831bfafdb3..e90f3bc71e77 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
+DIST llvm-project-9eb0f86c279f40a792ec27bf0e9b491b8c90a640.tar.gz 205195168 
BLAKE2B 
c3d051270958216196d6051d41e78168a7027714c5658c7edc70d274ed91f9d4ee16e8d1f92672bf252c65005c636c380766210ac3d80b4ac2f9f6305aefa29b
 SHA512 
ee62acdfa756a2ddeb46fcafa364489885b6ecc50c87f365af42f308ebc87b9674c33c2f5a84c5169d9c9cada08e4fffe35d2eff48f05b70e791e27ac2c8b347
 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240120.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240120.ebuild
new file mode 100644
index ..2ab1ae07e4c7
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240120.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-01-13 Thread Michał Górny
commit: 0e6501736ba20b43e5226a889066137cb715a92c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 13 16:15:03 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 13 17:49:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e650173

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20240113 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20240113.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index da0ea2e8415f..d8831bfafdb3 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -5,4 +5,5 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
+DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 
BLAKE2B 
8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce
 SHA512 
a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18
 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240113.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240113.ebuild
new file mode 100644
index ..2ab1ae07e4c7
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240113.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-01-13 Thread Joonas Niilola
commit: 2f3351676154a78c053729ee69d277649bed8d1e
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Jan 13 11:28:28 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jan 13 11:28:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f335167

sys-libs/compiler-rt-sanitizers: Stabilize 17.0.6 x86, #920044

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
index bca23f9692b7..34f22c544481 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="${LLVM_MAJOR}"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~ppc-macos 
~x64-macos"
 IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
 # base targets
 IUSE+=" +libfuzzer +memprof +orc +profile +xray"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-01-13 Thread Michał Górny
commit: e2cd837c7bf5624719e2ea94543b8cc8596af6c6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 13 10:12:11 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 13 10:12:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2cd837c

sys-libs/compiler-rt-sanitizers: Remove redundant cmake dep

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

 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild | 5 ++---
 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild | 3 +--
 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild | 1 -
 .../compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild | 3 +--
 .../compiler-rt-sanitizers-18.0.0_pre20240106.ebuild | 1 -
 5 files changed, 4 insertions(+), 9 deletions(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild
index de0aa3e3f2fe..a0fc463aab2e 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-15.0.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
 
 DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
@@ -39,7 +39,6 @@ DEPEND="
virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
 "
 BDEPEND="
-   >=dev-util/cmake-3.16
clang? ( sys-devel/clang )
elibc_glibc? ( net-libs/libtirpc )
test? (

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
index 7457d3741e50..fb27ee0f9e4d 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -39,7 +39,6 @@ DEPEND="
virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
 "
 BDEPEND="
-   >=dev-util/cmake-3.16
clang? ( sys-devel/clang )
elibc_glibc? ( net-libs/libtirpc )
test? (

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
index 901b4f7d57ff..bca23f9692b7 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
@@ -39,7 +39,6 @@ DEPEND="
virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
 "
 BDEPEND="
-   >=dev-util/cmake-3.16
clang? ( sys-devel/clang )
elibc_glibc? ( net-libs/libtirpc )
test? (

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
index 9b46a98372e8..2ab1ae07e4c7 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -38,7 +38,6 @@ DEPEND="
virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
 "
 BDEPEND="
-   >=dev-util/cmake-3.16
clang? ( sys-devel/clang )
elibc_glibc? ( net-libs/libtirpc )
test? (

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240106.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240106.ebuild
index 6ee6d3690a53..2ab1ae07e4c7 100644
--- 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240106.ebuild
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240106.ebuild
@@ -38,7 +38,6 @@ DEPEND="
virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
 "
 BDEPEND="
-   >=dev-util/cmake-3.16
clang? ( sys-devel/clang )
elibc_glibc? ( net-libs/libtirpc )
test? (



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-01-12 Thread Michał Górny
commit: 9974006ee3454c14b5d2efb8829c65ad799b1b7e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan 12 19:33:33 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan 12 19:35:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9974006e

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   3 -
 ...ompiler-rt-sanitizers-18.0.0_pre20231215.ebuild | 217 -
 ...ompiler-rt-sanitizers-18.0.0_pre20231222.ebuild | 217 -
 ...ompiler-rt-sanitizers-18.0.0_pre20231228.ebuild | 217 -
 4 files changed, 654 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 61447a1b42df..da0ea2e8415f 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -5,7 +5,4 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
-DIST llvm-project-17858ce6f3d24f994f6ad8c899bfa4eed39f739d.tar.gz 204267841 
BLAKE2B 
05232178574de9f7e6d4c2e5eb59cabc70670d14b5f92010a42aa3ab6087abd992672044857e6f8d21cd9d2c3d8129b47420f5e3ec746b50e82a3cac5352e824
 SHA512 
e7836fc56d7121d762cd714a4cd5e28c8b068ff375928d3b5cd32d7e4488b5cf59b21e16250b4f12a973ada3f73ce246af2cc3cd83efca17dc9c3da5b458196d
 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d
-DIST llvm-project-a700298b3d538452915703268ca18f7f8f7537e6.tar.gz 204307149 
BLAKE2B 
70c7bdf9694343145d12fe494bceb7e4c4325136a4d8eecaec0a53cb6193d42a6ce47e048569f4fe3bc1754e6a114cbc97225344f9cfc4f39935323d4cb64f68
 SHA512 
76b2c621a97ec3fffe504f4e7c9c5af4db1ee63556291078d302c2c88596b7d07d07d607226361d4272f7757cd8246faff64f4ad36b86cde141ded65fd0b7a62
-DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231215.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231215.ebuild
deleted file mode 100644
index 9b46a98372e8..
--- 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231215.ebuild
+++ /dev/null
@@ -1,217 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-   shadowcallstack gwp-asan
-)
-IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
-REQUIRED_USE="
-   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
-   test? (
-   cfi? ( ubsan )
-   gwp-asan? ( scudo )
-   )
-"
-RESTRICT="
-   !clang? ( test )
-   !test? ( test )
-"
-
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
-"
-BDEPEND="
-   >=dev-util/cmake-3.16
-   clang? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-01-12 Thread Sam James
commit: 613e54429e8ab2f46005467fe3c56926853f3a54
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 12 09:22:36 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 12 09:22:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=613e5442

sys-libs/compiler-rt-sanitizers: Stabilize 17.0.6 arm64, #920044

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

 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
index a2634d969b24..901b4f7d57ff 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="${LLVM_MAJOR}"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
 IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
 # base targets
 IUSE+=" +libfuzzer +memprof +orc +profile +xray"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2024-01-06 Thread Michał Górny
commit: 56ff26b6c57ad122b54d9de9f4fe5747d0292902
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 21:49:48 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 21:52:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56ff26b6

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20240106 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20240106.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 673b0dd6884a..61447a1b42df 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,5 +6,6 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-17858ce6f3d24f994f6ad8c899bfa4eed39f739d.tar.gz 204267841 
BLAKE2B 
05232178574de9f7e6d4c2e5eb59cabc70670d14b5f92010a42aa3ab6087abd992672044857e6f8d21cd9d2c3d8129b47420f5e3ec746b50e82a3cac5352e824
 SHA512 
e7836fc56d7121d762cd714a4cd5e28c8b068ff375928d3b5cd32d7e4488b5cf59b21e16250b4f12a973ada3f73ce246af2cc3cd83efca17dc9c3da5b458196d
+DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 
BLAKE2B 
75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200
 SHA512 
b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d
 DIST llvm-project-a700298b3d538452915703268ca18f7f8f7537e6.tar.gz 204307149 
BLAKE2B 
70c7bdf9694343145d12fe494bceb7e4c4325136a4d8eecaec0a53cb6193d42a6ce47e048569f4fe3bc1754e6a114cbc97225344f9cfc4f39935323d4cb64f68
 SHA512 
76b2c621a97ec3fffe504f4e7c9c5af4db1ee63556291078d302c2c88596b7d07d07d607226361d4272f7757cd8246faff64f4ad36b86cde141ded65fd0b7a62
 DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240106.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240106.ebuild
new file mode 100644
index ..6ee6d3690a53
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20240106.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-12-28 Thread Michał Górny
commit: 6a98416247564b5b1cc606a21be179700b1c96b8
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Dec 28 13:50:56 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec 28 15:06:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a984162

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20231228 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20231228.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index ff58317bae3d..673b0dd6884a 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-17858ce6f3d24f994f6ad8c899bfa4eed39f739d.tar.gz 204267841 
BLAKE2B 
05232178574de9f7e6d4c2e5eb59cabc70670d14b5f92010a42aa3ab6087abd992672044857e6f8d21cd9d2c3d8129b47420f5e3ec746b50e82a3cac5352e824
 SHA512 
e7836fc56d7121d762cd714a4cd5e28c8b068ff375928d3b5cd32d7e4488b5cf59b21e16250b4f12a973ada3f73ce246af2cc3cd83efca17dc9c3da5b458196d
+DIST llvm-project-a700298b3d538452915703268ca18f7f8f7537e6.tar.gz 204307149 
BLAKE2B 
70c7bdf9694343145d12fe494bceb7e4c4325136a4d8eecaec0a53cb6193d42a6ce47e048569f4fe3bc1754e6a114cbc97225344f9cfc4f39935323d4cb64f68
 SHA512 
76b2c621a97ec3fffe504f4e7c9c5af4db1ee63556291078d302c2c88596b7d07d07d607226361d4272f7757cd8246faff64f4ad36b86cde141ded65fd0b7a62
 DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231228.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231228.ebuild
new file mode 100644
index ..9b46a98372e8
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231228.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-12-15 Thread Michał Górny
commit: 852029094a21d782d705988a06677a09c447e959
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 15 17:49:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 15 17:51:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85202909

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20231215 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20231215.ebuild | 217 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index dfaba3126d08..e6cec6834be0 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -10,3 +10,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-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
 DIST llvm-project-6a4489a73337907d52e7eaf3716f3de9008e6e53.tar.gz 201703120 
BLAKE2B 
7de783df15ff30ab85aad2f02a5a043d09b18dd7b212c19e21b045870497e2b17a53527523cd533c4ef61b22d605026a9322d2f8d02f0d4f76ed26ab693b788c
 SHA512 
ffc31d7037255d608717faff84e858d63b37abed5659d66599864ae44ed00fc5902e9851eb1b8c848b500623681ef5782b39ad2bf8bcf96ac4f35032efde1490
+DIST llvm-project-d37ced88809cb4d2df57ec80887b3f8801ca719b.tar.gz 203826420 
BLAKE2B 
58448df837f2119720a36b837d0e4f2b2fc00da5658706b193b9d2d180cf0f6c5eb79a9cc0fa9d94310996a95210115a5a46371bd8537f16e105adea14a72399
 SHA512 
1348e5bf736acaeebf0ae0f613973e6c2d439d360c2272bb4ab112e579b12c297970bb765fd774c768aa55a922c93048b1d8ae6bfd636b241fa86f9427cc2069

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231215.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231215.ebuild
new file mode 100644
index ..9b46a98372e8
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231215.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-12-09 Thread Michał Górny
commit: 5d31b913928aca1dc4dc694df7c917d96f6bc073
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 18:25:19 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 18:25:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d31b913

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 -
 .../compiler-rt-sanitizers-17.0.5.ebuild   | 216 -
 2 files changed, 218 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 1e16d4d66164..dfaba3126d08 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,8 +6,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 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
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
-DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.5.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.5.ebuild
deleted file mode 100644
index dde9db9d3f77..
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.5.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
-IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-   shadowcallstack gwp-asan
-)
-IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
-REQUIRED_USE="
-   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
-   test? (
-   cfi? ( ubsan )
-   gwp-asan? ( scudo )
-   )
-"
-RESTRICT="
-   !clang? ( test )
-   !test? ( test )
-"
-
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-11-29 Thread Michał Górny
commit: 73d9c7bdfab30ac78d4448d8a7b2c3af8634d1e0
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 29 12:47:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 29 15:14:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d9c7bd

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20231129 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest| 1 +
 .../compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild| 2 ++
 ...0.0..ebuild => compiler-rt-sanitizers-18.0.0_pre20231129.ebuild} | 2 ++
 3 files changed, 5 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 4125f5b03970..1e16d4d66164 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -11,3 +11,4 @@ DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5c
 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
+DIST llvm-project-6a4489a73337907d52e7eaf3716f3de9008e6e53.tar.gz 201703120 
BLAKE2B 
7de783df15ff30ab85aad2f02a5a043d09b18dd7b212c19e21b045870497e2b17a53527523cd533c4ef61b22d605026a9322d2f8d02f0d4f76ed26ab693b788c
 SHA512 
ffc31d7037255d608717faff84e858d63b37abed5659d66599864ae44ed00fc5902e9851eb1b8c848b500623681ef5782b39ad2bf8bcf96ac4f35032efde1490

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
index 74286022a3b1..9b46a98372e8 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
@@ -96,6 +96,8 @@ src_prepare() {
if use ubsan && ! use cfi; then
> test/cfi/CMakeLists.txt || die
fi
+   # hangs, sigh
+   rm test/tsan/getline_nohang.cpp || die
 
llvm.org_src_prepare
 }

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231129.ebuild
similarity index 99%
copy from 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
copy to 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231129.ebuild
index 74286022a3b1..9b46a98372e8 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231129.ebuild
@@ -96,6 +96,8 @@ src_prepare() {
if use ubsan && ! use cfi; then
> test/cfi/CMakeLists.txt || die
fi
+   # hangs, sigh
+   rm test/tsan/getline_nohang.cpp || die
 
llvm.org_src_prepare
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-11-28 Thread Michał Górny
commit: 49d7973596fd8d5f090a13267e1efd1513f8cde4
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 29 07:43:00 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 29 07:44:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49d79735

sys-libs/compiler-rt-sanitizers: Bump to 17.0.6

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-17.0.6.ebuild   | 218 +
 2 files changed, 220 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index f4e4110aaed8..4125f5b03970 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,4 +8,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
 DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
+DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B 
d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2
 SHA512 
6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30
+DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 
186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7
 SHA512 
f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
new file mode 100644
index ..fb91622d1002
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.6.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-11-25 Thread Michał Górny
commit: 006dae1476ce619b4e8eea972553c7294c1d1f4f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 25 11:19:24 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 25 11:21:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=006dae14

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   4 -
 .../compiler-rt-sanitizers-17.0.4.ebuild   | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20231104.ebuild | 215 
 ...ompiler-rt-sanitizers-18.0.0_pre2023.ebuild | 215 
 4 files changed, 650 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 197ceda496b2..f4e4110aaed8 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,10 +6,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 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
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-167b598648dfcee2f23426bfa972e53f8ac16722.tar.gz 201158314 
BLAKE2B 
908d42b0148f04eeab8d05d46736c570ffdea7d66273aa428375f944deaaf1c0ca885ef0fbe04588d838e4f831ff9823365f9df700f9e9de08c700f0135f2e59
 SHA512 
7da16df850245ba70e4ddf318a0e7322ed68b076337325c3d3702bb428358d11137b6254051cc6a34d047789f107fd96065cd169c9b2684f78b3a54c4f566a78
-DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
-DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
 DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
-DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.4.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.4.ebuild
deleted file mode 100644
index dde9db9d3f77..
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.4.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-11-19 Thread Michał Górny
commit: 94c64bdb16e824246d96ea40f5a54a0272c782f6
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 19 09:45:40 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 19 11:10:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94c64bdb

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20231119 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20231119.ebuild | 215 +
 2 files changed, 216 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 0a6a9c64700e..197ceda496b2 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -11,4 +11,5 @@ DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
 DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
+DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 
BLAKE2B 
f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db
 SHA512 
40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231119.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231119.ebuild
new file mode 100644
index ..74286022a3b1
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231119.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-11-14 Thread Michał Górny
commit: b0c5db739a2ed6d8970c3628ad1792b5fcb2f333
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 14 17:06:27 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 14 18:26:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0c5db73

sys-libs/compiler-rt-sanitizers: Bump to 17.0.5

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-17.0.5.ebuild   | 216 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 121706f652ad..0a6a9c64700e 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -9,4 +9,6 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-167b598648dfcee2f23426bfa972e53f8ac16722.tar.gz 201158314 
BLAKE2B 
908d42b0148f04eeab8d05d46736c570ffdea7d66273aa428375f944deaaf1c0ca885ef0fbe04588d838e4f831ff9823365f9df700f9e9de08c700f0135f2e59
 SHA512 
7da16df850245ba70e4ddf318a0e7322ed68b076337325c3d3702bb428358d11137b6254051cc6a34d047789f107fd96065cd169c9b2684f78b3a54c4f566a78
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
+DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 
2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e
 SHA512 
793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022
+DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B 
d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45
 SHA512 
509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.5.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.5.ebuild
new file mode 100644
index ..dde9db9d3f77
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.5.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-11-14 Thread Michał Górny
commit: 1c2dc1c5c6bd5ab107039f0a44cec5e49385c592
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 14 13:04:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 14 13:04:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c2dc1c5

sys-libs/compiler-rt-sanitizers: Remove 17.0.4. (live)

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

 .../compiler-rt-sanitizers-17.0.4..ebuild  | 215 -
 1 file changed, 215 deletions(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.4..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.4..ebuild
deleted file mode 100644
index 74286022a3b1..
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.4..ebuild
+++ /dev/null
@@ -1,215 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-   shadowcallstack gwp-asan
-)
-IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
-REQUIRED_USE="
-   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
-   test? (
-   cfi? ( ubsan )
-   gwp-asan? ( scudo )
-   )
-"
-RESTRICT="
-   !clang? ( test )
-   !test? ( test )
-"
-
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
-"
-BDEPEND="
-   >=dev-util/cmake-3.16
-   clang? ( sys-devel/clang )
-   elibc_glibc? ( net-libs/libtirpc )
-   test? (
-   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
-   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
-   sys-libs/compiler-rt:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-"
-
-LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
-}
-
-check_space() {
-   if use test; then
-   local CHECKREQS_DISK_BUILD=11G
-   check-reqs_pkg_pretend
-   fi
-}
-
-pkg_pretend() {
-   check_space
-}
-
-pkg_setup() {
-   check_space
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
-
-   local flag
-   for flag in "${SANITIZER_FLAGS[@]}"; do
-   if ! use "${flag}"; then
-   local cmake_flag=${flag/-/_}
-   sed -i -e 
"/COMPILER_RT_HAS_${cmake_flag^^}/s:TRUE:FALSE:" \
-   cmake/config-ix.cmake || die
-   fi
-   done
-
-   # TODO: fix these tests to be skipped upstream
-   if use asan && ! use profile; then
-   rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die
-   fi
-   if use ubsan && ! use cfi; then
-   > test/cfi/CMakeLists.txt || die
-   fi
-
-   llvm.org_src_prepare
-}
-
-src_configure() {
-   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
-   # pre-set since we need to pass it to cmake
-   BUILD_DIR=${WORKDIR}/compiler-rt_build
-
-   if use clang; then
-   local -x CC=${CHOST}-clang
-   local -x CXX=${CHOST}-clang++
-   strip-unsupported-flags
-   fi
-
-   local flag want_sanitizer=OFF
-   for flag in "${SANITIZER_FLAGS[@]}"; do
-   if use "${flag}"; then
-   want_sanitizer=ON
-   break
-   fi
-   done
-
-   local mycmakeargs=(
-   
-DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${LLVM_MAJOR}"
-   # use a build dir structure consistent with install
-   # this makes it possible to easily deploy test-friendly clang
-   -DCOMPILER_RT_OUTPUT_DIR="${BUILD_DIR}/lib/clang/${LLVM_MAJOR}"
-
-   -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
-   # builtins & crt installed by sys-libs/compiler-rt
-   -DCOMPILER_RT_BUILD_BUILTINS=OFF
-   -DCOMPILER_RT_BUILD_CRT=OFF
-   -DCOMPILER_RT_BUILD_LIBFUZZER=$(usex libfuzzer)
-

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-11-11 Thread Michał Górny
commit: 08394d2ba1fbc17fa1c45cf07b6062d0caa06657
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 11 19:01:32 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 11 20:23:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08394d2b

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre2023 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre2023.ebuild | 215 +
 2 files changed, 216 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 49c513400ca7..121706f652ad 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,6 +6,7 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 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
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
+DIST llvm-project-167b598648dfcee2f23426bfa972e53f8ac16722.tar.gz 201158314 
BLAKE2B 
908d42b0148f04eeab8d05d46736c570ffdea7d66273aa428375f944deaaf1c0ca885ef0fbe04588d838e4f831ff9823365f9df700f9e9de08c700f0135f2e59
 SHA512 
7da16df850245ba70e4ddf318a0e7322ed68b076337325c3d3702bb428358d11137b6254051cc6a34d047789f107fd96065cd169c9b2684f78b3a54c4f566a78
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre2023.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre2023.ebuild
new file mode 100644
index ..74286022a3b1
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre2023.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-11-11 Thread Michał Górny
commit: 7fe35eef7557ac74f1579243ffec2a45935b58f8
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 11 09:23:43 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 11 10:36:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fe35eef

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   5 -
 .../compiler-rt-sanitizers-17.0.3.ebuild   | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20231013.ebuild | 215 
 ...ompiler-rt-sanitizers-18.0.0_pre20231019.ebuild | 215 
 ...ompiler-rt-sanitizers-18.0.0_pre20231025.ebuild | 215 
 5 files changed, 866 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 6e6a815f997b..49c513400ca7 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,11 +6,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 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
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
-DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
-DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509
-DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
-DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3.ebuild
deleted file mode 100644
index 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-11-04 Thread Michał Górny
commit: f2e62a566ed4315bd63cd3dc880f8ebf7548823d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov  4 08:50:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov  4 18:02:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2e62a56

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20231104 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20231104.ebuild | 215 +
 2 files changed, 216 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 08467bdaf121..6e6a815f997b 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -11,5 +11,6 @@ DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec
 DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
 DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
+DIST llvm-project-83888a5404d46667647fe36d6fa510d075ed57ea.tar.gz 200867834 
BLAKE2B 
20f5afa071089852abfdcc316e5db77681afe0fdb189a515d7724a0abaf1c545f37ba4b946414c7b8afca62636107bd4e1c7c99d8ba6a514bb413b13f5f634b0
 SHA512 
4cd7680a227388382076d5735a97a379546f5bdde33272a5a3d317d98c2847e34917dd38a3cfb3f1f677f6d9a9b2163b29f89dd9c4b92506f5be34a3072e0509
 DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
 DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231104.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231104.ebuild
new file mode 100644
index ..74286022a3b1
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231104.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-31 Thread Michał Górny
commit: ed475454e17d647a443df02eaba3d6c263fb215f
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 31 08:39:34 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 31 19:12:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed475454

sys-libs/compiler-rt-sanitizers: Bump to 17.0.4

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-17.0.4.ebuild   | 216 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 05260ea2db98..08467bdaf121 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,6 +8,8 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
+DIST llvm-project-17.0.4.src.tar.xz 127828636 BLAKE2B 
bd91ef7f07e085b935500b056f75ab792d13e7f33825df36e85e7988f313a4f3fbb1b4c854615a5e437a97ad552838eb1be5098194f281ba1279330156dd6a38
 SHA512 
6703eede8013e7e5733fbd7b527757166d5698f52e239522fb320717430c88696309038501d22fe384b016b330bd92126a2c0ba88b0258c3f092801e3800b7a3
+DIST llvm-project-17.0.4.src.tar.xz.sig 438 BLAKE2B 
e417c14d0af8c2f13eccec7a42d0e4d5a6a834d7a3d31061b9f56f7e880cd982c2b1e84322bcf8f6a3d3167519c31f16c7acb8fc725ab5b453f467a196ca2688
 SHA512 
4e79bb1d2b41289c092d4ec2759d7cfd4f12df8d107f9510aa9e2354691e7f878e3929b2b50e29fd6c65bd5a3aa13baf6b791847c1cd99817adbf59700cf2bdd
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
 DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.4.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.4.ebuild
new file mode 100644
index ..dde9db9d3f77
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.4.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-31 Thread Michał Górny
commit: ace3ea04bc186556d0b82881213a88b902a711af
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 31 08:37:28 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 31 08:37:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace3ea04

sys-libs/compiler-rt-sanitizers: 17.x is now 17.0.4.

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

 ...izers-17.0.3..ebuild => compiler-rt-sanitizers-17.0.4..ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.4..ebuild
similarity index 100%
rename from 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3..ebuild
rename to 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.4..ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-25 Thread Michał Górny
commit: 468f098e58d34bd47d4e53837a5549bda558fd5e
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 25 18:57:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 26 02:10:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468f098e

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20231025 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20231025.ebuild | 215 +
 2 files changed, 216 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 3eb276a18f9c..05260ea2db98 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -9,4 +9,5 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
+DIST llvm-project-a7700985577694d6cc2498833f27b4fb5eeaf252.tar.gz 199221825 
BLAKE2B 
047ab7c0e80e1dbbe61ebd9aaae1715a33b5cb50beec6da2cc19bec9a16777b82c157e74f88b0678d843b200f292d696a964211a8e532f128491dc39a6e4
 SHA512 
b747210d53402ae01238fa82195fa5c1c8d1c832d976bcc996ef657ac54dacb2fb19521c6f080151e6b1af8a49ddfe58979afaa00b3f1f72dc664ac79b99a8bb
 DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231025.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231025.ebuild
new file mode 100644
index ..74286022a3b1
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231025.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-19 Thread Michał Górny
commit: 51ad60ae4a603f7c8f1ec08269c8107a690ab8ef
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 19 18:52:37 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 19 19:50:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51ad60ae

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20231019 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20231019.ebuild | 215 +
 2 files changed, 216 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 4cf44f485bec..3eb276a18f9c 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
+DIST llvm-project-e6e90840708099425b7b69dd053634ff25d4907f.tar.gz 199022115 
BLAKE2B 
442aff8f561f7c5834a36b7eb217fd2b984e58af9cbcf3e6495305f386a7651e73345bbe65133af4bffaf8cb209cfb9a94fb28756ffe8f7d28ec253ccb78
 SHA512 
fa9c180f36f4c782208ae7baff1683ee466c70f7d021b21b9cb8a8fd0f2005c0b47889d8bb37f5fb984f6b2ec26c74df60490c7b51ac3d080830e6844e33e300

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231019.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231019.ebuild
new file mode 100644
index ..74286022a3b1
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231019.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+   sed 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-19 Thread Michał Górny
commit: a1ff7b58430633a026b5d77c67db3f7c23a7aa10
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 19 15:04:50 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 19 15:13:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ff7b58

sys-libs/compiler-rt-sanitizers: Fix EmptyGlobalAssignment

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

 .../compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3..ebuild | 1 -
 .../compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild | 1 -
 .../compiler-rt-sanitizers-18.0.0_pre20231013.ebuild | 1 -
 3 files changed, 3 deletions(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3..ebuild
index b0a49349926b..74286022a3b1 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3..ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3..ebuild
@@ -11,7 +11,6 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="${LLVM_MAJOR}"
-KEYWORDS=""
 IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
 # base targets
 IUSE+=" +libfuzzer +memprof +orc +profile +xray"

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
index b0a49349926b..74286022a3b1 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
@@ -11,7 +11,6 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="${LLVM_MAJOR}"
-KEYWORDS=""
 IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
 # base targets
 IUSE+=" +libfuzzer +memprof +orc +profile +xray"

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231013.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231013.ebuild
index b0a49349926b..74286022a3b1 100644
--- 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231013.ebuild
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231013.ebuild
@@ -11,7 +11,6 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="${LLVM_MAJOR}"
-KEYWORDS=""
 IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
 # base targets
 IUSE+=" +libfuzzer +memprof +orc +profile +xray"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-19 Thread Michał Górny
commit: c251e154acc5083399a78e0d21bdbc4222d63ba0
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 19 15:00:33 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 19 15:02:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c251e154

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   6 -
 .../compiler-rt-sanitizers-17.0.1.ebuild   | 216 -
 .../compiler-rt-sanitizers-17.0.2.ebuild   | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20230925.ebuild | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20231002.ebuild | 216 -
 5 files changed, 870 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 1b75111c6cd6..4cf44f485bec 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,12 +6,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 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
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
-DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
-DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
-DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
 DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
 DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
-DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
-DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-17 Thread Michał Górny
commit: 764505886946963cb075c146b32b8d31f328d32f
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 14:58:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 15:11:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76450588

sys-libs/compiler-rt-sanitizers: Bump to 17.0.3

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-17.0.3.ebuild   | 216 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 185139eabfeb..1b75111c6cd6 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -10,6 +10,8 @@ DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccf
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
 DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
 DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
+DIST llvm-project-17.0.3.src.tar.xz 127843636 BLAKE2B 
5331d9b545faab282a4caec9ee688d0f1e0615a56a26aa24d8f6fbbae10258e132d94634dab2f7bd69ada06bb28dc899730b9cd774a1086d7c03d5706de6d997
 SHA512 
44f37dea494a66a83c252e28d7d0517c3b2eed5b196565432dc663c7914bd66d665c8d13479e2776a14cac1905faf6972f986176722c053b58528570a6e68316
+DIST llvm-project-17.0.3.src.tar.xz.sig 438 BLAKE2B 
045e7ca82c8d9b3f182e4fa331ec841b24777ac1888f10de435a389ae3a88172e0559a3fca0c2d37cc874464411ae50d7bc0d0829455149a8de8b953ef6c98c7
 SHA512 
95f9e6729074cfd71b0ffb21e423cd0fd87763268c24e0513f7afd6a85d08061658c44c03ea3ea3b6e3cc7051676d44c41a791e6905c8abb456d48a3762fc152
 DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3.ebuild
new file mode 100644
index ..dde9db9d3f77
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-13 Thread Michał Górny
commit: d4a9984c6be976ba43b9aacba6b29b0c772bc33b
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 13 15:50:29 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 13 15:50:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4a9984c

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20231013 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20231013.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index fe8bd17212f0..185139eabfeb 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -11,4 +11,5 @@ DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b
 DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
 DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
 DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
+DIST llvm-project-5d35273a32d239b7407338e13ed71b59174d6536.tar.gz 198787569 
BLAKE2B 
7f4f1eb490028e18826a6ebade649a682e433252ceab1f3dcd9e50c34f24e7ef108c3325ec209a4d4fa1ded8e09ebda4980cb9d8ddce8a0d517923d6c38b8f4a
 SHA512 
4d263561fb12cc07a5e8f7ed2f8f22a3645aa959cf963a6a735a9bb93cfc2a51bf7e4d36b54e8425725029cfcfd868dfcc53af95d26d84be72be124d8c564271
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231013.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231013.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231013.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-13 Thread Michał Górny
commit: 7be0fe631c3b333442e075d278fbba5c0295f98a
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 13 12:15:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 13 12:15:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be0fe63

sys-libs/compiler-rt-sanitizers: 17.x live is now 17.0.3.

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

 ...izers-17.0.2..ebuild => compiler-rt-sanitizers-17.0.3..ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.2..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3..ebuild
similarity index 100%
rename from 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.2..ebuild
rename to 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.3..ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-04 Thread Michał Górny
commit: 453019fed11487f77c18978c41a7da934f196943
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 08:24:07 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 08:44:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=453019fe

sys-libs/compiler-rt-sanitizers: Bump to 17.0.2

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-17.0.2.ebuild   | 216 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index c5c8ca08236d..fe8bd17212f0 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,5 +8,7 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
+DIST llvm-project-17.0.2.src.tar.xz 127833708 BLAKE2B 
fa9e2e48ce1117063f5cef0aeef85ce84b99bd8fae23022572a6f016eff2ffbf8aab6250b0bdb6e0bbea1c4daf10cecceb18e80496260b5aa81086075d503e12
 SHA512 
4586224c3f547e8065fa4f0ca3629a1dfed868dfc372ab192d8b9384f0f74dc8cb27dcb6269dc4230202e6a524aae852d98b40fa02ed0393086a162387ea7659
+DIST llvm-project-17.0.2.src.tar.xz.sig 438 BLAKE2B 
3ba5d7a09e9de3f38a6f7b5b771b08b1c4e96ea7eda948cfa679598d240fa5211fd37220fbe09e37682212b17fb71b8b5539475edb8ff46d9767054983f670cb
 SHA512 
234276813e3f4b5ee9b1dc640a613fd2e60f1d659f4e089733278d08dd0e208ad37d4d64c9e1edd420b6b87e112458ecec5f76ed9a243c3023b0adbab19ab909
 DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.2.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.2.ebuild
new file mode 100644
index ..dde9db9d3f77
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.2.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-02 Thread Michał Górny
commit: 28c309dbf14acb68a1d218f4073c7ac3a7259048
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  2 18:28:03 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  2 19:39:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c309db

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20231002 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20231002.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 0ce0bad3f70a..c5c8ca08236d 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,4 +8,5 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
+DIST llvm-project-39fec5457c0925bd39f67f63fe17391584e08258.tar.gz 198361956 
BLAKE2B 
001b9d9b7997762dcce4f0b1deb94d41c3d840c178ba1e92208782e7e21fdc0041cde359051b2b1b1fc75526ff6504d3b9375ff873831350de359530c944a961
 SHA512 
b560e71c9855aff9fb5385f9fb30f63fbef074fd695e7cb31847192837a161bfe4808ceb09c514a676ae817616f15fb5a57d325aa9744eaac46b8f4b20b77a13
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231002.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231002.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20231002.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-02 Thread Michał Górny
commit: 34f0e36020de5463974cbed8a86144125075e0e3
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  2 15:22:53 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  2 15:22:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34f0e360

sys-libs/compiler-rt-sanitizers: 17.x is now 17.0.2.

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

 ...izers-17.0.1..ebuild => compiler-rt-sanitizers-17.0.2..ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.1..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.2..ebuild
similarity index 100%
rename from 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.1..ebuild
rename to 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.2..ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-10-02 Thread Michał Górny
commit: 06c09fb85b938158e204a9b7943b1ecaa5209318
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  2 15:18:03 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  2 15:18:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c09fb8

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   3 -
 .../compiler-rt-sanitizers-17.0.0_rc4.ebuild   | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20230906.ebuild | 216 -
 3 files changed, 435 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 03049c384ff1..0ce0bad3f70a 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,9 +6,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 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
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
-DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
-DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
 DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc4.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc4.ebuild
deleted file mode 100644
index b0a49349926b..
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc4.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-KEYWORDS=""
-IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-09-25 Thread Michał Górny
commit: 5f56eac9f3dfc316d185ab71deac7c414e28d1c3
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 25 18:43:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 25 18:43:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f56eac9

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20230925 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20230925.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index b5f1c8f2e239..03049c384ff1 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -11,3 +11,4 @@ DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459
 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
 DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
+DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 
BLAKE2B 
1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988
 SHA512 
9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230925.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230925.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230925.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-09-19 Thread Michał Górny
commit: e90f71bad361d4a14d1d7678a6e29cd9b1599f94
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 19 19:37:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 19 19:47:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e90f71ba

sys-libs/compiler-rt-sanitizers: Bump to 17.0.1

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-17.0.1.ebuild   | 216 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 0be3a56c10c4..b5f1c8f2e239 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,4 +8,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
 DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
+DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B 
bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7
 SHA512 
6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5
+DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 
3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf79b9fe3eb834c1449077c154c629f5db605375e7c
 SHA512 
301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c
 DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.1.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.1.ebuild
new file mode 100644
index ..dde9db9d3f77
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.1.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-09-19 Thread Michał Górny
commit: 18a92b35872a771aa7c3a6277e08a6ba175ddf05
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 19 11:45:25 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 19 12:42:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18a92b35

sys-libs/compiler-rt-sanitizers: 17.x is now 17.0.1

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

 ...izers-17.0.0..ebuild => compiler-rt-sanitizers-17.0.1..ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.1..ebuild
similarity index 100%
rename from 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0..ebuild
rename to 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.1..ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-09-08 Thread Michał Górny
commit: 7886465f7a11359c090987bb371afca6366d55ce
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep  8 11:36:15 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep  8 11:36:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7886465f

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   4 -
 .../compiler-rt-sanitizers-17.0.0_rc3.ebuild   | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20230825.ebuild | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20230829.ebuild | 216 -
 4 files changed, 652 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 54f63f8317d6..0be3a56c10c4 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,10 +6,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 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
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
-DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
 DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
 DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
-DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
-DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc3.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc3.ebuild
deleted file mode 100644
index b0a49349926b..
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc3.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-09-06 Thread Michał Górny
commit: b57e2d97e0c46c576c4b3a94d38f28224d1d9028
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep  6 17:56:37 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep  6 18:12:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b57e2d97

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20230906 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20230906.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 8b247da4f1b5..54f63f8317d6 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -10,5 +10,6 @@ DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
 DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
+DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8.tar.gz 197275742 
BLAKE2B 
17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967
 SHA512 
e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
 DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230906.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230906.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230906.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-09-05 Thread Michał Górny
commit: 7be53ca0cab866e8a229ee4ef2956ecf94062693
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep  5 15:52:20 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep  5 19:58:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be53ca0

sys-libs/compiler-rt-sanitizers: Bump to 17.0.0_rc4

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-17.0.0_rc4.ebuild   | 216 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 85381e0c05e7..8b247da4f1b5 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,5 +8,7 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
+DIST llvm-project-17.0.0rc4.src.tar.xz 127838724 BLAKE2B 
e3bf524e55db5e4305099ecdff09c0d3eab7957a5f8729eefe636e361460f405fbfd569af38aa39eea3b6c1e024feaa0400f8bc092194f2c3b54c695e7962591
 SHA512 
be7b5ad136d03864dbd11a589ca9e8b0b04a4226ebcffcc123b3ba72992f704bab4f9550d03eb2ac1d21fb8b73ac7824398b4cb4c9cec2118efb112babfe0f65
+DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 
2cda35b4a3ebddfdbe6828459c8bd8fdfaa8e04d2d1c4f2faf16f5c66909186d2dd73e6a163cf733d8955c007249cf3f62f237855d5a76b1b61f3bfa30e4972d
 SHA512 
5f713e05b7c58fab6e9cc43f2f3f69120482c9b60008146da0cddb266d1a5c9b9a77e1e338fce4e15624b332ac53a90c5c4a6f62c58a77f2122a015b4f0ebed2
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
 DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc4.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc4.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc4.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+  

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-08-29 Thread Michał Górny
commit: 47c64b7330b4413c53348c6f44e24a8c2758290d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 29 10:49:38 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 29 11:20:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c64b73

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20230829 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20230829.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 25215d20345c..85381e0c05e7 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -9,3 +9,4 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43
 DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
+DIST llvm-project-f6259d9b9a546dbfa5bc2f29313c6edd6c701177.tar.gz 196957045 
BLAKE2B 
c38b17f4e697c090b0b70385e45ca4ce97981746738e556154895d5b57cede90f6b8bdc5f41023bda6e942f07f572aa508cf0107fb81bee80a5ea9f13ac495fd
 SHA512 
8394a42e1963618ed7f7cf7770acb72ae6bf84f3e2351218b5049ea2d76ff6ae768ad5588ffd1b2be1b5228a8fcb03663430814c409ceb9fa5735c891847f816

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230829.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230829.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230829.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-08-28 Thread Michał Górny
commit: df173ec9e058f8230cf7e7f628130266c80f83bb
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 29 05:47:14 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 29 05:48:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df173ec9

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   7 -
 .../compiler-rt-sanitizers-17.0.0_rc1.ebuild   | 216 -
 .../compiler-rt-sanitizers-17.0.0_rc2.ebuild   | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20230803.ebuild | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20230810.ebuild | 216 -
 ...ompiler-rt-sanitizers-18.0.0_pre20230820.ebuild | 216 -
 6 files changed, 1087 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 2f53cc6be36c..25215d20345c 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,13 +6,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 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
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
-DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
-DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
-DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
 DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
-DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
-DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
 DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-08-25 Thread Michał Górny
commit: 1a7ae6f7b0e342aed81a9dffcd42c9c1e1e3b19c
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Aug 25 18:25:54 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Aug 25 19:17:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7ae6f7

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20230825 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20230825.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 0f4aa1cda694..2f53cc6be36c 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -14,4 +14,5 @@ DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff
 DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
+DIST llvm-project-e3373c6c83d3855adb78f1952a3bf0398baf359e.tar.gz 196926975 
BLAKE2B 
9da1052db0a6ff81a8b76cbf9cb2ab7eed5c8798dc5ae6887a4694de8b151c7a1282cfff2da2e8440b1a67d3d12c33db319fbbe6062761b6d5369e6b335821ae
 SHA512 
8bb6d49ddb824e932f7bad3c51e4a6c2227139aaf19c02e9deb15657919bc12ea41844d8fe045061814aefb9031d82b167c7c0c20bedaa09aaffe164a2109f7d
 DIST llvm-project-fe42682e7818d44cbe19f98ef34caa4e414aa937.tar.gz 196564445 
BLAKE2B 
056e6622b38009e34392c1d1755086e008bc85e9b4c00126e7ca92ddaee2ede7f31bafbc6ca04c5008983ce843d19fb152d75ce01e6ece4c2d891cc38604532c
 SHA512 
8245f8a50f77e9ac9c0309a0025fde8407bb82d82277e3edba0a995debff50940e9500d4ad65060a330e6c19e2e1332d700ea040ca382ef4b75282a4566cbf72

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230825.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230825.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230825.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-08-23 Thread Michał Górny
commit: 8c6faa0aa186bce28e6ee979bc31b063a3cef10c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Aug 23 05:12:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Aug 23 10:17:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c6faa0a

sys-libs/compiler-rt-sanitizers: Add 17.0.0_rc3

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-17.0.0_rc3.ebuild   | 216 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 2bb2a52ba836..0f4aa1cda694 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -10,6 +10,8 @@ DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd2
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
 DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
 DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
+DIST llvm-project-17.0.0rc3.src.tar.xz 127805656 BLAKE2B 
ecaead9f227b8357a5dc5ff21554d9b4f5aa036df1b88676fd8c3e16b438381db062872be396af5246e12cd71812a886016e0331a272dafc3508ecd0bfbb50ed
 SHA512 
5f48b4af2e4f9bc470fcfd42fd48072b7bd442bc676d8401b04fbc6e9014a9a78e1bf524ba78f7ae8a1246222a6b03ca662721e3bf6e9eb03a015dd3306c7234
+DIST llvm-project-17.0.0rc3.src.tar.xz.sig 438 BLAKE2B 
7b644cf501d17a6aef9b052e359ba06c1840a75e5263de46d938dbbdea07720b53d7ee6b5861ad641d0f7a7f75c6cc17717847b0ea9cf08873dbfacbe1c19074
 SHA512 
7059b1a90b7dd8cfa831f9e199a3a817358fd75d7c7d7e6de446d5443fce5831877a28e9b964ea238c1d803f9054bf4f53a97622d5f756f7f99aaa1c1a279f44
 DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
 DIST llvm-project-fe42682e7818d44cbe19f98ef34caa4e414aa937.tar.gz 196564445 
BLAKE2B 
056e6622b38009e34392c1d1755086e008bc85e9b4c00126e7ca92ddaee2ede7f31bafbc6ca04c5008983ce843d19fb152d75ce01e6ece4c2d891cc38604532c
 SHA512 
8245f8a50f77e9ac9c0309a0025fde8407bb82d82277e3edba0a995debff50940e9500d4ad65060a330e6c19e2e1332d700ea040ca382ef4b75282a4566cbf72

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc3.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc3.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc3.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-08-20 Thread Michał Górny
commit: 63cadaed165766d3926b2629544707e650efcf54
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 20 12:01:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 20 12:02:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63cadaed

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20230820 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20230820.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 9a9ce33c547e..2bb2a52ba836 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -12,3 +12,4 @@ DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d57
 DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
 DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b
+DIST llvm-project-fe42682e7818d44cbe19f98ef34caa4e414aa937.tar.gz 196564445 
BLAKE2B 
056e6622b38009e34392c1d1755086e008bc85e9b4c00126e7ca92ddaee2ede7f31bafbc6ca04c5008983ce843d19fb152d75ce01e6ece4c2d891cc38604532c
 SHA512 
8245f8a50f77e9ac9c0309a0025fde8407bb82d82277e3edba0a995debff50940e9500d4ad65060a330e6c19e2e1332d700ea040ca382ef4b75282a4566cbf72

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230820.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230820.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230820.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-08-10 Thread Michał Górny
commit: 20fadd78e7875dc8d541324bab045e78f3e3a2c9
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 10 12:53:34 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 10 17:49:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20fadd78

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20230810 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20230810.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 235f28006912..9a9ce33c547e 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -10,4 +10,5 @@ DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd2
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
 DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
 DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
+DIST llvm-project-7d259b36d2e8148d13087844e6494ad3a5c63edf.tar.gz 195942450 
BLAKE2B 
3221cc070295edf4f70e5b24ed06cda29e8dd98d3d28ba5ac38b821fc313f7f7dfdc7ad500537c2244af0fa3d750174dfa1699db7f72a44df67e5fa255a3d0aa
 SHA512 
9279290ab482f29af4a2205270038f1817608a63872e03340d43c31fcf5da36191269838912a1460455a8661295e664891d6d123018b12ddc80c2641790d0640
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230810.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230810.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230810.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-08-08 Thread Michał Górny
commit: 86c3cd171ec05850183c8529d7d4111b5c3e47eb
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug  8 12:28:18 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug  8 18:31:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86c3cd17

sys-libs/compiler-rt-sanitizers: Add 17.0.0_rc2

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-17.0.0_rc2.ebuild   | 216 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index aca20be95f20..235f28006912 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,4 +8,6 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
+DIST llvm-project-17.0.0rc2.src.tar.xz 127795160 BLAKE2B 
58ed818f61e1cd179288d578e89460782617a3791a65dbc3e1f207629004f0d61225e87b78fdc0eeb3647912e5056ab68ce35ea2639a34ded1d8bdf0452e31f8
 SHA512 
7eb5c5172b5e9af65c940c876779f90e20a02659bf1489cedd06c67eea205aa1f4bdc5a8134a120db98cb80ca54673902b530c3315c9b53384c091200d9162c0
+DIST llvm-project-17.0.0rc2.src.tar.xz.sig 438 BLAKE2B 
55788eacc592729839dad581b507794f279d84cafcaa49785ae34e02931ee9d4f64caf9e251e280dbc8676f3cacdca52a22f36cf7282655a3fc0721a61c9f003
 SHA512 
141e1ba7eb9870c21b91060ca484316cc8a402d4e61c8312688023850070b255b0eebe2d10ef63925f7269ee1b347074440e1a9a18d37cb7e1b6c82a7d1a1710
 DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc2.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc2.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc2.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-08-03 Thread Michał Górny
commit: 2e577b45b4e5c6087070b393086420a3382de2bf
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  3 09:21:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  3 15:43:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e577b45

sys-libs/compiler-rt-sanitizers: Add 18.0.0_pre20230803 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-18.0.0_pre20230803.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 99b5b995e9bf..aca20be95f20 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
+DIST llvm-project-c4bb3e073548cf436d5fa0406e3ae75e94684dec.tar.gz 195462091 
BLAKE2B 
982f1105db6cf63575916a20432df4c8623bdff236ce3bd95e63ffd931bc8e1f0e9ea9ad673b09d749c35c1bfe68a48f5b4080118f25040498db09a580db3a7e
 SHA512 
1c591175f44da85eb5ee831220c0387a3d9a0604beaf7abd89fbc6d1e0e9c4f80dac73de1dc22375a45115dd4c1d764fed0a0f628993ca780eb6991682aa0b5b

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230803.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230803.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0_pre20230803.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+   sed -i -e 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-08-03 Thread Michał Górny
commit: 7f8aaa976874922a5b6c0ea5530889d9e9c67d2f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  3 09:13:11 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  3 09:13:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f8aaa97

sys-libs/compiler-rt-sanitizers: Remove 17.x snapshots

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 -
 ...ompiler-rt-sanitizers-17.0.0_pre20230722.ebuild | 216 -
 2 files changed, 217 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 0929c6048a21..99b5b995e9bf 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,4 +8,3 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
 DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
-DIST llvm-project-5f1a388a11ae67c2e5d7a4d1fe45e369a393c572.tar.gz 194911977 
BLAKE2B 
d7277591ddca0046dcc244f591732440a6c63c06557d96d18792c2544797a3bcea4af241ad1e9c0106a9751f52bfbcec0544020cc20874e8c64a31a8055d07d0
 SHA512 
b38aed6a21a3dd4325faf45475b843dcebab89d8ad9683e0f7699701f9645fa9467e032b822473c53a3242930d681caba9dd9530560636cf093108640470bbbe

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230722.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230722.ebuild
deleted file mode 100644
index b0a49349926b..
--- 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230722.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-KEYWORDS=""
-IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-   shadowcallstack gwp-asan
-)
-IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
-REQUIRED_USE="
-   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
-   test? (
-   cfi? ( ubsan )
-   gwp-asan? ( scudo )
-   )
-"
-RESTRICT="
-   !clang? ( test )
-   !test? ( test )
-"
-
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
-"
-BDEPEND="
-   >=dev-util/cmake-3.16
-   clang? ( sys-devel/clang )
-   elibc_glibc? ( net-libs/libtirpc )
-   test? (
-   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
-   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
-   sys-libs/compiler-rt:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-"
-
-LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
-}
-
-check_space() {
-   if use test; then
-   local CHECKREQS_DISK_BUILD=11G
-   check-reqs_pkg_pretend
-   fi
-}
-
-pkg_pretend() {
-   check_space
-}
-
-pkg_setup() {
-   check_space
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
-
-   local flag
-   for flag in "${SANITIZER_FLAGS[@]}"; do
-   if ! use "${flag}"; then
-   local cmake_flag=${flag/-/_}
-   sed -i -e 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-07-29 Thread Michał Górny
commit: 9f2cab96041aa51363852eb95581831629177754
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 29 14:18:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 29 19:25:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f2cab96

sys-libs/compiler-rt-sanitizers: Add 17.0.0_rc1

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-17.0.0_rc1.ebuild   | 216 +
 2 files changed, 218 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index b5480aadcf97..0929c6048a21 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,4 +6,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 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
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
+DIST llvm-project-17.0.0rc1.src.tar.xz 127805900 BLAKE2B 
ab6e3b7e7af10bbb086bdd271691c259925b8047d8425b0eafb55d2c1daf637c3a56903b88e50283667955e780a47f61e7215a1e3a1acd3634c62960cf17317f
 SHA512 
fa7ebe7fad14087861dc0eea08f68e8aa01dcc6560d70163ec38819a7fd799484f6ab1e35a69393a14962b45fa0a469c9d6c5fd2882b3609305bd01bc9f6701f
+DIST llvm-project-17.0.0rc1.src.tar.xz.sig 438 BLAKE2B 
976098c616d7f01c08c5be1d76dd395950184d2c6750f3f2c14235cdf446f1d876d842b3591f827cf1157fa25c707862a374e34d61fb73afe5a7b08d6041ee4a
 SHA512 
272e92dec1fd43819f6fafdaa7f55a975e60a1c3000a69875209b89b7f3e2d2851e32ec0f2725242479203068349aaeff8da261d998a2325a9c52733bc5d7697
 DIST llvm-project-5f1a388a11ae67c2e5d7a4d1fe45e369a393c572.tar.gz 194911977 
BLAKE2B 
d7277591ddca0046dcc244f591732440a6c63c06557d96d18792c2544797a3bcea4af241ad1e9c0106a9751f52bfbcec0544020cc20874e8c64a31a8055d07d0
 SHA512 
b38aed6a21a3dd4325faf45475b843dcebab89d8ad9683e0f7699701f9645fa9467e032b822473c53a3242930d681caba9dd9530560636cf093108640470bbbe

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc1.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc1.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_rc1.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-07-25 Thread Michał Górny
commit: dabffcd5b92d2d0f67174544f94b4732f78adc92
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 25 16:09:41 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 25 16:11:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dabffcd5

sys-libs/compiler-rt-sanitizers: Add 18.x live ebuilds

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

 .../compiler-rt-sanitizers-18.0.0..ebuild  | 216 +
 1 file changed, 216 insertions(+)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-18.0.0..ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+   sed -i -e 
"/COMPILER_RT_HAS_${cmake_flag^^}/s:TRUE:FALSE:" \
+   cmake/config-ix.cmake || die
+   fi
+   done
+
+   # TODO: fix these tests to be skipped upstream
+   if use asan && ! use profile; then
+   rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die
+   fi
+   if use ubsan && ! use cfi; then
+   > test/cfi/CMakeLists.txt || die
+   fi
+
+   llvm.org_src_prepare
+}
+
+src_configure() {
+   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+   # pre-set since we need to pass it to cmake
+   BUILD_DIR=${WORKDIR}/compiler-rt_build
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   strip-unsupported-flags
+   fi
+
+   local flag want_sanitizer=OFF
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if use "${flag}"; then
+   want_sanitizer=ON
+   break
+   fi
+   done
+
+   local mycmakeargs=(
+   
-DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${LLVM_MAJOR}"
+   # use a build dir structure consistent with install
+   # this makes it possible to easily deploy test-friendly clang
+   -DCOMPILER_RT_OUTPUT_DIR="${BUILD_DIR}/lib/clang/${LLVM_MAJOR}"
+
+   -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
+   # builtins & crt installed by sys-libs/compiler-rt
+   -DCOMPILER_RT_BUILD_BUILTINS=OFF
+   -DCOMPILER_RT_BUILD_CRT=OFF
+   -DCOMPILER_RT_BUILD_LIBFUZZER=$(usex libfuzzer)
+  

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-07-22 Thread Michał Górny
commit: 99bb47146d9f1f76da30dba121a0fd0ff1ced591
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 22 06:03:57 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 22 13:01:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99bb4714

sys-libs/compiler-rt-sanitizers: Add 17.0.0_pre20230722 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-17.0.0_pre20230722.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index f677d998896f..11a8781454bc 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,3 +8,4 @@ DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db3659
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-3cd3f11c174baa001b337b88c7a6507eb5705cf2.tar.gz 194446197 
BLAKE2B 
ba2ac8334f90fddfd9b8f97abd2f77bd1f1ad00c97f2b7daf6b799fe49755a9bd07e017e93cc634163ad7499e70d886556715e26e9d7ed9017018861c3522735
 SHA512 
b12d02a7b4df08e8decf99ac86875bef72ff2fa546699e7a94bfd2b2ad1e1256aec66185f9e2f7c2f5d06b1eeb3faae44a2c457b33e5c7416d3bd9921759b39d
 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc
+DIST llvm-project-5f1a388a11ae67c2e5d7a4d1fe45e369a393c572.tar.gz 194911977 
BLAKE2B 
d7277591ddca0046dcc244f591732440a6c63c06557d96d18792c2544797a3bcea4af241ad1e9c0106a9751f52bfbcec0544020cc20874e8c64a31a8055d07d0
 SHA512 
b38aed6a21a3dd4325faf45475b843dcebab89d8ad9683e0f7699701f9645fa9467e032b822473c53a3242930d681caba9dd9530560636cf093108640470bbbe

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230722.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230722.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230722.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-07-17 Thread Michał Górny
commit: 44e5c06ac75571ddfd6a9cda4efd08f1f204f992
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 17 10:46:15 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 17 14:14:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e5c06a

sys-libs/compiler-rt-sanitizers: Add 17.0.0_pre20230717 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-17.0.0_pre20230717.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 3160739c8e69..f677d998896f 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,4 +6,5 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 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
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
+DIST llvm-project-3cd3f11c174baa001b337b88c7a6507eb5705cf2.tar.gz 194446197 
BLAKE2B 
ba2ac8334f90fddfd9b8f97abd2f77bd1f1ad00c97f2b7daf6b799fe49755a9bd07e017e93cc634163ad7499e70d886556715e26e9d7ed9017018861c3522735
 SHA512 
b12d02a7b4df08e8decf99ac86875bef72ff2fa546699e7a94bfd2b2ad1e1256aec66185f9e2f7c2f5d06b1eeb3faae44a2c457b33e5c7416d3bd9921759b39d
 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230717.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230717.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230717.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-07-14 Thread Michał Górny
commit: ba573f2bc8f694c1b91e1248faa8737d04588ab1
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 14 16:08:35 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 14 16:17:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba573f2b

sys-libs/compiler-rt-sanitizers: Remove old

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 -
 .../compiler-rt-sanitizers-16.0.5.ebuild   | 223 -
 2 files changed, 225 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 67e94f78962e..3160739c8e69 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -4,8 +4,6 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 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.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afbca5cddc6fbad6c9728726f7158f290ab87d464ff657e89e1c8fc3c474362cc865ff13c5d55ef758c848ea3e660d732cb2fdefa
 SHA512 
7008e7e9c8c2246fe98ba3f0c0fa91e41c88c4da427bf1cfdcce7ef57e5ea838efe7c58c523a7d1708e70d64a4338afe16d06fba2fc7ac5a6c19ca3d6ee41e99
-DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild
deleted file mode 100644
index b9572c7e1e3e..
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
-IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-   shadowcallstack gwp-asan
-)
-IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
-REQUIRED_USE="
-   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
-   test? (
-   cfi? ( ubsan )
-   gwp-asan? ( scudo )
-   )
-"
-RESTRICT="
-   !clang? ( test )
-   !test? ( test )
-"
-
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-07-14 Thread Arthur Zamarin
commit: 0794d04f12757919a32c83f36483867e4b364ffa
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul 14 15:49:47 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul 14 15:51:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0794d04f

sys-libs/compiler-rt-sanitizers: Stabilize 16.0.6 ppc64, #908385

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

 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
index 34721168eaf9..639f17aeb371 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="${LLVM_MAJOR}"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
 IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
 # base targets
 IUSE+=" +libfuzzer +memprof +orc +profile +xray"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-07-14 Thread Arthur Zamarin
commit: 9cc2dad1dfb62e98196332b60a7cf87aab9ab1d6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul 14 15:50:04 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul 14 15:52:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cc2dad1

sys-libs/compiler-rt-sanitizers: Stabilize 16.0.6 x86, #908385

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

 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
index 639f17aeb371..d6f840963536 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="${LLVM_MAJOR}"
-KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~ppc-macos 
~x64-macos"
 IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
 # base targets
 IUSE+=" +libfuzzer +memprof +orc +profile +xray"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-07-11 Thread Michał Górny
commit: 868f395b66e4d0a834897614706cb5b45f3e1b05
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 11 10:23:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 11 10:25:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=868f395b

sys-libs/compiler-rt-sanitizers: Remove 17.0.0_pre20230630

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 -
 ...ompiler-rt-sanitizers-17.0.0_pre20230630.ebuild | 216 -
 2 files changed, 217 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index c7dd480dde9b..67e94f78962e 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -9,4 +9,3 @@ DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c33
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc
-DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230630.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230630.ebuild
deleted file mode 100644
index b0a49349926b..
--- 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230630.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-KEYWORDS=""
-IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-   shadowcallstack gwp-asan
-)
-IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
-REQUIRED_USE="
-   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
-   test? (
-   cfi? ( ubsan )
-   gwp-asan? ( scudo )
-   )
-"
-RESTRICT="
-   !clang? ( test )
-   !test? ( test )
-"
-
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
-"
-BDEPEND="
-   >=dev-util/cmake-3.16
-   clang? ( sys-devel/clang )
-   elibc_glibc? ( net-libs/libtirpc )
-   test? (
-   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
-   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
-   sys-libs/compiler-rt:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-"
-
-LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
-}
-
-check_space() {
-   if use test; then
-   local CHECKREQS_DISK_BUILD=11G
-   check-reqs_pkg_pretend
-   fi
-}
-
-pkg_pretend() {
-   check_space
-}
-
-pkg_setup() {
-   check_space
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
-
-   local flag
-   for flag in "${SANITIZER_FLAGS[@]}"; do
-   if ! use "${flag}"; then
-   local cmake_flag=${flag/-/_}
-  

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-07-05 Thread Michał Górny
commit: a2db2f91958a77d9f7f0a153ed2d62415b259d3c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  5 15:29:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  5 15:31:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2db2f91

sys-libs/compiler-rt-sanitizers: Add 17.0.0_pre20230705 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-17.0.0_pre20230705.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 7177657146f1..c7dd480dde9b 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -8,4 +8,5 @@ DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afb
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
+DIST llvm-project-5ae7fde004cbc640c2f60207791ac36574e5f5c6.tar.gz 193410766 
BLAKE2B 
50287f1ad41a895040934f8f19fd8aa2e91065b930ab14125dbbc3977273655d11482b6229577c11a8ad2bdd854ca109449b603bbc2e30cee20e95e4fe11e8b7
 SHA512 
f24f7a3b0661d2d4533b24c295c114817aff22c8f1d473ffa639cee547d31502719f8e1be4f25b970d450ecb9dcaa809c0e12b1bb380774f52cda82a4769d7bc
 DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230705.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230705.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230705.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-07-05 Thread Michał Górny
commit: 3e3a6ee7746e827d31cfb15599c82e1635f336c5
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  5 08:21:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  5 08:38:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e3a6ee7

sys-libs/compiler-rt-sanitizers: Remove old snapshots

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 -
 ...ompiler-rt-sanitizers-17.0.0_pre20230615.ebuild | 216 -
 ...ompiler-rt-sanitizers-17.0.0_pre20230620.ebuild | 216 -
 3 files changed, 434 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 64212a520358..7177657146f1 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -1,6 +1,5 @@
 DIST llvm-gentoo-patchset-14.0.6-r3.tar.xz 16904 BLAKE2B 
ebf67455071d6d3744cfc0491b8a33c4c63bfdbcf668565fa0718f6cdb01bced53be9d1cdf6774f6cd8427c07c0ede69503d74cf3574642a6967b38730248ebb
 SHA512 
adc5a3212657d1defa7b720d1a7e9e91586439a34964d44b6897d21be3d208bd15c04bf20502dd7125ef8c368defaeea146eb844ca321be56eebcee52be606a9
 DIST llvm-gentoo-patchset-15.0.7.tar.xz 19300 BLAKE2B 
b70e81d744c2eba5cd851e7b690ce8979b3064973f522be7c93bfb54186a4bc8b17219f8788dfc8a527217dd13946cf7836640698ddd3d4b3fde493dfbf8
 SHA512 
da6ae4a0874aff1a423b4bb36701ecb5a35a36ae91d4ed7fda58b83e50ffcdc30498c84be4711fd3e1f227bf312dbe930019203e0a131944439af2aa94f7
-DIST llvm-project-0e08374abb2c61a3ae5c24d5f60be3b548da9778.tar.gz 191661586 
BLAKE2B 
05e5328d8eb9972bd6399e8c0f5ab241a78e6591e63ee520180c4ff154df432ad96f49ddc615a2208f69ffbec539b201fffeaf4906011b7a961cbc3860126ffa
 SHA512 
1d4429ecb2292e419ed6172cf251ba4a1448ed51424552ac48a159d0e3d3414777f7821382d1839b56f0c906fb0a147b1df4eecb071f8a5c11b0fc1d0d40d339
 DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99
 SHA512 
6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
@@ -9,5 +8,4 @@ DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afb
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2
 DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230615.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230615.ebuild
deleted file mode 100644
index b0a49349926b..
--- 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230615.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-30 Thread Michał Górny
commit: d7f180c80764bc83d945e5f9d6a2af631c216607
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 30 18:55:25 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 30 19:42:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f180c8

sys-libs/compiler-rt-sanitizers: Add 17.0.0_pre20230630 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-17.0.0_pre20230630.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 5660fc5f7ead..64212a520358 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -10,3 +10,4 @@ DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c33
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2
+DIST llvm-project-d32fb5e5f51dedba495301073b9250f84ac6d8a8.tar.gz 193280254 
BLAKE2B 
31473bee900caa45c816a020113d7b6bf6e6e2db4848fa529bc622fbf2956487ab89b04d1624e7e1530e9aa56293361e01b9fde31912b2a08194398a11db8b63
 SHA512 
5799e106403a3954767afafac515112ec9f6505c02abb502e21a5d7019e1079912939803e95177d91678d2e28e07a12b33ceabb13e90696da13a3613a16f2396

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230630.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230630.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230630.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-20 Thread Michał Górny
commit: 7e9511a6c8507e480091efc742d1f04cc6aeee9a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 20 14:25:41 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 20 17:52:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e9511a6

sys-libs/compiler-rt-sanitizers: Enable py3.12 in 16.0.6

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

 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
index d7d5778a3c8c..f985e7b6a50e 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
 
 DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-20 Thread Michał Górny
commit: e773f5a855b87ad8c8fe3146cba52b7ec015e122
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 20 14:21:33 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 20 14:23:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e773f5a8

sys-libs/compiler-rt-sanitizers: Remove 17.0.0_pre20230609

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 -
 ...ompiler-rt-sanitizers-17.0.0_pre20230609.ebuild | 216 -
 2 files changed, 217 deletions(-)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 90cb99546ea4..5660fc5f7ead 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -9,5 +9,4 @@ DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afb
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
-DIST llvm-project-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0
 DIST llvm-project-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230609.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230609.ebuild
deleted file mode 100644
index f3ca3131c8d6..
--- 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230609.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-KEYWORDS=""
-IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-   shadowcallstack gwp-asan
-)
-IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
-REQUIRED_USE="
-   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
-   test? (
-   cfi? ( ubsan )
-   gwp-asan? ( scudo )
-   )
-"
-RESTRICT="
-   !clang? ( test )
-   !test? ( test )
-"
-
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
-"
-BDEPEND="
-   >=dev-util/cmake-3.16
-   clang? ( sys-devel/clang )
-   elibc_glibc? ( net-libs/libtirpc )
-   test? (
-   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
-   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
-   sys-libs/compiler-rt:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-"
-
-LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
-}
-
-check_space() {
-   if use test; then
-   local CHECKREQS_DISK_BUILD=11G
-   check-reqs_pkg_pretend
-   fi
-}
-
-pkg_pretend() {
-   check_space
-}
-
-pkg_setup() {
-   check_space
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-20 Thread Michał Górny
commit: 624f4687fd87074754ebfde6cb3cde0af985fab5
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 20 14:09:51 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 20 14:20:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=624f4687

sys-libs/compiler-rt-sanitizers: Add 17.0.0_pre20230620 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-17.0.0_pre20230620.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index cec9b86a1c9f..90cb99546ea4 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -10,3 +10,4 @@ DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c33
 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0
+DIST llvm-project-aad51417452432092258034c55537a7092fa6295.tar.gz 192649458 
BLAKE2B 
64b8fd306fc6a01172d9be78c969c013a4d05ae62966c4ca424a25e0d1e87c07c50dc17125924151643e1e3fc1d63803f9162dedac8bddc037104bdbef06c0d9
 SHA512 
3533710e2411df7f3a2f68fffdf6213116ae54b07881e5661e9e137234d5d1f87136cbde83fd97123719dd1d6ed4d09bcc4a0aec3b2705da09195279b0ef16e2

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230620.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230620.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230620.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
+
+   local flag
+   for flag in "${SANITIZER_FLAGS[@]}"; do
+   if ! use "${flag}"; then
+   local cmake_flag=${flag/-/_}
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-17 Thread Sam James
commit: e93993ad128afb1cc408d75077b455ee7e4373e3
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 17 23:21:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 17 23:21:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e93993ad

sys-libs/compiler-rt-sanitizers: Stabilize 16.0.5 amd64, #908385

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

 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild
index 5be3f9c45abd..b9572c7e1e3e 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="${LLVM_MAJOR}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
 IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
 # base targets
 IUSE+=" +libfuzzer +memprof +orc +profile +xray"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-17 Thread Michał Górny
commit: 25aea05fe2f51392ec82996582adf164c655db4c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 17 11:27:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 17 19:10:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25aea05f

sys-libs/compiler-rt-sanitizers: Add 17.0.0_pre20230615 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-17.0.0_pre20230615.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 7d6b0bea730a..cec9b86a1c9f 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -1,5 +1,6 @@
 DIST llvm-gentoo-patchset-14.0.6-r3.tar.xz 16904 BLAKE2B 
ebf67455071d6d3744cfc0491b8a33c4c63bfdbcf668565fa0718f6cdb01bced53be9d1cdf6774f6cd8427c07c0ede69503d74cf3574642a6967b38730248ebb
 SHA512 
adc5a3212657d1defa7b720d1a7e9e91586439a34964d44b6897d21be3d208bd15c04bf20502dd7125ef8c368defaeea146eb844ca321be56eebcee52be606a9
 DIST llvm-gentoo-patchset-15.0.7.tar.xz 19300 BLAKE2B 
b70e81d744c2eba5cd851e7b690ce8979b3064973f522be7c93bfb54186a4bc8b17219f8788dfc8a527217dd13946cf7836640698ddd3d4b3fde493dfbf8
 SHA512 
da6ae4a0874aff1a423b4bb36701ecb5a35a36ae91d4ed7fda58b83e50ffcdc30498c84be4711fd3e1f227bf312dbe930019203e0a131944439af2aa94f7
+DIST llvm-project-0e08374abb2c61a3ae5c24d5f60be3b548da9778.tar.gz 191661586 
BLAKE2B 
05e5328d8eb9972bd6399e8c0f5ab241a78e6591e63ee520180c4ff154df432ad96f49ddc615a2208f69ffbec539b201fffeaf4906011b7a961cbc3860126ffa
 SHA512 
1d4429ecb2292e419ed6172cf251ba4a1448ed51424552ac48a159d0e3d3414777f7821382d1839b56f0c906fb0a147b1df4eecb071f8a5c11b0fc1d0d40d339
 DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B 
ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99
 SHA512 
6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B 
cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f
 SHA512 
b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5
 SHA512 
4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230615.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230615.ebuild
new file mode 100644
index ..b0a49349926b
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230615.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
+}
+
+check_space() {
+   if use 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-17 Thread Michał Górny
commit: 2416c8bc1c6b42ba26256afb0e923cc8f1791f8f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 17 11:04:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 17 19:10:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2416c8bc

sys-libs/compiler-rt-sanitizers: Enable py3.12 in 17.0.0.

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

 .../compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0..ebuild| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0..ebuild
index f3ca3131c8d6..b0a49349926b 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0..ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0..ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
 
 DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-14 Thread Michał Górny
commit: 72bc98f80dafdd5e146896b78889c9b477224b64
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 14 10:02:43 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 14 10:31:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72bc98f8

sys-libs/compiler-rt-sanitizers: Bump to 16.0.6

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-16.0.6.ebuild   | 223 +
 2 files changed, 225 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 82cf5c2e40b6..7d6b0bea730a 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -6,4 +6,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B 
f3d277e2029157329e5be78b78
 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 
47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df
 SHA512 
fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
 DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afbca5cddc6fbad6c9728726f7158f290ab87d464ff657e89e1c8fc3c474362cc865ff13c5d55ef758c848ea3e660d732cb2fdefa
 SHA512 
7008e7e9c8c2246fe98ba3f0c0fa91e41c88c4da427bf1cfdcce7ef57e5ea838efe7c58c523a7d1708e70d64a4338afe16d06fba2fc7ac5a6c19ca3d6ee41e99
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
+DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 
95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d
 SHA512 
89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7
+DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 
2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a
 SHA512 
ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447
 DIST llvm-project-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
new file mode 100644
index ..d7d5778a3c8c
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6.ebuild
@@ -0,0 +1,223 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+
+python_check_deps() {
+   use test || return 0
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-13 Thread Michał Górny
commit: 7ab6a6079e7d20627d82fa2e2975a01ca398051d
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 14 04:56:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 14 05:34:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab6a607

sys-libs/compiler-rt-sanitizers: Remove 16.0.6. (branch is closed)

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

 .../compiler-rt-sanitizers-16.0.6..ebuild  | 216 -
 1 file changed, 216 deletions(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6..ebuild
deleted file mode 100644
index cc599404c49c..
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6..ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
-
-DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
-HOMEPAGE="https://llvm.org/;
-
-LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
-SLOT="${LLVM_MAJOR}"
-KEYWORDS=""
-IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
-# base targets
-IUSE+=" +libfuzzer +memprof +orc +profile +xray"
-# sanitizer targets, keep in sync with config-ix.cmake
-# NB: ubsan, scudo deliberately match two entries
-SANITIZER_FLAGS=(
-   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-   shadowcallstack gwp-asan
-)
-IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
-REQUIRED_USE="
-   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
-   test? (
-   cfi? ( ubsan )
-   gwp-asan? ( scudo )
-   )
-"
-RESTRICT="
-   !clang? ( test )
-   !test? ( test )
-"
-
-DEPEND="
-   sys-devel/llvm:${LLVM_MAJOR}
-   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
-"
-BDEPEND="
-   >=dev-util/cmake-3.16
-   clang? ( sys-devel/clang )
-   elibc_glibc? ( net-libs/libtirpc )
-   test? (
-   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
-   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
-   sys-libs/compiler-rt:${LLVM_MAJOR}
-   )
-   !test? (
-   ${PYTHON_DEPS}
-   )
-"
-
-LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
-llvm.org_set_globals
-
-python_check_deps() {
-   use test || return 0
-   python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
-}
-
-check_space() {
-   if use test; then
-   local CHECKREQS_DISK_BUILD=11G
-   check-reqs_pkg_pretend
-   fi
-}
-
-pkg_pretend() {
-   check_space
-}
-
-pkg_setup() {
-   check_space
-   LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die
-
-   local flag
-   for flag in "${SANITIZER_FLAGS[@]}"; do
-   if ! use "${flag}"; then
-   local cmake_flag=${flag/-/_}
-   sed -i -e 
"/COMPILER_RT_HAS_${cmake_flag^^}/s:TRUE:FALSE:" \
-   cmake/config-ix.cmake || die
-   fi
-   done
-
-   # TODO: fix these tests to be skipped upstream
-   if use asan && ! use profile; then
-   rm test/asan/TestCases/asan_and_llvm_coverage_test.cpp || die
-   fi
-   if use ubsan && ! use cfi; then
-   > test/cfi/CMakeLists.txt || die
-   fi
-
-   llvm.org_src_prepare
-}
-
-src_configure() {
-   # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
-   use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
-
-   # pre-set since we need to pass it to cmake
-   BUILD_DIR=${WORKDIR}/compiler-rt_build
-
-   if use clang; then
-   local -x CC=${CHOST}-clang
-   local -x CXX=${CHOST}-clang++
-   strip-unsupported-flags
-   fi
-
-   local flag want_sanitizer=OFF
-   for flag in "${SANITIZER_FLAGS[@]}"; do
-   if use "${flag}"; then
-   want_sanitizer=ON
-   break
-   fi
-   done
-
-   local mycmakeargs=(
-   
-DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${LLVM_MAJOR}"
-   # use a build dir structure consistent with install
-   # this makes it possible to easily deploy test-friendly clang
-   -DCOMPILER_RT_OUTPUT_DIR="${BUILD_DIR}/lib/clang/${LLVM_MAJOR}"
-
-   -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
-   # builtins & crt installed by sys-libs/compiler-rt
-   -DCOMPILER_RT_BUILD_BUILTINS=OFF
-   -DCOMPILER_RT_BUILD_CRT=OFF
-   -DCOMPILER_RT_BUILD_LIBFUZZER=$(usex 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-13 Thread Arthur Zamarin
commit: 76c5163a2ccd70b6c0107b47f8d71c415dd017ba
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 13 18:27:52 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 13 18:27:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76c5163a

sys-libs/compiler-rt-sanitizers: Stabilize 16.0.5 ppc64, #908385

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

 sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild
index d7d5778a3c8c..5be3f9c45abd 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/;
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="${LLVM_MAJOR}"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos 
~x64-macos"
 IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
 # base targets
 IUSE+=" +libfuzzer +memprof +orc +profile +xray"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-11 Thread Michał Górny
commit: b2600823986b8a580381388bb4bd185e573ee213
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 11 09:35:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 11 09:35:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2600823

sys-libs/compiler-rt-sanitizers: 16.x live is now 16.0.6

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

 ...izers-16.0.5..ebuild => compiler-rt-sanitizers-16.0.6..ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5..ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6..ebuild
similarity index 100%
rename from 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.5..ebuild
rename to 
sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-16.0.6..ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2023-06-10 Thread Michał Górny
commit: b9ace2ad96c538bd60e088ebc31823fa478062c8
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 10 09:00:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 10 11:22:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ace2ad

sys-libs/compiler-rt-sanitizers: Add 17.0.0_pre20230609 snapshot

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

 sys-libs/compiler-rt-sanitizers/Manifest   |   1 +
 ...ompiler-rt-sanitizers-17.0.0_pre20230609.ebuild | 216 +
 2 files changed, 217 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index f1afc37e2073..698546881137 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -10,5 +10,6 @@ DIST llvm-project-16.0.4.src.tar.xz 117996332 BLAKE2B 
2ea3ef25290ce6180d271e42fb
 DIST llvm-project-16.0.4.src.tar.xz.sig 566 BLAKE2B 
43cb2147f12f98f864797158e8efcfed9c6780fae3b5c71c0f1aea19a4131ee91c36bdf5b10e44f478f2370c8d22a9038038ecd607f25a95f2d3e33628eb9ac0
 SHA512 
c902d1b652e6e144fcf74f550539f56665475b6bdf673ba5bf2f1731c3bb8f5717ed56433d488c54bbf2f429b432da84e0bfb4b5fb5f2b7fa208b4f24f682be7
 DIST llvm-project-16.0.5.src.tar.xz 118000368 BLAKE2B 
9f84e6bab450dc8d6379771afbca5cddc6fbad6c9728726f7158f290ab87d464ff657e89e1c8fc3c474362cc865ff13c5d55ef758c848ea3e660d732cb2fdefa
 SHA512 
7008e7e9c8c2246fe98ba3f0c0fa91e41c88c4da427bf1cfdcce7ef57e5ea838efe7c58c523a7d1708e70d64a4338afe16d06fba2fc7ac5a6c19ca3d6ee41e99
 DIST llvm-project-16.0.5.src.tar.xz.sig 566 BLAKE2B 
4c96f294f350e0086f8504a54c3387308c60efb573c8def40aec45b1918d43e36c44bafb0823625b6cefa5d99b3aacd7823d6c92c7a64a737653d5b51839a924
 SHA512 
4550c7c6a1b6ea603d1499aba5aca746f3948a00e7567604f5e7dc3b215a34357bad382a7ebea1f6cd7952841cb75a0dfbe2c278a8c6fcb630a5035b3e16e869
+DIST llvm-project-62c0bdabfa32f6e32b17b45425b15309db340dfb.tar.gz 190948645 
BLAKE2B 
f41d8ea32e189ef4641e42628fb516e307c9a6fcf65af537eb9fc0d3186591b062c5e85c9e935511ef706f28c6994a774a4e3f36ff54d79aaac7b293a6168625
 SHA512 
55a4cbfec3a496c1918aa614e5bdee368e4d0b6641c946d8bf8b828ab4bf4d9b29dbe96401a172079d70f924f5e513428fe990c65b556a0a860802cb13f5e3a0
 DIST llvm-project-a2684acfb61d40f441e240035d7f1ba50da637c8.tar.gz 184900914 
BLAKE2B 
fb1f836738415a640bc84283722f6a7355a06bc8ac05b544dd4ad4ac9552dcf70040b82b0493c5b4485b28610412279ec0adcf467e71915167aa7d010c08216e
 SHA512 
c08ff8abc166399e692d3166ccf65eb4b647893cba8ffc10bcda815bc914a944855bac036d6349f6d820a6ff43d5417170e6ff8620d97a2a144a0898e95d09e3
 DIST llvm-project-f9753ef1893c3d953a0244e7935d3997499b079a.tar.gz 185505236 
BLAKE2B 
570a8937788027ee2cef0dad6be693c57b4a5634c0c1fc2bc1c2f534fb4ae00203f14b1bcf0a0f241e7e1e8c25120dc6ea7ede2a10bed397e1cc377318ebe7a0
 SHA512 
c12eade7c9790ec2a790017b1451a15f0ff7d1b60879f08a448edcb4f162703650b244fdc2fc284335dff4b2a37ef5d488e0d771abee79b49cac94b9e478f010

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230609.ebuild
 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230609.ebuild
new file mode 100644
index ..f3ca3131c8d6
--- /dev/null
+++ 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-17.0.0_pre20230609.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit check-reqs cmake flag-o-matic llvm llvm.org python-any-r1
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="https://llvm.org/;
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="${LLVM_MAJOR}"
+KEYWORDS=""
+IUSE="+abi_x86_32 abi_x86_64 +clang +debug test"
+# base targets
+IUSE+=" +libfuzzer +memprof +orc +profile +xray"
+# sanitizer targets, keep in sync with config-ix.cmake
+# NB: ubsan, scudo deliberately match two entries
+SANITIZER_FLAGS=(
+   asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
+   shadowcallstack gwp-asan
+)
+IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
+REQUIRED_USE="
+   || ( ${SANITIZER_FLAGS[*]} libfuzzer orc profile xray )
+   test? (
+   cfi? ( ubsan )
+   gwp-asan? ( scudo )
+   )
+"
+RESTRICT="
+   !clang? ( test )
+   !test? ( test )
+"
+
+DEPEND="
+   sys-devel/llvm:${LLVM_MAJOR}
+   virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?]
+"
+BDEPEND="
+   >=dev-util/cmake-3.16
+   clang? ( sys-devel/clang )
+   elibc_glibc? ( net-libs/libtirpc )
+   test? (
+   $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${LLVM_VERSION}*:${LLVM_MAJOR}
+   sys-libs/compiler-rt:${LLVM_MAJOR}
+   )
+   !test? (
+   ${PYTHON_DEPS}
+   )
+"
+
+LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
+LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
+llvm.org_set_globals
+

  1   2   3   4   5   6   >