diff options
Diffstat (limited to 'sys-devel/lld')
-rw-r--r-- | sys-devel/lld/Manifest | 6 | ||||
-rw-r--r-- | sys-devel/lld/lld-15.0.3.9999.ebuild | 1 | ||||
-rw-r--r-- | sys-devel/lld/lld-16.0.0.9999.ebuild | 1 | ||||
-rw-r--r-- | sys-devel/lld/lld-16.0.0_pre20221016.ebuild | 83 |
4 files changed, 89 insertions, 2 deletions
diff --git a/sys-devel/lld/Manifest b/sys-devel/lld/Manifest index df1ae88f75ad..1fca40a73482 100644 --- a/sys-devel/lld/Manifest +++ b/sys-devel/lld/Manifest @@ -1,5 +1,6 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6 +DIST llvm-project-14f996dca8a2b5b17d6917528bfd9ee71ba6192a.tar.gz 169054148 BLAKE2B a23af6658a6ea8a7cb4272faef151937da229e39383ec068d7ef81e72a25d2a46dc2a86255a7f1148b7385b339d1c17e62f627df834d8eccc39be8921575f88d SHA512 e719d296016e7af718d022424c337a5df8d7124fdb49b9f219ab2a5dc592e6a59f6c09064775ea9349bcf4eed9d72214abb648de649ab872174c35635c945c04 DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8 DIST llvm-project-ebb258d3b0785f6dcc65e1f277d0690891ddc94d.tar.gz 168823463 BLAKE2B 111afe0f6ba6cef28c3d0162c9c650d15239f981949030768780ebe308418346d0ad367e0e58417832ae43e57b27bccaf56415f81e8221c6c5e78d1113f5617b SHA512 80351d7eeac77a15bf5613b289c71d718ecaccd8a6a4ea6736ed8bfc15c8154099c771564f99ea6c8b491f99bf1ca3a45fac977d638f6a03d7f7b42ba522fa20 @@ -10,8 +11,9 @@ EBUILD lld-14.0.6-r1.ebuild 2014 BLAKE2B cc9fe38292d98e136ec49b7c42e440cc66a6b3a EBUILD lld-14.0.6.ebuild 1894 BLAKE2B 8f5922031c9b64b0cf246800fd26b1802bdcc1fd84aae911106bd0c5a6d9482ff7c92571b7cc7f988e0b8b0b679eb94fa6c62685d69fdf9cc2b697ae29252e09 SHA512 4959af6727591bbd411861f4717ffd523b9a026c33c4de3b035230b1b5dc1067d9fa5c539455ea16fd7a294c95b9019be1e85638448afb0d900dedbb4284a30a EBUILD lld-15.0.2-r1.ebuild 2082 BLAKE2B 29db136bcaa9d462e7e742b2ad95a88c2e1a7989d6dcf98d5d967504842cd87c87fac6c18f3f813116cf8d8788d1a55ea35e0ffd9d7d3d3c167f03fcbe3a9a73 SHA512 a5370a95e195e29acc7fa6b308be61183a8b9fbe0199b4773da8e0b6e8e3f2671ce4dde3c3dd221477fabab482eb3bd160a8b8d83c82083759047c2ceb9f7a18 EBUILD lld-15.0.2.ebuild 1955 BLAKE2B c8fb954351f0d80d5ee905cbfbcb7d2430bd73e7644ec54afae902ced60bf6a166e5a76c83ba6f18be062fce439a7c3cda5ecd9c1d5f6acb777673a30a1c40e2 SHA512 1b33c0821d40023b026e088b26772e2f851ba53f7c5eef5335a737fbb584120bc527d2711c685556c2b2e106e855aeb69411bf5fce829e33d973ab9ab8562271 -EBUILD lld-15.0.3.9999.ebuild 2040 BLAKE2B 07d59bd4b7c1ff9065abb62cbace96d69fd3e4b29d933756c781ff0381e3e3a1c3c4476c61bd10079326ed54c7b19a664a3d9deb020540136a563f29fb52089a SHA512 f1e80f7372999263d0039ec636856cfe6158b0599f644126efc34860704b862c43f2095f919dd6697a47b7573120bb43f50887e667357aed60f368826f2ff67d -EBUILD lld-16.0.0.9999.ebuild 2015 BLAKE2B d5463c38e3da39061b882b4e8b69f3f22846b4928814322d6b9ba103e434200c25b96407227950107d120f3f7186eb89e35af3a10cedf86c0f1fd1e5b51e6015 SHA512 ff5fa87fdd8bf91ae1e750ebc43b72fb4f17d09a3d3972b0d42928221a47e6b25d9f53c05fb50ab81b7a93e86509d7dcfd5a334b2414f484365bad608167e7e2 +EBUILD lld-15.0.3.9999.ebuild 2057 BLAKE2B e41e0265a761f3ca21d7cbb32987b7f083f73979ab1ebdc4b76e98cc2415d2062783e46cc53b0cb6c21f2471df57f6f6209715d26e5baee01f20431a31c17b04 SHA512 8a4bab6ea39ff8bf25762658e6b1bf2df6523659049240390e9517c30a716b83823948b42b7aad22979e0a60b7dea2d6a5309938fb1810d07bc1566a2d903698 +EBUILD lld-16.0.0.9999.ebuild 2032 BLAKE2B 8c359c0d76e5ccb3ea0848a0d3c9ab9a9627f152cf982ad7efa67b1666693ed3c27494afaaace50650c94f0647461ec0d9aad1ae56b3e7205e1ddf065c7de224 SHA512 c2862c28c5b5f7ff31eb62d7e36fe7a2e9c413a6ece80cec8aa3e98c1cfb3c8fcf6f366bbf922775a2b232a89d9cb1a3daedb45dbd7d77a4e2e994b01aa34755 EBUILD lld-16.0.0_pre20221010-r1.ebuild 2015 BLAKE2B d5463c38e3da39061b882b4e8b69f3f22846b4928814322d6b9ba103e434200c25b96407227950107d120f3f7186eb89e35af3a10cedf86c0f1fd1e5b51e6015 SHA512 ff5fa87fdd8bf91ae1e750ebc43b72fb4f17d09a3d3972b0d42928221a47e6b25d9f53c05fb50ab81b7a93e86509d7dcfd5a334b2414f484365bad608167e7e2 EBUILD lld-16.0.0_pre20221010.ebuild 1910 BLAKE2B 1f1ba0aa1007edbfaec9f547e9890197a8266eb2416995f2689c1b466c7c897088a4ef1a7a335ac52db5d38d7bd25f5540b9e4894e690c040b9a4a449f819cc4 SHA512 8ed262c5874c7bc211e0f8f8169a819cec8ebed59295b24b4572f567cdf16f4703bf8e7c524498e72a17e574460bf0a82d73d0286f66f4ae3e5b0bdb4ef8c26c +EBUILD lld-16.0.0_pre20221016.ebuild 2032 BLAKE2B 8c359c0d76e5ccb3ea0848a0d3c9ab9a9627f152cf982ad7efa67b1666693ed3c27494afaaace50650c94f0647461ec0d9aad1ae56b3e7205e1ddf065c7de224 SHA512 c2862c28c5b5f7ff31eb62d7e36fe7a2e9c413a6ece80cec8aa3e98c1cfb3c8fcf6f366bbf922775a2b232a89d9cb1a3daedb45dbd7d77a4e2e994b01aa34755 MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/sys-devel/lld/lld-15.0.3.9999.ebuild b/sys-devel/lld/lld-15.0.3.9999.ebuild index 39bcff1a7b13..366775e1368b 100644 --- a/sys-devel/lld/lld-15.0.3.9999.ebuild +++ b/sys-devel/lld/lld-15.0.3.9999.ebuild @@ -17,6 +17,7 @@ RESTRICT="!test? ( test )" DEPEND=" ~sys-devel/llvm-${PV} + sys-libs/zlib:= " RDEPEND=" ${DEPEND} diff --git a/sys-devel/lld/lld-16.0.0.9999.ebuild b/sys-devel/lld/lld-16.0.0.9999.ebuild index 8af0d07d7df2..91b9130d52f8 100644 --- a/sys-devel/lld/lld-16.0.0.9999.ebuild +++ b/sys-devel/lld/lld-16.0.0.9999.ebuild @@ -17,6 +17,7 @@ RESTRICT="!test? ( test )" DEPEND=" ~sys-devel/llvm-${PV}[zstd=] + sys-libs/zlib:= zstd? ( app-arch/zstd:= ) " RDEPEND=" diff --git a/sys-devel/lld/lld-16.0.0_pre20221016.ebuild b/sys-devel/lld/lld-16.0.0_pre20221016.ebuild new file mode 100644 index 000000000000..91b9130d52f8 --- /dev/null +++ b/sys-devel/lld/lld-16.0.0_pre20221016.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit cmake flag-o-matic llvm llvm.org python-any-r1 + +DESCRIPTION="The LLVM linker (link editor)" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +KEYWORDS="" +IUSE="debug test zstd" +RESTRICT="!test? ( test )" + +DEPEND=" + ~sys-devel/llvm-${PV}[zstd=] + sys-libs/zlib:= + zstd? ( app-arch/zstd:= ) +" +RDEPEND=" + ${DEPEND} + !sys-devel/lld:0 +" +BDEPEND=" + test? ( + >=dev-util/cmake-3.16 + $(python_gen_any_dep ">=dev-python/lit-${PV}[\${PYTHON_USEDEP}]") + ) +" +PDEPEND=" + >=sys-devel/lld-toolchain-symlinks-16-r2:${LLVM_MAJOR} +" + +LLVM_COMPONENTS=( lld cmake libunwind/include/mach-o ) +LLVM_TEST_COMPONENTS=( llvm/utils/{lit,unittest} ) +llvm.org_set_globals + +python_check_deps() { + python_has_version ">=dev-python/lit-${PV}[${PYTHON_USEDEP}]" +} + +pkg_setup() { + LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup + use test && python-any-r1_pkg_setup +} + +src_unpack() { + llvm.org_src_unpack + + # Directory ${WORKDIR}/llvm does not exist with USE="-test", + # but LLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" is set below, + # and ${LLVM_MAIN_SRC_DIR}/../libunwind/include is used by build system + # (lld/MachO/CMakeLists.txt) and is expected to be resolvable + # to existent directory ${WORKDIR}/libunwind/include. + mkdir -p "${WORKDIR}/llvm" || die +} + +src_configure() { + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" + + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 + + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}" + -DBUILD_SHARED_LIBS=ON + -DLLVM_INCLUDE_TESTS=$(usex test) + ) + use test && mycmakeargs+=( + -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" + -DLLVM_LIT_ARGS="$(get_lit_flags)" + -DPython3_EXECUTABLE="${PYTHON}" + ) + cmake_src_configure +} + +src_test() { + local -x LIT_PRESERVES_TMP=1 + cmake_build check-lld +} |