summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-12 22:57:01 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-12 23:04:04 +0100
commit8e909ad711669ceaadfb4a228fd71dedc83c4cac (patch)
treefb89e61476276345df7c13dc343f0eff4da3509b /sys-devel
parentdev-util/gtk-update-icon-cache: bump to 3.24.30 (diff)
downloadgentoo-8e909ad711669ceaadfb4a228fd71dedc83c4cac.tar.gz
gentoo-8e909ad711669ceaadfb4a228fd71dedc83c4cac.tar.bz2
gentoo-8e909ad711669ceaadfb4a228fd71dedc83c4cac.zip
sys-devel/clang: Pass LLVM_EXTERNAL_LIT in 14.x to fix tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/clang/clang-14.0.0.9999.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-14.0.0.9999.ebuild b/sys-devel/clang/clang-14.0.0.9999.ebuild
index 0a01ce5254cf..26a32f2542ff 100644
--- a/sys-devel/clang/clang-14.0.0.9999.ebuild
+++ b/sys-devel/clang/clang-14.0.0.9999.ebuild
@@ -262,6 +262,7 @@ multilib_src_configure() {
)
use test && mycmakeargs+=(
-DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
+ -DLLVM_EXTERNAL_LIT="${BUILD_DIR}/bin/llvm-lit"
-DLLVM_LIT_ARGS="$(get_lit_flags)"
)