diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-01-24 19:15:02 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-01-24 20:07:52 +0100 |
commit | 158f09aed25cd9cb613f4f59c887384a85eb8cfc (patch) | |
tree | 9a77eb47ae327c02f1e462875d2a6e0620d9d046 /sys-devel | |
parent | sys-devel/clang: Switch 4.0.0rc1 to tarballs, add keywords (diff) | |
download | gentoo-158f09aed25cd9cb613f4f59c887384a85eb8cfc.tar.gz gentoo-158f09aed25cd9cb613f4f59c887384a85eb8cfc.tar.bz2 gentoo-158f09aed25cd9cb613f4f59c887384a85eb8cfc.zip |
sys-devel/lld: Switch 4.0.0rc1 to tarballs, add keywords
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/lld/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/lld/lld-4.0.0_rc1.ebuild | 25 |
2 files changed, 10 insertions, 17 deletions
diff --git a/sys-devel/lld/Manifest b/sys-devel/lld/Manifest new file mode 100644 index 000000000000..a8ac350dad4e --- /dev/null +++ b/sys-devel/lld/Manifest @@ -0,0 +1,2 @@ +DIST lld-4.0.0rc1.src.tar.xz 590812 SHA256 75802fe88e3b2464031eaeebd260771b3fef951490d661573ff30543fe0eb3a2 SHA512 b1d2b3cb7c0531d568f3968aca91d02f46574dba5179180da0eba33fdeae8032665eb12788de116662ed294324cef892e23e4ee0c7dd70e803a3255514eddfe0 WHIRLPOOL 26093a687253f63be100c44fdd16bc8a54565981d08ec0b77a0ac060f30f5964e6f2f63a2e6f0fae85b1b40bf59302a22621605f09b7a030801448400e96ca0f +DIST llvm-4.0.0rc1.src.tar.xz 20996760 SHA256 ccbff3a7af78efc12b5b7f749d184b4c8caf75621af4e05f640cbfa9f80f8604 SHA512 10b6fee561b9307490d5f20ce70b7e0099bd405e56c8330be9aa04673f39dbd712833e357a577a5106819336a1957dd73d288bbdd35286d56305d14d237dfd3d WHIRLPOOL 8559852df5d036a4d86a4555bcbeaab6bbb3b5e9cad9daa8c0f5e934e4fb7235bc05df55e09d38eb4d90832036d8b9f5b1ff8108e7d5ea01c86b00eecc0a3d13 diff --git a/sys-devel/lld/lld-4.0.0_rc1.ebuild b/sys-devel/lld/lld-4.0.0_rc1.ebuild index 55f46e1aa601..3e6dfc9abbe8 100644 --- a/sys-devel/lld/lld-4.0.0_rc1.ebuild +++ b/sys-devel/lld/lld-4.0.0_rc1.ebuild @@ -9,25 +9,24 @@ EAPI=6 CMAKE_MIN_VERSION=3.7.0-r1 PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils git-r3 +inherit cmake-utils DESCRIPTION="The LLVM linker (link editor)" HOMEPAGE="http://llvm.org/" -SRC_URI="" -EGIT_REPO_URI="http://llvm.org/git/lld.git - https://github.com/llvm-mirror/lld.git" -EGIT_BRANCH="release_40" -EGIT_COMMIT="83a83a52d143ff3d21ab86fbc884fb2caa211cbc" +SRC_URI="http://www.llvm.org/pre-releases/${PV/_//}/${P/_/}.src.tar.xz + test? ( http://www.llvm.org/pre-releases/${PV/_//}/llvm-${PV/_/}.src.tar.xz )" LICENSE="UoI-NCSA" SLOT="0" -KEYWORDS="" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="test" RDEPEND="~sys-devel/llvm-${PV}" DEPEND="${RDEPEND} test? ( ~dev-python/lit-${PV} )" +S=${WORKDIR}/${P/_/}.src + # TODO: fix test suite to build stand-alone RESTRICT="test" @@ -35,19 +34,11 @@ RESTRICT="test" 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() { |