From 4cd2370bed609c118b6edfde5d3f116e5c35b897 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Dec 2017 16:17:22 +0000 Subject: gentoo resync : 03.12.2017 --- sys-devel/lld/Manifest | 9 +++-- sys-devel/lld/lld-5.0.1_rc2.ebuild | 73 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+), 3 deletions(-) create mode 100644 sys-devel/lld/lld-5.0.1_rc2.ebuild (limited to 'sys-devel/lld') diff --git a/sys-devel/lld/Manifest b/sys-devel/lld/Manifest index 14cc16d16b39..1ccbfecb1b22 100644 --- a/sys-devel/lld/Manifest +++ b/sys-devel/lld/Manifest @@ -1,11 +1,14 @@ AUX 4.0.1/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch 4381 BLAKE2B 131ed63d4e9a68cabf23866412b2194656cece59eaddc0329beddffde86c76008afa1810721f36492189c244ce07673b8335fde66a47df89939c115b17b41824 SHA512 6d133999c5b95ede493ca98a0e8c7816dcca36e4e5f17f6d847996a2d70517cc50d0e1a6259b0d34173f76c4300f8809cea2c06d029a85d2fc62e856e69cbc72 AUX 4.0.1/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch 2924 BLAKE2B d429f8354506562ed8b11e1c34344a3d3868a74125d794e291ab89753328da2fe615300a005fd74735bf13c02ed20672377d806b9676fe49a955a38a2d8bd5e2 SHA512 1b82f754fb872318740f77f78fa08647e2523d5b6d9cdd0dd9108bdac82a213d5d5c698a8915c0f6bd60b2163cce3c8bd1c13095dad52d0beb08079f851d30d8 DIST lld-4.0.1.src.tar.xz 593796 SHA256 63ce10e533276ca353941ce5ab5cc8e8dcd99dbdd9c4fa49f344a212f29d36ed SHA512 63bd0813094dc7fa9a95fdee93eb7b97026882a15548f819b5c67f3f0f9fa2a582d968af27ad8f802dbff1f6cd1b8c2fb26b3c7c80379488d05c4a4984d7af68 WHIRLPOOL e7adca75f7f5fbb6136d01544798e969cba69b86c5b76a7fdcf7918564aa13eb868f4fa41102d7a4c501f741664ae309d6842c821ac974503431722ae963f93f -DIST lld-5.0.0.src.tar.xz 668344 SHA256 399a7920a5278d42c46a7bf7e4191820ec2301457a7d0d4fcc9a4ac05dd53897 SHA512 984606a8c8aa753805d30602ce851a70d5427ee0ec098e3fcb2751e58d36c601f59f17f5c9ab90a430bc670f689c3b86b6ecbeccb6ff187f108f6e2000621eb7 WHIRLPOOL 111f38f1005f2e4a7c31435acaaff133c3a2dec695f615f25b3872801c5865c5057bcc7e75551fd8d65abafe7f1637498853ca78840731cfae91b0ae3972b4c6 -DIST llvm-4.0.1.src.tar.xz 21065652 SHA256 da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51 SHA512 16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d WHIRLPOOL 1626ff270f7ce4801d02a0797b227fda9314ff5c0c01d653111599e9a4d2854c4d9edc3c698a7abee8d79d6bce8b18dc619fbced3c07ca610d44a248d65830cc -DIST llvm-5.0.0.src.tar.xz 23411980 SHA256 e35dcbae6084adcf4abb32514127c5eabd7d63b733852ccdb31e06f1373136da SHA512 e6d8fdcb5bf27bded814d02f39f69c6171bc3a512d5957c03e5ac2e231f903b7de87634b059bd5c5da670f7c3a8f7a538f6299225799f15f921857f1452f6b3a WHIRLPOOL 6a99edbdc3e6726dc8ff9126b110fd7560faac46601407722e6dd80b5d894ff242521dc8fda7f4d879de83dac51c65645a37224f7e8def0d8d2f1e564b0531bb +DIST lld-5.0.0.src.tar.xz 668344 BLAKE2B 2d027f44aa8487c2edffb53eba1eafc7bb7ef8d6b7b32ee93dcf906df249d69242ec90817b267604260d9616fb2934e78e6954e76e8adc68d6e38cea8ca24097 SHA512 984606a8c8aa753805d30602ce851a70d5427ee0ec098e3fcb2751e58d36c601f59f17f5c9ab90a430bc670f689c3b86b6ecbeccb6ff187f108f6e2000621eb7 +DIST lld-5.0.1rc2.src.tar.xz 668368 BLAKE2B 1a2323b08e35bd157ac7ea2743ff6e86dc928ea4388e19b9c79bf65716e3b3ada18d80ce5610ca6ecc80dfac97061894741e31abf42f72e4a20fe31f0afff8a3 SHA512 374eee52382df093cd16c8f91f54b5b76e10427a6fd03ea9d25c3c03122d6b330b1650a02b1e7ec726900eca41ea501d076f1ff704e9b99da5e6c7553aa9c140 +DIST llvm-4.0.1.src.tar.xz 21065652 BLAKE2B 6327eed2d1feb108440f22d2581d1ff86c10a10c29793538d8d899c7e2dc83d3f7b147d3fd4bcce2bd2bf57c071b08c624aeafe40a3e7a3914506e7751727e6c SHA512 16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d +DIST llvm-5.0.0.src.tar.xz 23411980 BLAKE2B bc3d8b75b766c83912252b51d6b57c8151c9d83415eff7bc771923d35138ed253a788d6c8e0a384c5e78ce1a1065f10d66ef5004df163b4c3b0c6274bb3aa6b7 SHA512 e6d8fdcb5bf27bded814d02f39f69c6171bc3a512d5957c03e5ac2e231f903b7de87634b059bd5c5da670f7c3a8f7a538f6299225799f15f921857f1452f6b3a +DIST llvm-5.0.1rc2.src.tar.xz 23508164 BLAKE2B 3594d1658310a99787b4ff6f85aa8dd12a0405464bcb095ba4f205ce5b4ed3240a8ae1bef726ff98aba61ae5c8f8c10eeb8e415320d210af60f9e74bff7a8d5c SHA512 0a156e3949d22304b5e173dc9a3628161dff2798ad67924341c11494544350ef3a35a3ebb6ec8e7223b2407ce47cf12dafa6de8c006c5799a620e35a86c30b1b EBUILD lld-4.0.1.ebuild 1721 BLAKE2B f3e848199052fbec33376e9630afd80c031cd729457d1e3c302d78c42a128cc7d8baa626ed294bdde19dc2ec00683a01e4e9d5d0f6d893e24a575024b9e92556 SHA512 e971195cbf8976a0bd5140c62c3c4d9a375beaf3813119342f3f8f28db9843e53dc9804cb13b6f1a49a1b7dc60cd631cd69f742faf1de56001f59230625dbef1 EBUILD lld-5.0.0.ebuild 1349 BLAKE2B 410821548a8e388b72017eb34bb3b83fe82675d8d8082d04a49cdeb1213d00a0e1910b4a936b94971a3ffc807cde791948ca2e71ed24457c46361117ed6ea5a0 SHA512 243c72cb2e712392d9fad06b19090f276356d1f99739bec7cb65cb7eafaa98c5627ec6816872db69594c77203c2fc21bb004144161e31069604c85fc58fd8d7c +EBUILD lld-5.0.1_rc2.ebuild 1575 BLAKE2B c582e59d9670fe99ccc1f4b763e736847ab904fd435b87b42a3027261d1449e7f25783420dd5aaae29dd547763e0e9a4a0c4307cbc55dd3aec8c53e29a852e91 SHA512 66adb0bb0d582cea320837e172441a061187cabf041c690d17da0d35a3602310f48f2bf485d3e46a3d565ded1fa88810d0475247d1e3e33bf5dc809271486517 EBUILD lld-5.0.9999.ebuild 1539 BLAKE2B 918688e5a216eee0caa96785226230fdf3cc5ed2eb50a3d17567856a5833c3b824d051c41e62806ce30d11f9d8d234dbd0882e60378071f408d785c21335a040 SHA512 cd22ae5f9927b78810d7cdaeab45652ab7fcfaff579c19a36e314da112b706ffcd52af524b7a4b635a0fdb17f80f655a3f49707a71ccb3dbce84cb4e27037f9f EBUILD lld-9999.ebuild 1520 BLAKE2B de58d593329512f1f489049cb46ba73b35fb2d02e5cee1d3aeb7e432936a4b2429937123a9c16f07f65e638d4140d6fb6bde9795429fd708828efb5bff2c4ae0 SHA512 d77c4237afbb85631d5222fc29eba124f3bdbcca7dbe45646ab7c1a2a23fc9362364e0a30481c3ebedd31340b402b90090efdd628544dcb425845d2e4bf26bec MISC metadata.xml 216 BLAKE2B fe5e49887842aa513fbf1f2e09bed09a884d531fd21bdaeb2d389e8bf590b6c0e7063f0af98f66e2db129308ab0f0804ba327c3c752bbb4c900c59ac109d99aa SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5 diff --git a/sys-devel/lld/lld-5.0.1_rc2.ebuild b/sys-devel/lld/lld-5.0.1_rc2.ebuild new file mode 100644 index 000000000000..5d89edc60527 --- /dev/null +++ b/sys-devel/lld/lld-5.0.1_rc2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +# (needed due to CMAKE_BUILD_TYPE != Gentoo) +CMAKE_MIN_VERSION=3.7.0-r1 +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils llvm python-any-r1 + +MY_P=${P/_/}.src +LLVM_P=llvm-${PV/_/}.src + +DESCRIPTION="The LLVM linker (link editor)" +HOMEPAGE="https://llvm.org/" +SRC_URI="http://prereleases.llvm.org/${PV/_//}/${MY_P}.tar.xz + test? ( http://prereleases.llvm.org/${PV/_//}/${LLVM_P}.tar.xz )" + +LICENSE="UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" + +RDEPEND="~sys-devel/llvm-${PV}" +DEPEND="${RDEPEND} + test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )" + +S=${WORKDIR}/${MY_P} + +# least intrusive of all +CMAKE_BUILD_TYPE=RelWithDebInfo + +python_check_deps() { + has_version "dev-python/lit[${PYTHON_USEDEP}]" +} + +pkg_setup() { + LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup + use test && python-any-r1_pkg_setup +} + +src_unpack() { + einfo "Unpacking ${MY_P}.tar.xz ..." + tar -xf "${DISTDIR}/${MY_P}.tar.xz" || die + + if use test; then + einfo "Unpacking parts of ${LLVM_P}.tar.xz ..." + tar -xf "${DISTDIR}/${LLVM_P}.tar.xz" \ + "${LLVM_P}"/utils/{lit,unittest} || die + mv "${LLVM_P}" llvm || die + fi +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + + -DLLVM_INCLUDE_TESTS=$(usex test) + ) + use test && mycmakeargs+=( + -DLLVM_BUILD_TESTS=ON + -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" + -DLIT_COMMAND="${EPREFIX}/usr/bin/lit" + ) + + cmake-utils_src_configure +} + +src_test() { + cmake-utils_src_make check-lld +} -- cgit v1.2.3