diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2020-10-14 00:00:00 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-10-14 23:14:20 +0200 |
commit | df0613ed75adfccca7543a7bc32f737265f9c6b4 (patch) | |
tree | 950de3ca2b420ec9dae4bcec56c2f47dd0d0511e /sys-devel | |
parent | sys-devel/clang: Set used Python interpreter. (diff) | |
download | gentoo-df0613ed75adfccca7543a7bc32f737265f9c6b4.tar.gz gentoo-df0613ed75adfccca7543a7bc32f737265f9c6b4.tar.bz2 gentoo-df0613ed75adfccca7543a7bc32f737265f9c6b4.zip |
sys-devel/lld: 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-devel')
-rw-r--r-- | sys-devel/lld/lld-11.0.0.9999.ebuild | 6 | ||||
-rw-r--r-- | sys-devel/lld/lld-11.0.0.ebuild | 6 | ||||
-rw-r--r-- | sys-devel/lld/lld-12.0.0.9999.ebuild | 6 |
3 files changed, 15 insertions, 3 deletions
diff --git a/sys-devel/lld/lld-11.0.0.9999.ebuild b/sys-devel/lld/lld-11.0.0.9999.ebuild index 7b627c88cf1b..05be08d3d096 100644 --- a/sys-devel/lld/lld-11.0.0.9999.ebuild +++ b/sys-devel/lld/lld-11.0.0.9999.ebuild @@ -20,7 +20,10 @@ RESTRICT="!test? ( test )" RDEPEND="~sys-devel/llvm-${PV}" DEPEND="${RDEPEND}" -BDEPEND="test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )" +BDEPEND="test? ( + >=dev-util/cmake-3.16 + $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") + )" python_check_deps() { has_version -b "dev-python/lit[${PYTHON_USEDEP}]" @@ -42,6 +45,7 @@ src_configure() { -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" -DLLVM_LIT_ARGS="$(get_lit_flags)" + -DPython3_EXECUTABLE="${PYTHON}" ) cmake_src_configure diff --git a/sys-devel/lld/lld-11.0.0.ebuild b/sys-devel/lld/lld-11.0.0.ebuild index b3630044f699..5ded9afe3af4 100644 --- a/sys-devel/lld/lld-11.0.0.ebuild +++ b/sys-devel/lld/lld-11.0.0.ebuild @@ -20,7 +20,10 @@ RESTRICT="!test? ( test )" RDEPEND="~sys-devel/llvm-${PV}" DEPEND="${RDEPEND}" -BDEPEND="test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )" +BDEPEND="test? ( + >=dev-util/cmake-3.16 + $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") + )" python_check_deps() { has_version -b "dev-python/lit[${PYTHON_USEDEP}]" @@ -42,6 +45,7 @@ src_configure() { -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" -DLLVM_LIT_ARGS="$(get_lit_flags)" + -DPython3_EXECUTABLE="${PYTHON}" ) cmake_src_configure diff --git a/sys-devel/lld/lld-12.0.0.9999.ebuild b/sys-devel/lld/lld-12.0.0.9999.ebuild index 88c1fe13f11f..61159e289d5a 100644 --- a/sys-devel/lld/lld-12.0.0.9999.ebuild +++ b/sys-devel/lld/lld-12.0.0.9999.ebuild @@ -20,7 +20,10 @@ RESTRICT="!test? ( test )" RDEPEND="~sys-devel/llvm-${PV}" DEPEND="${RDEPEND}" -BDEPEND="test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )" +BDEPEND="test? ( + >=dev-util/cmake-3.16 + $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") + )" python_check_deps() { has_version -b "dev-python/lit[${PYTHON_USEDEP}]" @@ -53,6 +56,7 @@ src_configure() { -DLLVM_BUILD_TESTS=ON -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" -DLLVM_LIT_ARGS="$(get_lit_flags)" + -DPython3_EXECUTABLE="${PYTHON}" ) cmake_src_configure |