sys-devel/clang: [QA] Add cmake-utils_src_prepare

Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
David Seifert
2017-10-15 20:16:14 -07:00
parent 7338001732
commit dc1a919a5f
3 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ src_prepare() {
cd - >/dev/null || die
# User patches
eapply_user
cmake-utils_src_prepare
}
multilib_src_configure() {
+1 -1
View File
@@ -101,7 +101,7 @@ src_prepare() {
cd - >/dev/null || die
# User patches
eapply_user
cmake-utils_src_prepare
}
multilib_src_configure() {
+5 -8
View File
@@ -62,6 +62,11 @@ S=${WORKDIR}/x/y/${P}
# least intrusive of all
CMAKE_BUILD_TYPE=RelWithDebInfo
PATCHES=(
# fix finding compiler-rt libs
"${FILESDIR}"/5.0.0/0001-Driver-Use-arch-type-to-find-compiler-rt-libraries-o.patch
)
# 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
@@ -101,14 +106,6 @@ src_unpack() {
git-r3_checkout "${EGIT_REPO_URI}" "${S}"
}
src_prepare() {
# fix finding compiler-rt libs
eapply "${FILESDIR}"/5.0.0/0001-Driver-Use-arch-type-to-find-compiler-rt-libraries-o.patch
# User patches
eapply_user
}
multilib_src_configure() {
local llvm_version=$(llvm-config --version) || die
local clang_version=$(ver_cut 1-3 "${llvm_version}")