Lines 9-30
inherit cmake-multilib llvm llvm.org python-any-r1 toolchain-funcs
Link Here
|
9 |
|
9 |
|
10 |
DESCRIPTION="Low level support for a standard C++ library" |
10 |
DESCRIPTION="Low level support for a standard C++ library" |
11 |
HOMEPAGE="https://libcxxabi.llvm.org/" |
11 |
HOMEPAGE="https://libcxxabi.llvm.org/" |
12 |
# libcxx is needed uncondtionally for the headers |
12 |
# libcxx is needed unconditionally for the headers |
13 |
LLVM_COMPONENTS=( libcxx{abi,} ) |
13 |
LLVM_COMPONENTS=( libcxx{abi,} ) |
14 |
llvm.org_set_globals |
14 |
llvm.org_set_globals |
15 |
|
15 |
|
16 |
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
16 |
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
17 |
SLOT="0" |
17 |
SLOT="0" |
18 |
KEYWORDS="amd64 arm arm64 x86" |
18 |
KEYWORDS="amd64 arm arm64 x86" |
19 |
IUSE="+libunwind static-libs test elibc_musl" |
19 |
IUSE="+libunwind llvm-libunwind static-libs test elibc_musl" |
20 |
RESTRICT="!test? ( test )" |
20 |
RESTRICT="!test? ( test )" |
21 |
|
21 |
|
22 |
RDEPEND=" |
22 |
RDEPEND=" |
23 |
libunwind? ( |
23 |
libunwind? ( |
24 |
|| ( |
24 |
llvm-libunwind? ( sys-libs/llvm-libunwind:0=[static-libs?,${MULTILIB_USEDEP}] ) |
25 |
>=sys-libs/libunwind-1.0.1-r1[static-libs?,${MULTILIB_USEDEP}] |
25 |
!llvm-libunwind? ( sys-libs/libunwind:0=[static-libs?,${MULTILIB_USEDEP}] ) |
26 |
>=sys-libs/llvm-libunwind-3.9.0-r1[static-libs?,${MULTILIB_USEDEP}] |
|
|
27 |
) |
28 |
)" |
26 |
)" |
29 |
# llvm-6 for new lit options |
27 |
# llvm-6 for new lit options |
30 |
DEPEND="${RDEPEND} |
28 |
DEPEND="${RDEPEND} |