commit:     f349dc5fa5c76931e9a8629edfaa9054fed2f37f
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:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f349dc5f

sys-devel/llvm: 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-devel/llvm/llvm-11.0.0.9999.ebuild | 3 +++
 sys-devel/llvm/llvm-11.0.0.ebuild      | 3 +++
 sys-devel/llvm/llvm-12.0.0.9999.ebuild | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/sys-devel/llvm/llvm-11.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-11.0.0.9999.ebuild
index 6ee898821d6..fd13357643c 100644
--- a/sys-devel/llvm/llvm-11.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-11.0.0.9999.ebuild
@@ -53,6 +53,7 @@ DEPEND="${RDEPEND}
        gold? ( sys-libs/binutils-libs )"
 BDEPEND="
        dev-lang/perl
+       >=dev-util/cmake-3.16
        sys-devel/gnuconfig
        kernel_Darwin? (
                <sys-libs/libcxx-$(ver_cut 1-3).9999
@@ -362,6 +363,8 @@ multilib_src_configure() {
                # used only for llvm-objdump tool
                -DHAVE_LIBXAR=$(multilib_native_usex xar 1 0)
 
+               -DPython3_EXECUTABLE="${PYTHON}"
+
                # disable OCaml bindings (now in dev-ml/llvm-ocaml)
                -DOCAMLFIND=NO
        )

diff --git a/sys-devel/llvm/llvm-11.0.0.ebuild 
b/sys-devel/llvm/llvm-11.0.0.ebuild
index a1a38d4cbd2..1a9eb3f6406 100644
--- a/sys-devel/llvm/llvm-11.0.0.ebuild
+++ b/sys-devel/llvm/llvm-11.0.0.ebuild
@@ -53,6 +53,7 @@ DEPEND="${RDEPEND}
        gold? ( sys-libs/binutils-libs )"
 BDEPEND="
        dev-lang/perl
+       >=dev-util/cmake-3.16
        sys-devel/gnuconfig
        kernel_Darwin? (
                <sys-libs/libcxx-$(ver_cut 1-3).9999
@@ -362,6 +363,8 @@ multilib_src_configure() {
                # used only for llvm-objdump tool
                -DHAVE_LIBXAR=$(multilib_native_usex xar 1 0)
 
+               -DPython3_EXECUTABLE="${PYTHON}"
+
                # disable OCaml bindings (now in dev-ml/llvm-ocaml)
                -DOCAMLFIND=NO
        )

diff --git a/sys-devel/llvm/llvm-12.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-12.0.0.9999.ebuild
index 9f6248bfa03..9c432a044b6 100644
--- a/sys-devel/llvm/llvm-12.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-12.0.0.9999.ebuild
@@ -53,6 +53,7 @@ DEPEND="${RDEPEND}
        gold? ( sys-libs/binutils-libs )"
 BDEPEND="
        dev-lang/perl
+       >=dev-util/cmake-3.16
        sys-devel/gnuconfig
        kernel_Darwin? (
                <sys-libs/libcxx-$(ver_cut 1-3).9999
@@ -363,6 +364,8 @@ multilib_src_configure() {
                # used only for llvm-objdump tool
                -DHAVE_LIBXAR=$(multilib_native_usex xar 1 0)
 
+               -DPython3_EXECUTABLE="${PYTHON}"
+
                # disable OCaml bindings (now in dev-ml/llvm-ocaml)
                -DOCAMLFIND=NO
        )

Reply via email to