summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-08-03 22:43:45 +0200
committerMichał Górny <mgorny@gentoo.org>2021-08-03 22:43:45 +0200
commit916fce51ac3bfe73ff9a5ecb565c32a77e0c689a (patch)
tree91569bdc6e980e6979ce20c906b0b927a9dcdc25 /sys-libs
parentnet-analyzer/icinga2: 2.13.0 bump (diff)
downloadgentoo-916fce51ac3bfe73ff9a5ecb565c32a77e0c689a.tar.gz
gentoo-916fce51ac3bfe73ff9a5ecb565c32a77e0c689a.tar.bz2
gentoo-916fce51ac3bfe73ff9a5ecb565c32a77e0c689a.zip
sys-libs/libcxx: Fix running tests against shared libc++abi in 13+
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libcxx/libcxx-13.0.0.9999.ebuild1
-rw-r--r--sys-libs/libcxx/libcxx-13.0.0_rc1.ebuild1
-rw-r--r--sys-libs/libcxx/libcxx-14.0.0.9999.ebuild1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys-libs/libcxx/libcxx-13.0.0.9999.ebuild b/sys-libs/libcxx/libcxx-13.0.0.9999.ebuild
index 9a04f2fb7cbe..5dca7551438c 100644
--- a/sys-libs/libcxx/libcxx-13.0.0.9999.ebuild
+++ b/sys-libs/libcxx/libcxx-13.0.0.9999.ebuild
@@ -142,6 +142,7 @@ multilib_src_configure() {
mycmakeargs+=(
-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
+ -DLIBCXX_LINK_TESTS_WITH_SHARED_LIBCXXABI=ON
-DPython3_EXECUTABLE="${PYTHON}"
)
fi
diff --git a/sys-libs/libcxx/libcxx-13.0.0_rc1.ebuild b/sys-libs/libcxx/libcxx-13.0.0_rc1.ebuild
index 9a04f2fb7cbe..5dca7551438c 100644
--- a/sys-libs/libcxx/libcxx-13.0.0_rc1.ebuild
+++ b/sys-libs/libcxx/libcxx-13.0.0_rc1.ebuild
@@ -142,6 +142,7 @@ multilib_src_configure() {
mycmakeargs+=(
-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
+ -DLIBCXX_LINK_TESTS_WITH_SHARED_LIBCXXABI=ON
-DPython3_EXECUTABLE="${PYTHON}"
)
fi
diff --git a/sys-libs/libcxx/libcxx-14.0.0.9999.ebuild b/sys-libs/libcxx/libcxx-14.0.0.9999.ebuild
index 9a04f2fb7cbe..5dca7551438c 100644
--- a/sys-libs/libcxx/libcxx-14.0.0.9999.ebuild
+++ b/sys-libs/libcxx/libcxx-14.0.0.9999.ebuild
@@ -142,6 +142,7 @@ multilib_src_configure() {
mycmakeargs+=(
-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
+ -DLIBCXX_LINK_TESTS_WITH_SHARED_LIBCXXABI=ON
-DPython3_EXECUTABLE="${PYTHON}"
)
fi