From 0771aa27d30f102abe2c5733a138ffe570da4d15 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 10 Feb 2024 23:34:33 +0000 Subject: gentoo auto-resync : 10:02:2024 - 23:34:33 --- sys-devel/lld/Manifest | 2 + sys-devel/lld/lld-19.0.0_pre20240210.ebuild | 90 +++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 sys-devel/lld/lld-19.0.0_pre20240210.ebuild (limited to 'sys-devel/lld') diff --git a/sys-devel/lld/Manifest b/sys-devel/lld/Manifest index 92166e56d22a..e7d1c6dafc55 100644 --- a/sys-devel/lld/Manifest +++ b/sys-devel/lld/Manifest @@ -8,10 +8,12 @@ DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149 DIST llvm-project-18.1.0rc2.src.tar.xz 131993176 BLAKE2B 8df1e34a54214975efe1b9a649753a2dc20c04e3c763bd8648000f48dd18f27ccfdc597ff6e68e0f408310493dfa92f48c7eee53376501e8ebc3b7c614809c15 SHA512 b595bb5d029723fee4e8f8edeaddd6fdcd48d668f66f4239e3208fd19d3a3622e8e4f90ae3fa4b1216fca1621d6c6b6ebf4d99dec7febff2457d0ceb79e8617a DIST llvm-project-18.1.0rc2.src.tar.xz.sig 566 BLAKE2B c765549386a92883bd348d9be25a3c92b1e66a1bac71385ef99978ec2af413a7616a2d9699c57554d927f95b80a3584572557d26e3df16b2ff6678359d5fd6b0 SHA512 83bb4c133f34faec8a0109689ed7aa18222c9a803ba8c95c571a18e854726024f106a1c8e3a820020255c426b7fa8bda26789ff1546972e233fbe3e3ab3a8e91 DIST llvm-project-78b4e7c5e349d8c101b50affbd260eb109748f8f.tar.gz 207433034 BLAKE2B ab7189fe82b5a9309348b499130295b3057dbb263ad9c60b1748e4ea92be3a85f0160baa1408dde5516650994951d9f948223d2d6260492a07b07dde51a51ff9 SHA512 366ecb02720d2b550ebeca989abf74ca1c93b2585a95fa378f44edc6c3329ee4e1548f5fa2cf7a19e59bc817abe6cc8850841415227380114c59b58867959a5a +DIST llvm-project-8884ba43a8485bebef5c4d41e7ed457e3fa84f07.tar.gz 205853916 BLAKE2B 115809efbf062ced32ffe61b25e65e44a0b3c293f68bf40fc4d9e596cd077fc4781a059ad24c4dc7a139c6ec884a6a183ebac06535f2498116266695e19daf00 SHA512 cb496111ec72163a1872fa9a14f8963108d3185f4464a74cc45d26ccc5071bc36895618b81c29063cde0564a50017a0194da4dc559a046a12550d9ab0d9b8347 EBUILD lld-15.0.7.ebuild 2269 BLAKE2B 322d5608e3acfb87bfb720646404ed405a3113c4faf1059428663a50d5566d7842fcff57ccf3aeb5e97b1a9acd4efd862db2368f130e088944ef4f0faf3c90f8 SHA512 e50d1d99fe18b6aba57c06eb6853f3212be1f7b7f2f3c70dcd226a69a4defc753eafcce77eb74f30eaa31b010fa094738718c1cdb23e584ef6e33eb72e536719 EBUILD lld-16.0.6.ebuild 2324 BLAKE2B 9b849aea16a8188e4da4cfcf0c85fb3e997007e1287ec062aee182c7955c7bc78132e761c2611198c7207283fbe930fbee6bdc9a39b922d6d5387bedadaf1b76 SHA512 a7c3d4c1508e5435ba9f6250c6b2fd3157fb4f2c205a6888736f79fa739c59eec3e901927b53af81de3a3c6d4fa5d576be3eaa6ad45c60e5d952ed4ad9706c2f EBUILD lld-17.0.6.ebuild 2269 BLAKE2B 025ba62d48a5729b69dabfba00934540ec181b8681dbcdb9342337c85889daf5049d773db4d115f353d2e18ff2e9100f0c0e3463044884ef9636c4be2bc61779 SHA512 c319f1c24d8399f4f7feaf5ca3389b85e29ae090dfcb1447da55eba248646b15b779895f237258ec296c258a81c98f9f1537574467c2b10697ffa1150dbb8b49 EBUILD lld-18.1.0_rc2.ebuild 2197 BLAKE2B b14e6579655636c2850637f791dd54870120c7a3ea3e0a6290ad7fdcfa4baa67dad861eac9cd51ad285c1e5c74d841da2aad01dc1b631f3143cf656483190058 SHA512 ae7eb8430bd43e2944b280a67d2fb14b1ecddcae97b5999d8a4d5df26e7700be9445b62e56dd1926d17957c877015195a6e81645ba96c1088f567ab8374c6191 EBUILD lld-19.0.0.9999.ebuild 2197 BLAKE2B b14e6579655636c2850637f791dd54870120c7a3ea3e0a6290ad7fdcfa4baa67dad861eac9cd51ad285c1e5c74d841da2aad01dc1b631f3143cf656483190058 SHA512 ae7eb8430bd43e2944b280a67d2fb14b1ecddcae97b5999d8a4d5df26e7700be9445b62e56dd1926d17957c877015195a6e81645ba96c1088f567ab8374c6191 EBUILD lld-19.0.0_pre20240203.ebuild 2197 BLAKE2B b14e6579655636c2850637f791dd54870120c7a3ea3e0a6290ad7fdcfa4baa67dad861eac9cd51ad285c1e5c74d841da2aad01dc1b631f3143cf656483190058 SHA512 ae7eb8430bd43e2944b280a67d2fb14b1ecddcae97b5999d8a4d5df26e7700be9445b62e56dd1926d17957c877015195a6e81645ba96c1088f567ab8374c6191 +EBUILD lld-19.0.0_pre20240210.ebuild 2197 BLAKE2B b14e6579655636c2850637f791dd54870120c7a3ea3e0a6290ad7fdcfa4baa67dad861eac9cd51ad285c1e5c74d841da2aad01dc1b631f3143cf656483190058 SHA512 ae7eb8430bd43e2944b280a67d2fb14b1ecddcae97b5999d8a4d5df26e7700be9445b62e56dd1926d17957c877015195a6e81645ba96c1088f567ab8374c6191 MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/sys-devel/lld/lld-19.0.0_pre20240210.ebuild b/sys-devel/lld/lld-19.0.0_pre20240210.ebuild new file mode 100644 index 000000000000..db957ad1ab9a --- /dev/null +++ b/sys-devel/lld/lld-19.0.0_pre20240210.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit cmake flag-o-matic llvm.org llvm-utils python-any-r1 toolchain-funcs + +DESCRIPTION="The LLVM linker (link editor)" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" +IUSE="+debug test zstd" +RESTRICT="!test? ( test )" + +DEPEND=" + ~sys-devel/llvm-${PV}[debug=,zstd=] + sys-libs/zlib:= + zstd? ( app-arch/zstd:= ) +" +RDEPEND=" + ${DEPEND} + !sys-devel/lld:0 +" +BDEPEND=" + sys-devel/llvm:${LLVM_MAJOR} + test? ( + $(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.org_set_globals + +python_check_deps() { + python_has_version ">=dev-python/lit-${PV}[${PYTHON_USEDEP}]" +} + +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_prepend_path "${LLVM_MAJOR}" + + # 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) + -DLLVM_ENABLE_ZLIB=FORCE_ON + -DLLVM_ENABLE_ZSTD=$(usex zstd FORCE_ON OFF) + ) + + use test && mycmakeargs+=( + -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" + -DLLVM_LIT_ARGS="$(get_lit_flags)" + -DPython3_EXECUTABLE="${PYTHON}" + ) + + tc-is-cross-compiler && mycmakeargs+=( + -DLLVM_TABLEGEN_EXE="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + ) + + cmake_src_configure +} + +src_test() { + local -x LIT_PRESERVES_TMP=1 + cmake_build check-lld +} -- cgit v1.2.3