mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
sys-devel/clang: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
@@ -106,7 +106,7 @@ src_prepare() {
|
||||
cd - >/dev/null || die
|
||||
|
||||
# User patches
|
||||
eapply_user
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
|
||||
@@ -101,7 +101,7 @@ src_prepare() {
|
||||
cd - >/dev/null || die
|
||||
|
||||
# User patches
|
||||
eapply_user
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
|
||||
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user