Lines 5-10
Link Here
|
5 |
|
5 |
|
6 |
CMAKE_ECLASS=cmake |
6 |
CMAKE_ECLASS=cmake |
7 |
PYTHON_COMPAT=( python3_{6..9} ) |
7 |
PYTHON_COMPAT=( python3_{6..9} ) |
|
|
8 |
# prefix change might need flag-o-matic |
8 |
inherit cmake-multilib llvm llvm.org python-any-r1 toolchain-funcs |
9 |
inherit cmake-multilib llvm llvm.org python-any-r1 toolchain-funcs |
9 |
|
10 |
|
10 |
DESCRIPTION="Low level support for a standard C++ library" |
11 |
DESCRIPTION="Low level support for a standard C++ library" |
Lines 16-22
Link Here
|
16 |
|
17 |
|
17 |
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
18 |
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
18 |
SLOT="0" |
19 |
SLOT="0" |
19 |
KEYWORDS="amd64 arm arm64 x86" |
20 |
KEYWORDS="amd64 arm arm64 x86 ~x64-macos" |
20 |
IUSE="+libunwind +static-libs test elibc_musl" |
21 |
IUSE="+libunwind +static-libs test elibc_musl" |
21 |
RESTRICT="!test? ( test )" |
22 |
RESTRICT="!test? ( test )" |
22 |
|
23 |
|
Lines 77-82
Link Here
|
77 |
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}" |
78 |
-DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}" |
78 |
) |
79 |
) |
79 |
fi |
80 |
fi |
|
|
81 |
|
82 |
# prefix change needed? |
83 |
# make sure we build multilib on OSX, because llvm insists on |
84 |
# building multilib too |
85 |
#if [[ ${CHOST} == *86*-darwin* ]] ; then |
86 |
# append-flags -arch i386 -arch x86_64 |
87 |
# append-cxxflags -std=c++11 |
88 |
# local mycmakeargs+=( |
89 |
# # disable test for libstdc++ leaking in from LLVM cmake module - |
90 |
# # apart from libcxx headers, libcxxabi is self-contained |
91 |
# -DLLVM_ENABLE_LIBCXX=ON |
92 |
# ) |
93 |
#fi |
94 |
|
80 |
cmake_src_configure |
95 |
cmake_src_configure |
81 |
} |
96 |
} |
82 |
|
97 |
|