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:19 +0200 |
commit | 7131f6c1ae9eb01de9343aa025d90a48542d4f02 (patch) | |
tree | 6084e48df886009251b28dd5e3423d788d474311 /sys-devel/clang | |
parent | sys-devel/llvm: Set used Python interpreter. (diff) | |
download | gentoo-7131f6c1ae9eb01de9343aa025d90a48542d4f02.tar.gz gentoo-7131f6c1ae9eb01de9343aa025d90a48542d4f02.tar.bz2 gentoo-7131f6c1ae9eb01de9343aa025d90a48542d4f02.zip |
sys-devel/clang: 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/clang')
-rw-r--r-- | sys-devel/clang/clang-11.0.0.9999.ebuild | 3 | ||||
-rw-r--r-- | sys-devel/clang/clang-11.0.0.ebuild | 3 | ||||
-rw-r--r-- | sys-devel/clang/clang-12.0.0.9999.ebuild | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-11.0.0.9999.ebuild b/sys-devel/clang/clang-11.0.0.9999.ebuild index 8f5be4425a42..9a815d361637 100644 --- a/sys-devel/clang/clang-11.0.0.9999.ebuild +++ b/sys-devel/clang/clang-11.0.0.9999.ebuild @@ -45,6 +45,7 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND=" dev-python/sphinx + >=dev-util/cmake-3.16 xml? ( virtual/pkgconfig ) ${PYTHON_DEPS}" RDEPEND="${RDEPEND} @@ -246,6 +247,8 @@ multilib_src_configure() { -DCLANG_ENABLE_ARCMT=$(usex static-analyzer) -DCLANG_ENABLE_STATIC_ANALYZER=$(usex static-analyzer) + + -DPython3_EXECUTABLE="${PYTHON}" ) use test && mycmakeargs+=( -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" diff --git a/sys-devel/clang/clang-11.0.0.ebuild b/sys-devel/clang/clang-11.0.0.ebuild index 0dacfd8c5ead..ed86435d86ee 100644 --- a/sys-devel/clang/clang-11.0.0.ebuild +++ b/sys-devel/clang/clang-11.0.0.ebuild @@ -45,6 +45,7 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND=" dev-python/sphinx + >=dev-util/cmake-3.16 xml? ( virtual/pkgconfig ) ${PYTHON_DEPS}" RDEPEND="${RDEPEND} @@ -246,6 +247,8 @@ multilib_src_configure() { -DCLANG_ENABLE_ARCMT=$(usex static-analyzer) -DCLANG_ENABLE_STATIC_ANALYZER=$(usex static-analyzer) + + -DPython3_EXECUTABLE="${PYTHON}" ) use test && mycmakeargs+=( -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" diff --git a/sys-devel/clang/clang-12.0.0.9999.ebuild b/sys-devel/clang/clang-12.0.0.9999.ebuild index 1f2944a6e1d5..5d413abcc3ef 100644 --- a/sys-devel/clang/clang-12.0.0.9999.ebuild +++ b/sys-devel/clang/clang-12.0.0.9999.ebuild @@ -45,6 +45,7 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND=" dev-python/sphinx + >=dev-util/cmake-3.16 xml? ( virtual/pkgconfig ) ${PYTHON_DEPS}" RDEPEND="${RDEPEND} @@ -244,6 +245,8 @@ multilib_src_configure() { -DCLANG_ENABLE_ARCMT=$(usex static-analyzer) -DCLANG_ENABLE_STATIC_ANALYZER=$(usex static-analyzer) + + -DPython3_EXECUTABLE="${PYTHON}" ) use test && mycmakeargs+=( -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" |