commit:     5013eb101712d2ed08791660811f7c160368c1d9
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Wed Oct 14 00:00:00 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 14 21:14:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5013eb10

sys-libs/compiler-rt: Set used Python interpreter.

Required since:
https://github.com/llvm/llvm-project/commit/c4c3883b00d3a6aa657a5e3e515c90c9ea1f81c6

Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-libs/compiler-rt/compiler-rt-11.0.0.9999.ebuild | 3 +++
 sys-libs/compiler-rt/compiler-rt-11.0.0.ebuild      | 3 +++
 sys-libs/compiler-rt/compiler-rt-12.0.0.9999.ebuild | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/sys-libs/compiler-rt/compiler-rt-11.0.0.9999.ebuild 
b/sys-libs/compiler-rt/compiler-rt-11.0.0.9999.ebuild
index c83c56ecf24..f913057ff61 100644
--- a/sys-libs/compiler-rt/compiler-rt-11.0.0.9999.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-11.0.0.9999.ebuild
@@ -22,6 +22,7 @@ CLANG_SLOT=${SLOT%%.*}
 DEPEND="
        >=sys-devel/llvm-6"
 BDEPEND="
+       >=dev-util/cmake-3.16
        clang? ( sys-devel/clang )
        test? (
                $(python_gen_any_dep 
">=dev-python/lit-9.0.1[\${PYTHON_USEDEP}]")
@@ -76,6 +77,8 @@ src_configure() {
                -DCOMPILER_RT_BUILD_PROFILE=OFF
                -DCOMPILER_RT_BUILD_SANITIZERS=OFF
                -DCOMPILER_RT_BUILD_XRAY=OFF
+
+               -DPython3_EXECUTABLE="${PYTHON}"
        )
 
        if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then

diff --git a/sys-libs/compiler-rt/compiler-rt-11.0.0.ebuild 
b/sys-libs/compiler-rt/compiler-rt-11.0.0.ebuild
index bd92186599d..014a1f5ed81 100644
--- a/sys-libs/compiler-rt/compiler-rt-11.0.0.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-11.0.0.ebuild
@@ -22,6 +22,7 @@ CLANG_SLOT=${SLOT%%.*}
 DEPEND="
        >=sys-devel/llvm-6"
 BDEPEND="
+       >=dev-util/cmake-3.16
        clang? ( sys-devel/clang )
        test? (
                $(python_gen_any_dep 
">=dev-python/lit-9.0.1[\${PYTHON_USEDEP}]")
@@ -76,6 +77,8 @@ src_configure() {
                -DCOMPILER_RT_BUILD_PROFILE=OFF
                -DCOMPILER_RT_BUILD_SANITIZERS=OFF
                -DCOMPILER_RT_BUILD_XRAY=OFF
+
+               -DPython3_EXECUTABLE="${PYTHON}"
        )
 
        if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then

diff --git a/sys-libs/compiler-rt/compiler-rt-12.0.0.9999.ebuild 
b/sys-libs/compiler-rt/compiler-rt-12.0.0.9999.ebuild
index c83c56ecf24..f913057ff61 100644
--- a/sys-libs/compiler-rt/compiler-rt-12.0.0.9999.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-12.0.0.9999.ebuild
@@ -22,6 +22,7 @@ CLANG_SLOT=${SLOT%%.*}
 DEPEND="
        >=sys-devel/llvm-6"
 BDEPEND="
+       >=dev-util/cmake-3.16
        clang? ( sys-devel/clang )
        test? (
                $(python_gen_any_dep 
">=dev-python/lit-9.0.1[\${PYTHON_USEDEP}]")
@@ -76,6 +77,8 @@ src_configure() {
                -DCOMPILER_RT_BUILD_PROFILE=OFF
                -DCOMPILER_RT_BUILD_SANITIZERS=OFF
                -DCOMPILER_RT_BUILD_XRAY=OFF
+
+               -DPython3_EXECUTABLE="${PYTHON}"
        )
 
        if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then

Reply via email to