diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-01-24 19:01:07 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-01-24 20:07:52 +0100 |
commit | 4543eb77267311f0767ccfa26b6b2c5fe346a806 (patch) | |
tree | 270484114c5072e976db6ce0e29f269c6d0d65fd /sys-devel | |
parent | dev-ml/llvm-ocaml: Switch 4.0.0rc1 to tarballs, add keywords (diff) | |
download | gentoo-4543eb77267311f0767ccfa26b6b2c5fe346a806.tar.gz gentoo-4543eb77267311f0767ccfa26b6b2c5fe346a806.tar.bz2 gentoo-4543eb77267311f0767ccfa26b6b2c5fe346a806.zip |
sys-devel/clang: Switch 4.0.0rc1 to tarballs, add keywords
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/clang/Manifest | 3 | ||||
-rw-r--r-- | sys-devel/clang/clang-4.0.0_rc1.ebuild | 32 |
2 files changed, 13 insertions, 22 deletions
diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest new file mode 100644 index 000000000000..09f1cad317db --- /dev/null +++ b/sys-devel/clang/Manifest @@ -0,0 +1,3 @@ +DIST cfe-4.0.0rc1.src.tar.xz 10896792 SHA256 e1bf51a2df20b4b5eee59e443b4791c59fd1b60d637cd0706326edb25494c945 SHA512 51a4eae186c64fce71221d443364a1ecde3660d0ef8c5c066a154ac9fbe2de557a0b33c72d7eeefc2c992482ed8da823e66acc162e1961e96452c92638b4ede7 WHIRLPOOL 98dd37c07018d22c77bdfe2f4e521af5e46936731bce98575e28e402b8bdfae4e2af0c278e888d1a244c73bee9e0cfc00ec4d03bcc398354fbe7cd8722ecc717 +DIST clang-tools-extra-4.0.0rc1.src.tar.xz 583332 SHA256 bae008752067783fc5daba881490511ed0937c688cb6a320434b5b9efd78d12c SHA512 5b246eb2338733e0bf2695e6e4766dda6c280e983feeb3a321e71215abb3ba1a31c64df861ee8d1344e43e6c3c02823d99e0ec3fd17cb270b289d07d74a13620 WHIRLPOOL 92838bd8b7db646c4237d5f1d5768856813088b2d37b7756c53e1e91466fd78e345e1586e0dee61771d10ae43d12f864e48c93be761aae82e96d923e0d54ecad +DIST llvm-4.0.0rc1.src.tar.xz 20996760 SHA256 ccbff3a7af78efc12b5b7f749d184b4c8caf75621af4e05f640cbfa9f80f8604 SHA512 10b6fee561b9307490d5f20ce70b7e0099bd405e56c8330be9aa04673f39dbd712833e357a577a5106819336a1957dd73d288bbdd35286d56305d14d237dfd3d WHIRLPOOL 8559852df5d036a4d86a4555bcbeaab6bbb3b5e9cad9daa8c0f5e934e4fb7235bc05df55e09d38eb4d90832036d8b9f5b1ff8108e7d5ea01c86b00eecc0a3d13 diff --git a/sys-devel/clang/clang-4.0.0_rc1.ebuild b/sys-devel/clang/clang-4.0.0_rc1.ebuild index 2dbae1fe44d4..7ff007690fb6 100644 --- a/sys-devel/clang/clang-4.0.0_rc1.ebuild +++ b/sys-devel/clang/clang-4.0.0_rc1.ebuild @@ -9,16 +9,14 @@ EAPI=6 CMAKE_MIN_VERSION=3.7.0-r1 PYTHON_COMPAT=( python2_7 ) -inherit check-reqs cmake-utils flag-o-matic git-r3 multilib-minimal \ +inherit check-reqs cmake-utils flag-o-matic multilib-minimal \ python-single-r1 toolchain-funcs pax-utils versionator DESCRIPTION="C language family frontend for LLVM" HOMEPAGE="http://llvm.org/" -SRC_URI="" -EGIT_REPO_URI="http://llvm.org/git/clang.git - https://github.com/llvm-mirror/clang.git" -EGIT_BRANCH="release_40" -EGIT_COMMIT="3a631d565d41270fa80cb3d1e43a50d24cfc2f20" +SRC_URI="http://www.llvm.org/pre-releases/${PV/_//}/cfe-${PV/_/}.src.tar.xz + http://www.llvm.org/pre-releases/${PV/_//}/clang-tools-extra-${PV/_/}.src.tar.xz + test? ( http://www.llvm.org/pre-releases/${PV/_//}/llvm-${PV/_/}.src.tar.xz )" # Keep in sync with sys-devel/llvm ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 @@ -28,7 +26,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} LICENSE="UoI-NCSA" SLOT="0/$(get_major_version)" -KEYWORDS="" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="debug default-compiler-rt default-libcxx +doc multitarget python +static-analyzer test xml elibc_musl kernel_FreeBSD ${ALL_LLVM_TARGETS[*]}" @@ -54,6 +52,8 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} || ( ${ALL_LLVM_TARGETS[*]} ) multitarget? ( ${ALL_LLVM_TARGETS[*]} )" +S=${WORKDIR}/cfe-${PV/_/}.src + # least intrusive of all CMAKE_BUILD_TYPE=RelWithDebInfo @@ -104,24 +104,12 @@ pkg_setup() { } src_unpack() { - git-r3_fetch "http://llvm.org/git/clang-tools-extra.git - https://github.com/llvm-mirror/clang-tools-extra.git" \ - fc0afbd6e7055b4d7f39998d743585683033c2d4 - 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 - git-r3_checkout http://llvm.org/git/clang-tools-extra.git \ - "${S}"/tools/clang/tools/extra + mv clang-tools-extra-* "${S}"/tools/clang-tools-extra || die if use test; then - git-r3_checkout http://llvm.org/git/llvm.git \ - "${WORKDIR}"/llvm + mv llvm-* llvm || die fi - git-r3_checkout } src_prepare() { |