diff options
Diffstat (limited to 'sys-devel/clang/clang-10.0.1_rc1.ebuild')
-rw-r--r-- | sys-devel/clang/clang-10.0.1_rc1.ebuild | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sys-devel/clang/clang-10.0.1_rc1.ebuild b/sys-devel/clang/clang-10.0.1_rc1.ebuild index bc6d83f42a8d..db3798d217bd 100644 --- a/sys-devel/clang/clang-10.0.1_rc1.ebuild +++ b/sys-devel/clang/clang-10.0.1_rc1.ebuild @@ -4,8 +4,8 @@ EAPI=7 PYTHON_COMPAT=( python3_{6..9} ) -inherit cmake llvm llvm.org multilib-minimal multiprocessing \ - pax-utils python-single-r1 toolchain-funcs +inherit cmake llvm llvm.org multilib-minimal pax-utils \ + python-single-r1 toolchain-funcs DESCRIPTION="C language family frontend for LLVM" HOMEPAGE="https://llvm.org/" @@ -55,9 +55,6 @@ PDEPEND=" default-compiler-rt? ( =sys-libs/compiler-rt-${PV%_*}* ) default-libcxx? ( >=sys-libs/libcxx-${PV} )" -# least intrusive of all -CMAKE_BUILD_TYPE=RelWithDebInfo - # Multilib notes: # 1. ABI_* flags control ABIs libclang* is built for only. # 2. clang is always capable of compiling code for all ABIs for enabled @@ -85,10 +82,7 @@ src_prepare() { mkdir -p x/y || die BUILD_DIR=${WORKDIR}/x/y/clang - # cmake eclasses suck by forcing ${S} here - CMAKE_USE_DIR=${S} \ - S=${WORKDIR} \ - cmake_src_prepare + llvm.org_src_prepare mv ../clang-tools-extra tools/extra || die } @@ -259,7 +253,7 @@ multilib_src_configure() { ) use test && mycmakeargs+=( -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" - -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" + -DLLVM_LIT_ARGS="$(get_lit_flags)" ) if multilib_is_native_abi; then |