diff options
-rw-r--r-- | sys-libs/compiler-rt-sanitizers/Manifest | 2 | ||||
-rw-r--r-- | sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.0_rc1.ebuild | 25 |
2 files changed, 10 insertions, 17 deletions
diff --git a/sys-libs/compiler-rt-sanitizers/Manifest b/sys-libs/compiler-rt-sanitizers/Manifest new file mode 100644 index 000000000000..0a420b8ea262 --- /dev/null +++ b/sys-libs/compiler-rt-sanitizers/Manifest @@ -0,0 +1,2 @@ +DIST compiler-rt-4.0.0rc1.src.tar.xz 1434780 SHA256 33bb73be0a81aff19fc220559bdc921472cb309ac710c1082fdc42a732e66a6f SHA512 15dccba145ef76325b838f362d4ee64cc805d34604be4ce8e6003c45f68c1d44f999775f399fc458a4533d1bf0a9b05512ed965cc1adb55dd5c5b9ee91fb7fc0 WHIRLPOOL 509499299484599d714449260f75e26f884b6604605762c8c7b98b8c7e80ea93db840ba64513fe3e6e65d0c59bfe02e13f4fe49a32448c4749485d51f7680e27 +DIST llvm-4.0.0rc1.src.tar.xz 20996760 SHA256 ccbff3a7af78efc12b5b7f749d184b4c8caf75621af4e05f640cbfa9f80f8604 SHA512 10b6fee561b9307490d5f20ce70b7e0099bd405e56c8330be9aa04673f39dbd712833e357a577a5106819336a1957dd73d288bbdd35286d56305d14d237dfd3d WHIRLPOOL 8559852df5d036a4d86a4555bcbeaab6bbb3b5e9cad9daa8c0f5e934e4fb7235bc05df55e09d38eb4d90832036d8b9f5b1ff8108e7d5ea01c86b00eecc0a3d13 diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.0_rc1.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.0_rc1.ebuild index 36f9c15e2bbf..e80334139e90 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.0_rc1.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.0_rc1.ebuild @@ -9,19 +9,16 @@ EAPI=6 CMAKE_MIN_VERSION=3.7.0-r1 PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils flag-o-matic git-r3 python-any-r1 +inherit cmake-utils flag-o-matic python-any-r1 DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)" HOMEPAGE="http://llvm.org/" -SRC_URI="" -EGIT_REPO_URI="http://llvm.org/git/compiler-rt.git - https://github.com/llvm-mirror/compiler-rt.git" -EGIT_BRANCH="release_40" -EGIT_COMMIT="850646edf7e605354c66693c16ab69193e04a078" +SRC_URI="http://www.llvm.org/pre-releases/${PV/_//}/compiler-rt-${PV/_/}.src.tar.xz + test? ( http://www.llvm.org/pre-releases/${PV/_//}/llvm-${PV/_/}.src.tar.xz )" LICENSE="|| ( UoI-NCSA MIT )" SLOT="0/${PV%.*}" -KEYWORDS="" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="test" RDEPEND="!<sys-devel/llvm-${PV}" @@ -37,23 +34,17 @@ DEPEND="${RDEPEND} REQUIRED_USE="${PYTHON_REQUIRED_USE}" +S=${WORKDIR}/compiler-rt-${PV/_/}.src + # least intrusive of all CMAKE_BUILD_TYPE=RelWithDebInfo src_unpack() { - if use test; then - # needed for patched gtest - git-r3_fetch "http://llvm.org/git/llvm.git - https://github.com/llvm-mirror/llvm.git" \ - c329efbc3c94928fb826ed146897aada0459c983 - fi - git-r3_fetch + default if use test; then - git-r3_checkout http://llvm.org/git/llvm.git \ - "${WORKDIR}"/llvm + mv llvm-* llvm || die fi - git-r3_checkout } src_configure() { |