summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-09-20 20:21:18 +0200
committerMichał Górny <mgorny@gentoo.org>2018-09-20 20:26:26 +0200
commitafec44aa8765ddf8bf66aa82699be0f8b19bd05f (patch)
tree81e32ed7b813918ae4264257fd2890e97ac204f3 /sys-devel/llvm/llvm-9999.ebuild
parentdev-util/android-ndk: bump 18 (diff)
downloadgentoo-afec44aa8765ddf8bf66aa82699be0f8b19bd05f.tar.gz
gentoo-afec44aa8765ddf8bf66aa82699be0f8b19bd05f.tar.bz2
gentoo-afec44aa8765ddf8bf66aa82699be0f8b19bd05f.zip
sys-devel/llvm: Add flag to control libfpm dep for exegesis
Bug: https://bugs.gentoo.org/666617 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel/llvm/llvm-9999.ebuild')
-rw-r--r--sys-devel/llvm/llvm-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild
index 196984744a54..014336a4f3eb 100644
--- a/sys-devel/llvm/llvm-9999.ebuild
+++ b/sys-devel/llvm/llvm-9999.ebuild
@@ -37,12 +37,13 @@ LICENSE="UoI-NCSA rc BSD public-domain
llvm_targets_ARM? ( LLVM-Grant )"
SLOT="8"
KEYWORDS=""
-IUSE="debug doc gold libedit +libffi ncurses test xar xml
+IUSE="debug doc exegesis gold libedit +libffi ncurses test xar xml
kernel_Darwin ${ALL_LLVM_TARGETS[*]}"
RESTRICT="!test? ( test )"
RDEPEND="
sys-libs/zlib:0=
+ exegesis? ( dev-libs/libpfm:= )
gold? ( >=sys-devel/binutils-2.22:*[cxx] )
libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] )
libffi? ( >=virtual/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] )
@@ -139,6 +140,7 @@ multilib_src_configure() {
-DLLVM_ENABLE_TERMINFO=$(usex ncurses)
-DLLVM_ENABLE_LIBXML2=$(usex xml)
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
+ -DLLVM_ENABLE_LIBPFM=$(usex exegesis)
-DLLVM_ENABLE_EH=ON
-DLLVM_ENABLE_RTTI=ON