summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-09-30 23:44:01 +0200
committerMichał Górny <mgorny@gentoo.org>2017-10-01 11:02:42 +0200
commitd852e4014f35b66960856961300790e2f37cc9ef (patch)
treebbad6fdf62fb203ea6bb9e813db008b0988ef6fc /sys-libs/libomp
parentsys-libs/libcxx: Remove obsolete LLVM_MAIN_SRCDIR hack (diff)
downloadgentoo-d852e4014f35b66960856961300790e2f37cc9ef.tar.gz
gentoo-d852e4014f35b66960856961300790e2f37cc9ef.tar.bz2
gentoo-d852e4014f35b66960856961300790e2f37cc9ef.zip
sys-libs/libomp: Fix using external lit
Diffstat (limited to 'sys-libs/libomp')
-rw-r--r--sys-libs/libomp/libomp-9999.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-libs/libomp/libomp-9999.ebuild b/sys-libs/libomp/libomp-9999.ebuild
index b6c2cea8aa34..3fd5799735bc 100644
--- a/sys-libs/libomp/libomp-9999.ebuild
+++ b/sys-libs/libomp/libomp-9999.ebuild
@@ -62,6 +62,9 @@ multilib_src_configure() {
-DLIBOMP_COPY_EXPORTS=OFF
-DLIBOMP_TEST_COMPILER="$(type -P "${CHOST}-clang")"
)
+ use test && mycmakeargs+=(
+ -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+ )
cmake-utils_src_configure
}