summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2020-10-14 00:00:00 +0000
committerMichał Górny <mgorny@gentoo.org>2020-10-14 23:14:23 +0200
commit4bdca3adc8c772bd7495f7d336ec3ab21f14e5a6 (patch)
tree76568c8ecc65df6ed427f619551b8ca2ff4f4d63 /sys-libs/compiler-rt-sanitizers
parentsys-libs/compiler-rt: Set used Python interpreter. (diff)
downloadgentoo-4bdca3adc8c772bd7495f7d336ec3ab21f14e5a6.tar.gz
gentoo-4bdca3adc8c772bd7495f7d336ec3ab21f14e5a6.tar.bz2
gentoo-4bdca3adc8c772bd7495f7d336ec3ab21f14e5a6.zip
sys-libs/compiler-rt-sanitizers: Set used Python interpreter.
Required since: https://github.com/llvm/llvm-project/commit/c4c3883b00d3a6aa657a5e3e515c90c9ea1f81c6 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs/compiler-rt-sanitizers')
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.9999.ebuild3
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.ebuild3
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-12.0.0.9999.ebuild3
3 files changed, 9 insertions, 0 deletions
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.9999.ebuild
index cecd595ac6c1..ce473ae200d6 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.9999.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.9999.ebuild
@@ -25,6 +25,7 @@ CLANG_SLOT=${SLOT%%.*}
DEPEND="
>=sys-devel/llvm-6"
BDEPEND="
+ >=dev-util/cmake-3.16
clang? ( sys-devel/clang )
elibc_glibc? ( net-libs/libtirpc )
test? (
@@ -86,6 +87,8 @@ src_configure() {
-DCOMPILER_RT_BUILD_PROFILE=$(usex profile)
-DCOMPILER_RT_BUILD_SANITIZERS=$(usex sanitize)
-DCOMPILER_RT_BUILD_XRAY=$(usex xray)
+
+ -DPython3_EXECUTABLE="${PYTHON}"
)
if use test; then
mycmakeargs+=(
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.ebuild
index b9be9bf67b85..cb88808df4b9 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.ebuild
@@ -25,6 +25,7 @@ CLANG_SLOT=${SLOT%%.*}
DEPEND="
>=sys-devel/llvm-6"
BDEPEND="
+ >=dev-util/cmake-3.16
clang? ( sys-devel/clang )
elibc_glibc? ( net-libs/libtirpc )
test? (
@@ -86,6 +87,8 @@ src_configure() {
-DCOMPILER_RT_BUILD_PROFILE=$(usex profile)
-DCOMPILER_RT_BUILD_SANITIZERS=$(usex sanitize)
-DCOMPILER_RT_BUILD_XRAY=$(usex xray)
+
+ -DPython3_EXECUTABLE="${PYTHON}"
)
if use test; then
mycmakeargs+=(
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-12.0.0.9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-12.0.0.9999.ebuild
index cecd595ac6c1..ce473ae200d6 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-12.0.0.9999.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-12.0.0.9999.ebuild
@@ -25,6 +25,7 @@ CLANG_SLOT=${SLOT%%.*}
DEPEND="
>=sys-devel/llvm-6"
BDEPEND="
+ >=dev-util/cmake-3.16
clang? ( sys-devel/clang )
elibc_glibc? ( net-libs/libtirpc )
test? (
@@ -86,6 +87,8 @@ src_configure() {
-DCOMPILER_RT_BUILD_PROFILE=$(usex profile)
-DCOMPILER_RT_BUILD_SANITIZERS=$(usex sanitize)
-DCOMPILER_RT_BUILD_XRAY=$(usex xray)
+
+ -DPython3_EXECUTABLE="${PYTHON}"
)
if use test; then
mycmakeargs+=(