commit:     79e35e6dd5867e42d2ca0705794fff65d8745ec7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 23 06:35:59 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 23 10:00:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79e35e6d

sys-devel/llvm: Build only distribution targets in src_compile()

Build only distribution targets rather than everything.  Most
importantly, this fixes the build failure due to trying to build HTML
docs when sphinx is available but recommonmark is not.  As a side
result, this may prevent some unnecessary targets from being built
and delay some others into src_test().

Closes: https://bugs.gentoo.org/730268
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/llvm/llvm-11.0.0.9999.ebuild | 2 +-
 sys-devel/llvm/llvm-12.0.0.9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/llvm/llvm-11.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-11.0.0.9999.ebuild
index d0bcbd3665f..6ee898821d6 100644
--- a/sys-devel/llvm/llvm-11.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-11.0.0.9999.ebuild
@@ -435,7 +435,7 @@ multilib_src_configure() {
 }
 
 multilib_src_compile() {
-       cmake_src_compile
+       cmake_build distribution
 
        pax-mark m "${BUILD_DIR}"/bin/llvm-rtdyld
        pax-mark m "${BUILD_DIR}"/bin/lli

diff --git a/sys-devel/llvm/llvm-12.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-12.0.0.9999.ebuild
index d0bcbd3665f..6ee898821d6 100644
--- a/sys-devel/llvm/llvm-12.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-12.0.0.9999.ebuild
@@ -435,7 +435,7 @@ multilib_src_configure() {
 }
 
 multilib_src_compile() {
-       cmake_src_compile
+       cmake_build distribution
 
        pax-mark m "${BUILD_DIR}"/bin/llvm-rtdyld
        pax-mark m "${BUILD_DIR}"/bin/lli

Reply via email to