Move {sys-libs → llvm-runtimes}/compiler-rt-sanitizers

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-12-11 12:18:15 +01:00
parent c614d9691e
commit a114d7cd8e
52 changed files with 87 additions and 86 deletions

View File

@@ -89,6 +89,6 @@ src_install() {
pkg_postinst() {
# TODO: Any others?
optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
optfeature "fuzzing with AFL_USE_ASAN" llvm-runtimes/compiler-rt-sanitizers[asan]
optfeature "fuzzing with AFL_USE_MSAN" llvm-runtimes/compiler-rt-sanitizers[msan]
}

View File

@@ -92,6 +92,6 @@ src_install() {
pkg_postinst() {
# TODO: Any others?
optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan]
optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan]
optfeature "fuzzing with AFL_USE_ASAN" llvm-runtimes/compiler-rt-sanitizers[asan]
optfeature "fuzzing with AFL_USE_MSAN" llvm-runtimes/compiler-rt-sanitizers[msan]
}

View File

@@ -88,7 +88,7 @@ BDEPEND="${PYTHON_DEPS}
sys-devel/llvm:${LLVM_SLOT}
clang? (
sys-devel/lld:${LLVM_SLOT}
pgo? ( sys-libs/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
pgo? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
)
')
app-alternatives/awk
@@ -204,8 +204,8 @@ llvm_check_deps() {
fi
if use pgo ; then
if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
if ! has_version -b "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
einfo "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
return 1
fi

View File

@@ -88,7 +88,7 @@ BDEPEND="${PYTHON_DEPS}
sys-devel/llvm:${LLVM_SLOT}
clang? (
sys-devel/lld:${LLVM_SLOT}
pgo? ( sys-libs/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
pgo? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
)
')
app-alternatives/awk
@@ -204,8 +204,8 @@ llvm_check_deps() {
fi
if use pgo ; then
if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
if ! has_version -b "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
einfo "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
return 1
fi

View File

@@ -41,7 +41,7 @@ DEPEND="${RDEPEND}
"
BDEPEND="|| (
sys-devel/gcc[sanitize]
sys-libs/compiler-rt-sanitizers[asan(-)]
llvm-runtimes/compiler-rt-sanitizers[asan(-)]
)
dev-vcs/git
"

View File

@@ -41,7 +41,7 @@ DEPEND="${RDEPEND}
"
BDEPEND="|| (
sys-devel/gcc[sanitize]
sys-libs/compiler-rt-sanitizers[asan(-)]
llvm-runtimes/compiler-rt-sanitizers[asan(-)]
)
dev-vcs/git
"

View File

@@ -41,7 +41,7 @@ DEPEND="${RDEPEND}
"
BDEPEND="|| (
sys-devel/gcc[sanitize]
sys-libs/compiler-rt-sanitizers[asan(-)]
llvm-runtimes/compiler-rt-sanitizers[asan(-)]
)
dev-vcs/git
"

View File

@@ -3,6 +3,7 @@ dev-ml/llvm-ocaml
dev-python/clang-python
dev-python/lit
llvm-core/libclc
llvm-runtimes/compiler-rt-sanitizers
llvm-runtimes/libcxx
llvm-runtimes/libcxxabi
llvm-runtimes/libunwind
@@ -19,4 +20,3 @@ sys-devel/llvm-common
sys-devel/llvm-toolchain-symlinks
sys-devel/llvmgold
sys-libs/compiler-rt
sys-libs/compiler-rt-sanitizers

View File

@@ -54,9 +54,9 @@ BDEPEND="
pkg_setup() {
if tc-is-clang; then
local clang_major_version=$(clang-major-version);
if ! has_version "sys-libs/compiler-rt-sanitizers:${clang_major_version}[profile]"; then
eerror "Compiling this package with clang requires sys-libs/compiler-rt-sanitizers to be built with 'profile' USE flag enabled"
die "Clang detected, but sys-libs/compiler-rt-sanitizers not build with 'profile' USE flag enabled"
if ! has_version "llvm-runtimes/compiler-rt-sanitizers:${clang_major_version}[profile]"; then
eerror "Compiling this package with clang requires llvm-runtimes/compiler-rt-sanitizers to be built with 'profile' USE flag enabled"
die "Clang detected, but llvm-runtimes/compiler-rt-sanitizers not build with 'profile' USE flag enabled"
fi
fi
}

View File

@@ -55,9 +55,9 @@ BDEPEND="
pkg_setup() {
if tc-is-clang; then
local clang_major_version=$(clang-major-version);
if ! has_version "sys-libs/compiler-rt-sanitizers:${clang_major_version}[profile]"; then
eerror "Compiling this package with clang requires sys-libs/compiler-rt-sanitizers to be built with 'profile' USE flag enabled"
die "Clang detected, but sys-libs/compiler-rt-sanitizers not build with 'profile' USE flag enabled"
if ! has_version "llvm-runtimes/compiler-rt-sanitizers:${clang_major_version}[profile]"; then
eerror "Compiling this package with clang requires llvm-runtimes/compiler-rt-sanitizers to be built with 'profile' USE flag enabled"
die "Clang detected, but llvm-runtimes/compiler-rt-sanitizers not build with 'profile' USE flag enabled"
fi
fi
}

View File

@@ -272,11 +272,11 @@ net-misc/asterisk -blocks
# Michał Górny <mgorny@gentoo.org> (2020-12-21)
# Sanitizers supported on this architecture.
sys-libs/compiler-rt-sanitizers -asan -dfsan -lsan -msan -hwasan -tsan
sys-libs/compiler-rt-sanitizers -ubsan -safestack -cfi -scudo
sys-libs/compiler-rt-sanitizers -gwp-asan
sys-libs/compiler-rt-sanitizers -libfuzzer -memprof -orc -profile -xray
sys-libs/compiler-rt-sanitizers -ctx-profile -nsan -rtsan
llvm-runtimes/compiler-rt-sanitizers -asan -dfsan -lsan -msan -hwasan -tsan
llvm-runtimes/compiler-rt-sanitizers -ubsan -safestack -cfi -scudo
llvm-runtimes/compiler-rt-sanitizers -gwp-asan
llvm-runtimes/compiler-rt-sanitizers -libfuzzer -memprof -orc -profile -xray
llvm-runtimes/compiler-rt-sanitizers -ctx-profile -nsan -rtsan
# Sam James <sam@gentoo.org> (2020-10-24)
# asm redc is only available on amd64,

View File

@@ -222,10 +222,10 @@ app-text/enchant voikko
# Michał Górny <mgorny@gentoo.org> (2020-12-21)
# Sanitizers supported on this architecture.
sys-libs/compiler-rt-sanitizers -asan -lsan
sys-libs/compiler-rt-sanitizers -ubsan -cfi -scudo
sys-libs/compiler-rt-sanitizers -profile -xray
>=sys-libs/compiler-rt-sanitizers-16 -gwp-asan -libfuzzer -orc
llvm-runtimes/compiler-rt-sanitizers -asan -lsan
llvm-runtimes/compiler-rt-sanitizers -ubsan -cfi -scudo
llvm-runtimes/compiler-rt-sanitizers -profile -xray
>=llvm-runtimes/compiler-rt-sanitizers-16 -gwp-asan -libfuzzer -orc
# Rick Farina <zerochaos@gentoo.org> (2020-12-18)
# net-wireless/libxtrx et all needs testing

View File

@@ -242,11 +242,11 @@ app-text/enchant voikko
# Michał Górny <mgorny@gentoo.org> (2020-12-21)
# Sanitizers supported on this architecture.
sys-libs/compiler-rt-sanitizers -asan -dfsan -lsan -msan -hwasan -tsan
sys-libs/compiler-rt-sanitizers -ubsan -safestack -cfi -scudo
sys-libs/compiler-rt-sanitizers -gwp-asan -shadowcallstack
sys-libs/compiler-rt-sanitizers -libfuzzer -profile -xray -rtsan
>=sys-libs/compiler-rt-sanitizers-16 -orc
llvm-runtimes/compiler-rt-sanitizers -asan -dfsan -lsan -msan -hwasan -tsan
llvm-runtimes/compiler-rt-sanitizers -ubsan -safestack -cfi -scudo
llvm-runtimes/compiler-rt-sanitizers -gwp-asan -shadowcallstack
llvm-runtimes/compiler-rt-sanitizers -libfuzzer -profile -xray -rtsan
>=llvm-runtimes/compiler-rt-sanitizers-16 -orc
# Roy Bamford <neddyseagoon@gentoo.org> (2020-12-07)
# media-libs/liblastfm fails to build with tests Bug #758896

View File

@@ -263,11 +263,11 @@ net-misc/asterisk blocks
# Michał Górny <mgorny@gentoo.org> (2020-12-21)
# Mask all sanitizers by default, unmask on arches supporting them.
sys-libs/compiler-rt-sanitizers asan dfsan lsan msan hwasan tsan
sys-libs/compiler-rt-sanitizers ubsan safestack cfi scudo
sys-libs/compiler-rt-sanitizers shadowcallstack gwp-asan
sys-libs/compiler-rt-sanitizers libfuzzer memprof orc profile xray
sys-libs/compiler-rt-sanitizers ctx-profile nsan rtsan
llvm-runtimes/compiler-rt-sanitizers asan dfsan lsan msan hwasan tsan
llvm-runtimes/compiler-rt-sanitizers ubsan safestack cfi scudo
llvm-runtimes/compiler-rt-sanitizers shadowcallstack gwp-asan
llvm-runtimes/compiler-rt-sanitizers libfuzzer memprof orc profile xray
llvm-runtimes/compiler-rt-sanitizers ctx-profile nsan rtsan
# Sam James <sam@gentoo.org> (2020-10-24)
# asm redc is only available on amd64,

View File

@@ -332,13 +332,13 @@ media-plugins/gst-plugins-meta libvisual
# Profile: https://reviews.llvm.org/D154405 (LLVM 17 since 20230706)
# XRay: https://reviews.llvm.org/D140727 (LLVM 17 since 20230714)
# libFuzzer: https://reviews.llvm.org/D140601 (LLVM 17 since 20230718)
>=sys-libs/compiler-rt-sanitizers-15 -asan
>=sys-libs/compiler-rt-sanitizers-16 -lsan -safestack -scudo -tsan -ubsan
>=sys-libs/compiler-rt-sanitizers-17.0.0_pre20230630 -msan
>=sys-libs/compiler-rt-sanitizers-17.0.0_pre20230705 -dfsan
>=sys-libs/compiler-rt-sanitizers-17.0.0_pre20230717 -profile -xray
>sys-libs/compiler-rt-sanitizers-17.0.0_pre20230717 -libfuzzer
>=sys-libs/compiler-rt-sanitizers-19 -cfi
>=llvm-runtimes/compiler-rt-sanitizers-15 -asan
>=llvm-runtimes/compiler-rt-sanitizers-16 -lsan -safestack -scudo -tsan -ubsan
>=llvm-runtimes/compiler-rt-sanitizers-17.0.0_pre20230630 -msan
>=llvm-runtimes/compiler-rt-sanitizers-17.0.0_pre20230705 -dfsan
>=llvm-runtimes/compiler-rt-sanitizers-17.0.0_pre20230717 -profile -xray
>llvm-runtimes/compiler-rt-sanitizers-17.0.0_pre20230717 -libfuzzer
>=llvm-runtimes/compiler-rt-sanitizers-19 -cfi
# WANG Xuerui <xen0n@gentoo.org> (2022-07-08)
# virtual/{jdk,jre} is not available on loong yet.

View File

@@ -3,4 +3,4 @@
# matoro <matoro_gentoo@matoro.tk> (2024-05-01)
# Sanitizers supported on 64-bit mips only, #779742
sys-libs/compiler-rt-sanitizers -dfsan -lsan -msan -tsan -cfi
llvm-runtimes/compiler-rt-sanitizers -dfsan -lsan -msan -tsan -cfi

View File

@@ -133,7 +133,7 @@ dev-lang/python jit
# matoro <matoro_gentoo@matoro.tk> (2024-05-01)
# Sanitizers supported on both 32-bit and 64-bit mips, #779742
sys-libs/compiler-rt-sanitizers -asan -profile -ubsan -safestack -scudo -xray
llvm-runtimes/compiler-rt-sanitizers -asan -profile -ubsan -safestack -scudo -xray
# matoro <matoro_gentoo@matoro.tk> (2024-03-21)
# Test suite is very fragile and doesn't even run on amd64.

View File

@@ -17,4 +17,4 @@ sci-libs/pdal
# Not ported to ppc32. See ALL_.*_SUPPORTED_ARCH
# in compiler-rt/cmake/. Bug #708344
sys-libs/compiler-rt
sys-libs/compiler-rt-sanitizers
llvm-runtimes/compiler-rt-sanitizers

View File

@@ -24,7 +24,7 @@ media-libs/libdvbcsa cpu_flags_ppc_altivec
# Michał Górny <mgorny@gentoo.org> (2020-12-21)
# Additional sanitizers supported on ppc64le.
sys-libs/compiler-rt-sanitizers -xray
llvm-runtimes/compiler-rt-sanitizers -xray
# Georgy Yakovlev <gyakovlev@gentoo.org> (2020-10-05)
# criu is unmasked on little-endian ppc64

View File

@@ -104,10 +104,10 @@ dev-util/diffoscope haskell
# Michał Górny <mgorny@gentoo.org> (2020-12-21)
# Sanitizers supported on this architecture.
sys-libs/compiler-rt-sanitizers -asan -lsan -msan -tsan
sys-libs/compiler-rt-sanitizers -ubsan -scudo
sys-libs/compiler-rt-sanitizers -profile
>=sys-libs/compiler-rt-sanitizers-19 -orc
llvm-runtimes/compiler-rt-sanitizers -asan -lsan -msan -tsan
llvm-runtimes/compiler-rt-sanitizers -ubsan -scudo
llvm-runtimes/compiler-rt-sanitizers -profile
>=llvm-runtimes/compiler-rt-sanitizers-19 -orc
# Georgy Yakovlev <gyakovlev@gentoo.org> (2020-01-25)
# fwupd keyworded now on ppc64

View File

@@ -97,9 +97,9 @@ sys-block/tgt rbd
# jinqiang zhang <peeweep@0x0.ee> (2023-03-27)
# Sanitizers supported on riscv64.
sys-libs/compiler-rt-sanitizers -asan -lsan
>=sys-libs/compiler-rt-sanitizers-19 -libfuzzer -hwasan -profile -tsan
>=sys-libs/compiler-rt-sanitizers-19 -ubsan -scudo
llvm-runtimes/compiler-rt-sanitizers -asan -lsan
>=llvm-runtimes/compiler-rt-sanitizers-19 -libfuzzer -hwasan -profile -tsan
>=llvm-runtimes/compiler-rt-sanitizers-19 -ubsan -scudo
# Yixun Lan <dlan@gentoo.org> (2023-02-16)
# USE=java depend on virtual/jdk:1.8 which is not support on RISC-V

View File

@@ -257,11 +257,11 @@ app-text/pdfpc gstreamer
# Michał Górny <mgorny@gentoo.org> (2020-12-21)
# Sanitizers supported on this architecture.
sys-libs/compiler-rt-sanitizers -asan -lsan
sys-libs/compiler-rt-sanitizers -ubsan -safestack -cfi -scudo
sys-libs/compiler-rt-sanitizers -gwp-asan
sys-libs/compiler-rt-sanitizers -profile
>=sys-libs/compiler-rt-sanitizers-16 -libfuzzer
llvm-runtimes/compiler-rt-sanitizers -asan -lsan
llvm-runtimes/compiler-rt-sanitizers -ubsan -safestack -cfi -scudo
llvm-runtimes/compiler-rt-sanitizers -gwp-asan
llvm-runtimes/compiler-rt-sanitizers -profile
>=llvm-runtimes/compiler-rt-sanitizers-16 -libfuzzer
# Thomas Deutschmann <whissi@gentoo.org> (2020-10-06)
# - aesni plugin is supported on x86

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License, v2
# Sam James <sam@gentoo.org> (2024-06-16)
# Avoid pulling in sys-libs/compiler-rt-sanitizers which fails to build
# Avoid pulling in llvm-runtimes/compiler-rt-sanitizers which fails to build
# See bug #928936.
sys-devel/clang-runtime sanitize

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# Sam James <sam@gentoo.org> (2024-06-16)
# Avoid pulling in sys-libs/compiler-rt-sanitizers which fails to build
# Avoid pulling in llvm-runtimes/compiler-rt-sanitizers which fails to build
# See bug #928936.
sys-devel/clang-runtime sanitize

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License, v2
# Sam James <sam@gentoo.org> (2024-06-16)
# Avoid pulling in sys-libs/compiler-rt-sanitizers which fails to build
# Avoid pulling in llvm-runtimes/compiler-rt-sanitizers which fails to build
# See bug #928936.
sys-devel/clang-runtime sanitize

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License, v2
# Sam James <sam@gentoo.org> (2024-06-16)
# Avoid pulling in sys-libs/compiler-rt-sanitizers which fails to build
# Avoid pulling in llvm-runtimes/compiler-rt-sanitizers which fails to build
# See bug #928936.
sys-devel/clang-runtime sanitize

View File

@@ -9,6 +9,6 @@ sys-libs/compiler-rt clang
# disable sanitizers for now
sys-devel/clang-runtime compiler-rt libcxx -sanitize
# sys-libs/compiler-rt-sanitizers clang
# llvm-runtimes/compiler-rt-sanitizers clang
llvm-runtimes/libcxx libcxxabi

View File

@@ -209,7 +209,7 @@ sys-apps/util-linux nls
# Sam James <sam@gentoo.org> (2021-11-07)
# Disable some sanitizers for LLVM, see bug #753935
# Needs libexecinfo on musl, not yet packaged
sys-libs/compiler-rt-sanitizers gwp-asan
llvm-runtimes/compiler-rt-sanitizers gwp-asan
# Sergei Trofimovich <slyfox@gentoo.org> (2020-03-19)
# check does not work on musl, bug #713138

View File

@@ -3,7 +3,7 @@
# Andreas K. Hüttel <dilfridge@gentoo.org> (2024-03-07)
# This doesn't work yet with musl-1.2.4, bug 906603
sys-libs/compiler-rt-sanitizers msan
llvm-runtimes/compiler-rt-sanitizers msan
# Sam James <sam@gentoo.org> (2022-10-04)
# libxcrypt migration isn't yet stable on musl.

View File

@@ -67,3 +67,4 @@ move sys-libs/llvm-libunwind llvm-runtimes/libunwind
move sys-libs/libomp llvm-runtimes/openmp
move sys-libs/libcxxabi llvm-runtimes/libcxxabi
move sys-libs/libcxx llvm-runtimes/libcxx
move sys-libs/compiler-rt-sanitizers llvm-runtimes/compiler-rt-sanitizers

View File

@@ -18,7 +18,7 @@ RDEPEND="
compiler-rt? (
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
sanitize? (
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
~llvm-runtimes/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
)
)
libcxx? ( >=llvm-runtimes/libcxx-${PV}[${MULTILIB_USEDEP}] )

View File

@@ -18,7 +18,7 @@ RDEPEND="
compiler-rt? (
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
sanitize? (
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
~llvm-runtimes/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
)
)
libcxx? ( >=llvm-runtimes/libcxx-${PV}[${MULTILIB_USEDEP}] )

View File

@@ -18,7 +18,7 @@ RDEPEND="
compiler-rt? (
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
sanitize? (
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
~llvm-runtimes/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
)
)
libcxx? ( >=llvm-runtimes/libcxx-${PV}[${MULTILIB_USEDEP}] )

View File

@@ -18,7 +18,7 @@ RDEPEND="
compiler-rt? (
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
sanitize? (
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
~llvm-runtimes/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
)
)
libcxx? ( >=llvm-runtimes/libcxx-${PV}[${MULTILIB_USEDEP}] )

View File

@@ -18,7 +18,7 @@ RDEPEND="
compiler-rt? (
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
sanitize? (
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
~llvm-runtimes/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
)
)
libcxx? ( >=llvm-runtimes/libcxx-${PV}[${MULTILIB_USEDEP}] )

View File

@@ -18,7 +18,7 @@ RDEPEND="
compiler-rt? (
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
sanitize? (
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
~llvm-runtimes/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
)
)
libcxx? ( >=llvm-runtimes/libcxx-${PV}[${MULTILIB_USEDEP}] )

View File

@@ -17,7 +17,7 @@ RDEPEND="
compiler-rt? (
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
sanitize? (
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
~llvm-runtimes/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
)
)
libcxx? ( >=llvm-runtimes/libcxx-${PV}[${MULTILIB_USEDEP}] )

View File

@@ -17,7 +17,7 @@ RDEPEND="
compiler-rt? (
~sys-libs/compiler-rt-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
sanitize? (
~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
~llvm-runtimes/compiler-rt-sanitizers-${PV}:${SLOT}[abi_x86_32(+)?,abi_x86_64(+)?]
)
)
libcxx? ( >=llvm-runtimes/libcxx-${PV}[${MULTILIB_USEDEP}] )

View File

@@ -96,7 +96,7 @@ BDEPEND="${PYTHON_DEPS}
sys-devel/llvm:${LLVM_SLOT}
clang? (
sys-devel/lld:${LLVM_SLOT}
pgo? ( sys-libs/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
pgo? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
)
wasm? ( sys-devel/lld:${LLVM_SLOT} )
')
@@ -233,8 +233,8 @@ llvm_check_deps() {
fi
if use pgo ; then
if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
if ! has_version -b "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
einfo "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
return 1
fi

View File

@@ -96,7 +96,7 @@ BDEPEND="${PYTHON_DEPS}
sys-devel/llvm:${LLVM_SLOT}
clang? (
sys-devel/lld:${LLVM_SLOT}
pgo? ( sys-libs/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
pgo? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
)
wasm? ( sys-devel/lld:${LLVM_SLOT} )
')
@@ -233,8 +233,8 @@ llvm_check_deps() {
fi
if use pgo ; then
if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
if ! has_version -b "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
einfo "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
return 1
fi

View File

@@ -99,7 +99,7 @@ BDEPEND="${PYTHON_DEPS}
sys-devel/llvm:${LLVM_SLOT}
clang? (
sys-devel/lld:${LLVM_SLOT}
pgo? ( sys-libs/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
pgo? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
)
wasm? ( sys-devel/lld:${LLVM_SLOT} )
')
@@ -237,8 +237,8 @@ llvm_check_deps() {
fi
if use pgo ; then
if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
if ! has_version -b "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
einfo "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
return 1
fi