diff options
author | David Seifert <soap@gentoo.org> | 2017-10-15 20:16:14 -0700 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-10-15 20:16:14 -0700 |
commit | dc1a919a5fbdfdcd44bbd968d951d52792292a72 (patch) | |
tree | 3778afd725a46b85b93620d2130801d7271f428c /sys-devel | |
parent | sys-apps/razercfg: [QA] Add cmake-utils_src_prepare (diff) | |
download | gentoo-dc1a919a5fbdfdcd44bbd968d951d52792292a72.tar.gz gentoo-dc1a919a5fbdfdcd44bbd968d951d52792292a72.tar.bz2 gentoo-dc1a919a5fbdfdcd44bbd968d951d52792292a72.zip |
sys-devel/clang: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/clang/clang-4.0.1.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/clang/clang-5.0.0.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/clang/clang-5.0.9999.ebuild | 13 |
3 files changed, 7 insertions, 10 deletions
diff --git a/sys-devel/clang/clang-4.0.1.ebuild b/sys-devel/clang/clang-4.0.1.ebuild index 00c6e7371aec..1c7814d237e0 100644 --- a/sys-devel/clang/clang-4.0.1.ebuild +++ b/sys-devel/clang/clang-4.0.1.ebuild @@ -106,7 +106,7 @@ src_prepare() { cd - >/dev/null || die # User patches - eapply_user + cmake-utils_src_prepare } multilib_src_configure() { diff --git a/sys-devel/clang/clang-5.0.0.ebuild b/sys-devel/clang/clang-5.0.0.ebuild index 9761120460e1..966aaf7df53d 100644 --- a/sys-devel/clang/clang-5.0.0.ebuild +++ b/sys-devel/clang/clang-5.0.0.ebuild @@ -101,7 +101,7 @@ src_prepare() { cd - >/dev/null || die # User patches - eapply_user + cmake-utils_src_prepare } multilib_src_configure() { diff --git a/sys-devel/clang/clang-5.0.9999.ebuild b/sys-devel/clang/clang-5.0.9999.ebuild index 82f086b4918b..b8bfe4b8916a 100644 --- a/sys-devel/clang/clang-5.0.9999.ebuild +++ b/sys-devel/clang/clang-5.0.9999.ebuild @@ -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}") |