From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mgorny:master commit in: sys-devel/llvm/
Date: Sun, 14 Jul 2013 21:18:45 +0000 (UTC) [thread overview]
Message-ID: <1373836720.b39a7c6cc27ebe00df71862cff962bab2c00712c.mgorny@gentoo> (raw)
commit: b39a7c6cc27ebe00df71862cff962bab2c00712c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 14 21:18:40 2013 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 14 21:18:40 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=b39a7c6c
Fix more of missing 'use clang'.
---
sys-devel/llvm/llvm-9999-r1.ebuild | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/sys-devel/llvm/llvm-9999-r1.ebuild b/sys-devel/llvm/llvm-9999-r1.ebuild
index 04924ea..c17f814 100644
--- a/sys-devel/llvm/llvm-9999-r1.ebuild
+++ b/sys-devel/llvm/llvm-9999-r1.ebuild
@@ -220,7 +220,7 @@ multilib_src_compile() {
# since libs-only omits clang dir
# and clang fails to sub-compile with libs-only.
emake "${mymakeopts[@]}" libs-only
- emake -C tools/clang "${mymakeopts[@]}"
+ use clang && emake -C tools/clang "${mymakeopts[@]}"
fi
if multilib_is_native_abi; then
@@ -245,14 +245,21 @@ multilib_src_compile() {
multilib_src_test() {
default
- emake -C tools/clang test
+ use clang && emake -C tools/clang test
}
-MULTILIB_WRAPPED_HEADERS=(
- /usr/include/llvm/Config/config.h
- /usr/include/llvm/Config/llvm-config.h
- /usr/include/clang/Config/config.h
-)
+src_install() {
+ local MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/llvm/Config/config.h
+ /usr/include/llvm/Config/llvm-config.h
+ )
+
+ use clang && MULTILIB_WRAPPED_HEADERS+=(
+ /usr/include/clang/Config/config.h
+ )
+
+ multilib-minimal_src_install
+}
multilib_src_install() {
local mymakeopts=(
@@ -272,7 +279,7 @@ multilib_src_install() {
# and clang install-libs doesn't install headers and stuff
# (we build it anyway, so install is not a problem)
emake "${mymakeopts[@]}" install-libs
- emake -C tools/clang "${mymakeopts[@]}" install
+ use clang && emake -C tools/clang "${mymakeopts[@]}" install
# Preserve ABI-variant of llvm-config,
# then drop all the executables since LLVM doesn't like to
next reply other threads:[~2013-07-14 21:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-14 21:18 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-07-20 10:28 [gentoo-commits] dev/mgorny:master commit in: sys-devel/llvm/ Michał Górny
2013-07-20 7:15 Michał Górny
2013-07-20 6:28 Michał Górny
2013-07-19 21:24 Michał Górny
2013-07-19 21:24 Michał Górny
2013-07-19 13:11 Michał Górny
2013-07-15 16:15 Michał Górny
2013-07-14 21:47 Michał Górny
2013-07-14 21:38 Michał Górny
2013-07-14 21:11 Michał Górny
2013-07-14 20:04 Michał Górny
2013-07-14 11:14 Michał Górny
2013-07-13 22:03 Michał Górny
2013-07-12 16:46 Michał Górny
2013-07-10 9:58 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1373836720.b39a7c6cc27ebe00df71862cff962bab2c00712c.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox