summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-07-21 11:16:49 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-07-21 11:16:49 +0900
commit3ade69a6839135a6e0eb0ab52e3acb2c4ed0ba6a (patch)
treedac77f211d1be7407b8cf852873517d610b4c50e
parenttoolchain.eclass: a couple of ED fixes. (diff)
downloadheroxbd-3ade69a6839135a6e0eb0ab52e3acb2c4ed0ba6a.tar.gz
heroxbd-3ade69a6839135a6e0eb0ab52e3acb2c4ed0ba6a.tar.bz2
heroxbd-3ade69a6839135a6e0eb0ab52e3acb2c4ed0ba6a.zip
sys-devel/llvm: bump to 3.8.0.
-rw-r--r--sys-devel/llvm/Manifest2
-rw-r--r--sys-devel/llvm/llvm-3.8.0-r3.ebuild14
2 files changed, 11 insertions, 5 deletions
diff --git a/sys-devel/llvm/Manifest b/sys-devel/llvm/Manifest
index 9c3f328..3cd8fc6 100644
--- a/sys-devel/llvm/Manifest
+++ b/sys-devel/llvm/Manifest
@@ -83,5 +83,5 @@ DIST llvm-3.7.1.src.tar.xz 14592544 SHA256 be7794ed0cec42d6c682ca8e3517535b54555
DIST llvm-3.8.0-manpages.tar.bz2 37889 SHA256 4dda7f69f9412e0fb50d32631df34d6ea7f93c945c9a59cb050a99f1d2d0508b SHA512 a93ed7a25b75c237a0967ba7a501c71af3e7e9292ebabf69733bc637e9a4534dcaee539c6b1f6b2df7a87103c2371b1cf130fac05b88047100988c814e89ab0f WHIRLPOOL 9790a576fd4db798c2339bb4ea1dc973f1057177364770a104be7916998a1ad824e6b4eee296066ddd32eb5e6c57ffd5716457cecbd8ca9fe1b317d0d5ed2676
DIST llvm-3.8.0.src.tar.xz 16580932 SHA256 555b028e9ee0f6445ff8f949ea10e9cd8be0d084840e21fbbe1d31d51fc06e46 SHA512 2c76e79d803768ed20af6ca1801cf2518071bf9835c54580ea3eb6219a66cdcf8b4c575f192c15082cc18d2468b7611dacb57950b605813a2317125c2d33c138 WHIRLPOOL f7219f3324080f22158b08eb23b5b545d303090d0bb8cde6ee971da829dd52837832a127792b153006568e0c7c0163c1095d1e258600f4359df347148e965b94
EBUILD llvm-3.7.1-r1.ebuild 16167 SHA256 c7d895327deea82d9067a787823615bb3d4d169f938a68e0670caeae98f1ca7e SHA512 88bbcd62b02aa9a0039a94e28aa67980e62ce8f42d9e99627a3821a82ed9cd1bd7632bc28a2202473c91c051978fbc0cb5dbd107a7c5d520174e8483c2c58ca0 WHIRLPOOL 6bf31fc553129989eadb64dd391d1f60c023280bdc134bbd934d2a418827d677700b6ec847a41d61c85a5e58c9033558613351fd4c66baddab85e312acaebeac
-EBUILD llvm-3.8.0-r3.ebuild 15763 SHA256 492c4f96e6a0aa17a3be9d40c01a1df7445647d4d898c7447506bf782fa744e6 SHA512 a9651a1c38ee0c31e5beca63002b7b638af9c6c4fed31ff8a640c552d7a818180a0025ff994e66f94e4ce2e06f0235855549fde9b069b4c3273760a72eb8c05c WHIRLPOOL b165cb4bcf2f36ec138337b85c448862cdeab5067753148675a78e597dad0c5340072de2ced943c71ff3b2e4eb0e76c982e4185c51f17699ad3862302ec31ec9
+EBUILD llvm-3.8.0-r3.ebuild 15991 SHA256 2f5a430b28a7888bb0188673bc62a42134522db33e50e8755d3db7c1efe01235 SHA512 4e0de371fbee12b3ab37276ca671a76790897c9c188e64e5a90c16c97400e6093aeaf099116a07ab3ce0acdfc3321077ef85a9ba734910103961970343cde329 WHIRLPOOL 8c2b6d2739d4d59313b83dcdfd79531f50ae2b487bbd1c69bba4e4bebd1c07be8215e9d6fc85d20fa363cd7b53bfabad1326d1a086c020d7117d33d97d78413d
MISC metadata.xml 2785 SHA256 7329cb36d95ea94ccabceb9d228eb77cb3186e53b360dc27717393338d4147fc SHA512 3acac76248322ac92fae2a4cde7fa113b356f43bafabd5bd99d6937b4f9a39f74676de65c17cd8df634b65052a0777f6336aed598ccc1dd17a97a564096ae9d5 WHIRLPOOL 87d38e5091fc1ea70282a637864a268a928acb40b3b4c962cca543a48adf78ad035f391bba4099983fa1384854052966bcf1d839bdfa72c9081f876d5478c800
diff --git a/sys-devel/llvm/llvm-3.8.0-r3.ebuild b/sys-devel/llvm/llvm-3.8.0-r3.ebuild
index 98b01a8..428bf9e 100644
--- a/sys-devel/llvm/llvm-3.8.0-r3.ebuild
+++ b/sys-devel/llvm/llvm-3.8.0-r3.ebuild
@@ -7,7 +7,7 @@ EAPI=6
: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
PYTHON_COMPAT=( python2_7 )
-inherit check-reqs cmake-utils eutils flag-o-matic multilib \
+inherit check-reqs cmake-utils eutils flag-o-matic multilib linux-info \
multilib-minimal python-single-r1 toolchain-funcs pax-utils prefix
DESCRIPTION="Low Level Virtual Machine"
@@ -232,6 +232,13 @@ src_prepare() {
# User patches
eapply_user
+ if kernel_is -lt 2 6 32; then
+ # on RHEL5, linux/perf_event.h (needing kernel >=2.6.32) is not available.
+ # https://llvm.org/bugs/show_bug.cgi?id=17901
+ elog "Removing compiler-rt on <linux-2.6.32..."
+ rm -r projects/compiler-rt || die "Removing compiler-rt failed."
+ fi
+
# Native libdir is used to hold LLVMgold.so
NATIVE_LIBDIR=$(get_libdir)
}
@@ -276,6 +283,8 @@ multilib_src_configure() {
-DHAVE_HISTEDIT_H=$(usex libedit)
)
+ use prefix && mycmakeargs+=( -DDEFAULT_SYSROOT="${EPREFIX}" )
+
if use clang; then
mycmakeargs+=(
-DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex !xml)
@@ -518,9 +527,6 @@ multilib_src_install_all() {
popd >/dev/null || die
fi
- # AddressSanitizer symbolizer (currently separate)
- dobin "${S}"/projects/compiler-rt/lib/asan/scripts/asan_symbolize.py
-
popd >/dev/null || die
python_fix_shebang "${ED}"