summaryrefslogtreecommitdiff
path: root/sys-devel/lld
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-03-19 11:37:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-03-19 11:37:34 +0000
commitb7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch)
tree9fd110f9fc996e8a4213eeda994a8c112491b86d /sys-devel/lld
parent066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff)
gentoo resync : 19.03.2019
Diffstat (limited to 'sys-devel/lld')
-rw-r--r--sys-devel/lld/Manifest17
-rw-r--r--sys-devel/lld/files/4.0.1/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch97
-rw-r--r--sys-devel/lld/files/4.0.1/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch82
-rw-r--r--sys-devel/lld/lld-4.0.1.ebuild76
-rw-r--r--sys-devel/lld/lld-5.0.2.ebuild73
-rw-r--r--sys-devel/lld/lld-8.0.0_rc3.ebuild75
-rw-r--r--sys-devel/lld/lld-8.0.0_rc5.ebuild (renamed from sys-devel/lld/lld-8.0.0_rc2.ebuild)0
7 files changed, 3 insertions, 417 deletions
diff --git a/sys-devel/lld/Manifest b/sys-devel/lld/Manifest
index 0529baf44e1e..def13756093b 100644
--- a/sys-devel/lld/Manifest
+++ b/sys-devel/lld/Manifest
@@ -1,24 +1,13 @@
-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 BLAKE2B 58eb8f013a4562ef60dd7e17ddd741f434b8f0228a3d3d746ec8c30521ce667863d0b6db6565659a1b86cb91550cdaa43a27600d3a979460523faf24eac8ea3f SHA512 63bd0813094dc7fa9a95fdee93eb7b97026882a15548f819b5c67f3f0f9fa2a582d968af27ad8f802dbff1f6cd1b8c2fb26b3c7c80379488d05c4a4984d7af68
-DIST lld-5.0.2.src.tar.xz 671776 BLAKE2B 11c470fb7eb4e8ddad043cff7daa714b55b862fe0a540e135db7252314caa101e3bb9063d5a7b32e0a86721cc01f602cafe087566d49ef5c6865f19ba3daf6b3 SHA512 6edafc277a5475a4b44fdf2d77bb8d0a80e8717f74c6db6c0208e0f1492a552f50640503ba8687bcd87a3d677b571dc4f9579b1e5c0bf53059c259ecbcc78c0e
DIST lld-6.0.1.src.tar.xz 787804 BLAKE2B 6b1d42bf24ca4c4dbfd060f1e40efa106e4adb73ee44a219f1568168b90b2a1430c3bd9c9e7996fda1f90423f8154678d6ee795ba4e179a0a72d86e980cbba52 SHA512 856ccc125255ab6184919f1424372f0f8a5de8477777047e2ab1a131a2ecec0caa9b5163d01409c7c510df9c794f0bc8d65cc904df2baf6462ef53bc163e002a
DIST lld-7.0.1.src.tar.xz 912812 BLAKE2B 586f869350cb49eec661b72d575686d3627f2e094b492ad1d62ebad2a7aa14cff5582b51713ab02889c1f1bab20b38cfcb038e6753936688e6530f7b044e73ba SHA512 e5d3ed280d8ac6014cd6bbe080b11e2c4ebbae81dc14b637e779ec027d818dbae91c6f0de9e94bcecd6bdaa37f12c35141b5d81f0a15251d27932aa9bebd4047
-DIST lld-8.0.0rc2.src.tar.xz 999024 BLAKE2B 866a36f95fc51408b511392cd48c923b1deb9307d72fae93726c189b78fae9ba0586a1ff188335e80f66a86c8c6de9d1c609deb72ed25438b558a7e4df7a00bd SHA512 ba59b603f83283a75b8b020a339c7381e2397e55165ffe86e194d8c1da5845a1e5187ba45d7a46bb136d69c2fac64fb4f97f0fa5eab1d17232e5f474764cc5f6
-DIST lld-8.0.0rc3.src.tar.xz 999892 BLAKE2B e62141c0d93a762aecd12d72ab8a8fbfeb91896421f356401d1018bd09f713f8ebc73fc3e1a80e4260c413d705ae7f5a51a7009f056e040ab5851909b19efabc SHA512 4858afd97ab605440590c5fdcdeb82b0496e391b2719eb805b799b645c9c3d305c71cf1cf2d9eb37a845903a149d2461a582de3ef97fa9b662c3ad31c5cb1064
-DIST llvm-4.0.1.src.tar.xz 21065652 BLAKE2B 6327eed2d1feb108440f22d2581d1ff86c10a10c29793538d8d899c7e2dc83d3f7b147d3fd4bcce2bd2bf57c071b08c624aeafe40a3e7a3914506e7751727e6c SHA512 16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d
-DIST llvm-5.0.2.src.tar.xz 23451868 BLAKE2B b7082be2e4ad557b29b9f6869811f262adcf5c73d552faf91b339bede75cf5eab58afefa12fa779a38be71fe2b8f4ea297c3213ee4e8370cc01972c59249d91c SHA512 3588be5ed969c3f7f6f16f56a12a6af2814d3d3c960d4a36ffebb0446cc75f19220bccee7fc605f9b01f5d5c188a905a046193cc12dec42dd5922048b5c27fe1
+DIST lld-8.0.0rc5.src.tar.xz 999916 BLAKE2B 1c48d0a017e225b62333046a532bf82dec36a1bfbd51b53c30a3d4b3a23de2c5a7efcdf65025cde667e1af25d9858a09b5fa375abee212ffb7782a4e95276af3 SHA512 392d55336f4fb450dd13cc3ffca22c1ad0f856c633f4be879ee55f430a68c1037645b16e4357494d68818bc62d5490e31e3fe8f7f154e8cbac2fde5136588241
DIST llvm-6.0.1.src.tar.xz 25306628 BLAKE2B 60232d4d22f8096b565cc8d81fea0639f24f14e8fc4f66ade69fa15479181f07f655f26dff3fa24bf105762b495da316c5c9352db234bd0af6b9c3fff6d4d881 SHA512 cbbb00eb99cfeb4aff623ee1a5ba075e7b5a76fc00c5f9f539ff28c108598f5708a0369d5bd92683def5a20c2fe60cab7827b42d628dbfcc79b57e0e91b84dd9
DIST llvm-7.0.1.src.tar.xz 28311056 BLAKE2B 737aa6144a415e41a4ff2c8bd5a727d6f14d7b1810c62cbefa5a25fe642c98cddf8a28e35c7e9783373aa3b96f5c0943229e229ad1b43e56e9ed6db0f27ab128 SHA512 ac43a3cb71a53deb55e3693653847cf20bf6f5d9056f224e6956c96d63bc59ebee9404f088eec9cabe65337b4607a905ef931354b373cf64e0004c6905a6b5df
-DIST llvm-8.0.0rc2.src.tar.xz 30492444 BLAKE2B e7afd3b66e3eb204e07348f0bc77f0ae03d8e9581de4c94cba7c0b43b53f36ecd891c1272ce43ea6c78999fd404a7db105266a2eaca22975133571e1152961af SHA512 9d93197848e9472cc2fef2477897e4f4d74a79b17a164fd43446b0ffb327e7f484cf64f0c294d9a99707c0b46282eb0d16e6ceb5d2d568f25e4235f70ae3c5e7
-DIST llvm-8.0.0rc3.src.tar.xz 30507604 BLAKE2B c9baaca537d292af9f12368df86090750508113eb7db393fe44c1ba7579df947f0a7092e6ddd4403bda9f9ed75fe8c049f3baf6d8671faa0c91e3267c584893a SHA512 82199841c2084cffe4e86b4f2d5ebe404059196f1f6d000ee69cfddba05d78c4500ad7499615fa67e9774ead6cba5a23db484dd85f752c8d08e8067f7d7b98ca
-EBUILD lld-4.0.1.ebuild 1721 BLAKE2B f3e848199052fbec33376e9630afd80c031cd729457d1e3c302d78c42a128cc7d8baa626ed294bdde19dc2ec00683a01e4e9d5d0f6d893e24a575024b9e92556 SHA512 e971195cbf8976a0bd5140c62c3c4d9a375beaf3813119342f3f8f28db9843e53dc9804cb13b6f1a49a1b7dc60cd631cd69f742faf1de56001f59230625dbef1
-EBUILD lld-5.0.2.ebuild 1589 BLAKE2B ce6f2b7d0b095223600a236432966cbc44d89d781f6fe20b699aeb77b859bbcdf65bab0b1ad37df63918ce95f75c018a5eb9d56605e5d56d057e062399427271 SHA512 16b397e9d580a52fa430b07788a1c73aabfdc3dec87ed8ee12807e231c9590f637966f412a0657a574476b3b27b0a952718c61de955246cc1f585ab4526d49cc
+DIST llvm-8.0.0rc5.src.tar.xz 30507432 BLAKE2B 3f20c3dc270439a32fe23e403ca5190e624f329a10d424d15475d32d89725b021f12af19845928da41be4b83afd254df1f6d27f235b0d2ab81ff76d9e588250f SHA512 b015bab2f0b0644d9fab295dee5d3b2a4d4d7c9d5870a06d7829f43d61e92aeb31b28d4c074f6a20ad803dde06399ef3298c951f1580b010f4b756f75bb4453b
EBUILD lld-6.0.1.ebuild 1731 BLAKE2B 94a45353bb5db9ff18974afbbf2f77f00814302af1f146298da97cc53941811b91367aee89c82365e1a712ad7d86b2e8ad0b6b59653e56296c7e45e8ab65a266 SHA512 3985af3b2b300c6ddfade3c848a51f8dd1254f15bc3c51cf4d6a5bf8d655de756c8e5315c5594f65f07530b8d21526367f4397fd9b39f895a5f1e525a3aef409
EBUILD lld-7.0.1.ebuild 1733 BLAKE2B 8f5515ebfa7e00622c1502882129f0772b3e8c8f3cdb4ecd4b218125bff671992398fa9475b0ed7ceace43a424ce4ff0a534d2f3eb6ab70b5b887a27dcc9ea02 SHA512 ccf1242bb538e4fb270936f9ccf735833a41533867465735b81deb9b5dc224c8324894beb311bbda78f3c46199cc59ef7945dca456a14bcb6c9eb3a454ee20ad
EBUILD lld-7.0.9999.ebuild 1674 BLAKE2B 14f026b7d86c935329e9909ac9ed73519350e8a845dffd669a1c0c1f1f82c8ef9ccfa06140f25efe78ff765eed2e05a667f495007a2a40259b1e75fb798a48a3 SHA512 6d1786893ec8348de2b8efb675c13672be1d366b108f633adf1772c0b96e3f2574aaf624cd37bca76af86032431589cd3788cca76e5fc64b4aa49a86904498e1
-EBUILD lld-8.0.0_rc2.ebuild 1739 BLAKE2B 1aa87bd4060f26311699cb024b9d0f2ee98e594558efd6f7e6df4dced281ca33ab30f9263e35f3dd22c072380f3da64eb34a164fe38898ec39d33646425c83ed SHA512 0e8a92824da478d1ea8a9f6b80d98521a1919f97aeb62db7c9ab4793e203c42d0cbb62590a8aa228ef2b289b0d38aea2e8a4bf3e05cb2ec959ff1d2420e39974
-EBUILD lld-8.0.0_rc3.ebuild 1739 BLAKE2B 1aa87bd4060f26311699cb024b9d0f2ee98e594558efd6f7e6df4dced281ca33ab30f9263e35f3dd22c072380f3da64eb34a164fe38898ec39d33646425c83ed SHA512 0e8a92824da478d1ea8a9f6b80d98521a1919f97aeb62db7c9ab4793e203c42d0cbb62590a8aa228ef2b289b0d38aea2e8a4bf3e05cb2ec959ff1d2420e39974
+EBUILD lld-8.0.0_rc5.ebuild 1739 BLAKE2B 1aa87bd4060f26311699cb024b9d0f2ee98e594558efd6f7e6df4dced281ca33ab30f9263e35f3dd22c072380f3da64eb34a164fe38898ec39d33646425c83ed SHA512 0e8a92824da478d1ea8a9f6b80d98521a1919f97aeb62db7c9ab4793e203c42d0cbb62590a8aa228ef2b289b0d38aea2e8a4bf3e05cb2ec959ff1d2420e39974
EBUILD lld-8.0.9999.ebuild 1671 BLAKE2B fe3a570707d74ecca2953d44c0fa144565dc8401ebf1010e42d02fd6ce4206f5dcbd7be59f809da0c4dd155d8841612906d54d425b93480c5d5d3e6bab892a90 SHA512 465911be8df389e238d611e8341e9af6012027638aab97bc81cc5ad4cb55a79805830cf9e6eb6a2db8f708abc515e8a39225643d2f62898619ee55a921be30d9
EBUILD lld-9999.ebuild 1625 BLAKE2B 2308235d2368d9eb25a1d8ae41eaa6b182475e5d49aeb37ff5fc025cb500d268a2f935b4dbe26ed1c2ab950d082e40030a5d5d39a5e3357ca8610f927ccc0fb6 SHA512 6abdc37eef950c50164a29752ab370e08aefe9db909a4ac2ec1f9eb1e6a8b3fdca8ed776945f0e9b745bed11633b2ff33f1f00853e7fdfd22664756eba839f14
MISC metadata.xml 216 BLAKE2B fe5e49887842aa513fbf1f2e09bed09a884d531fd21bdaeb2d389e8bf590b6c0e7063f0af98f66e2db129308ab0f0804ba327c3c752bbb4c900c59ac109d99aa SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5
diff --git a/sys-devel/lld/files/4.0.1/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch b/sys-devel/lld/files/4.0.1/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch
deleted file mode 100644
index 2a7935f76838..000000000000
--- a/sys-devel/lld/files/4.0.1/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-From 72b099306f586382a32cb0b37ad6a07dc7cddcf9 Mon Sep 17 00:00:00 2001
-From: Michal Gorny <mgorny@gentoo.org>
-Date: Wed, 8 Feb 2017 20:08:25 +0000
-Subject: [PATCH 2/3] [test] Use LLD-specific binary&library dirs when building
- stand-alone
-
-Use both LLD- and LLVM-specific binary&library directories when LLD is
-being built stand-alone. This ensures that the freshly built tools and
-libraries are found and used correctly.
-
-Without this patch, the test suite uses LLVM_TOOLS_DIR and LLVM_LIBS_DIR
-to locate lld, and set PATH and LD_LIBRARY_PATH. When doing
-a stand-alone builds, these variables represent the installed LLVM.
-As a result, tests either fail due to missing lld executables/libraries
-or use an earlier installed LLD version rather than the one being built.
-
-To solve this, an additional LLD_TOOLS_DIR and LLD_LIBS_DIR variables
-are added that are populated using LLVM_*_OUTPUT_INTDIR. Those variables
-are populated with directories used to output built executables
-and libraries. In stand-alone builds, they represent the directories
-used by LLD. In integrated builds, they have the same values as
-LLVM_*_DIR and therefore using them does not harm.
-
-The new variables are prepended to PATH and LD_LIBRARY_PATH to ensure
-that freshly built binaries are preferred over potentially earlier
-installed ones. Furthermore, the resulting PATH is used to locate tools
-for substitutions since the search includes both tools built as part of
-LLD and of LLVM.
-
-Differential Revision: https://reviews.llvm.org/D29335
-
-git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@294507 91177308-0d34-0410-b5e6-96231b3b80d8
----
- test/lit.cfg | 14 ++++++++++----
- test/lit.site.cfg.in | 2 ++
- 2 files changed, 12 insertions(+), 4 deletions(-)
-
-diff --git a/test/lit.cfg b/test/lit.cfg
-index 0db879312..8dff2fb4e 100644
---- a/test/lit.cfg
-+++ b/test/lit.cfg
-@@ -66,18 +66,24 @@ config.llvm_obj_root = getattr(config, 'llvm_obj_root', None)
-
- # Tweak the PATH to include the tools dir and the scripts dir.
- if lld_obj_root is not None:
-+ lld_tools_dir = getattr(config, 'lld_tools_dir', None)
-+ if not lld_tools_dir:
-+ lit_config.fatal('No LLD tools dir set!')
- llvm_tools_dir = getattr(config, 'llvm_tools_dir', None)
- if not llvm_tools_dir:
- lit_config.fatal('No LLVM tools dir set!')
-- path = os.path.pathsep.join((llvm_tools_dir, config.environment['PATH']))
-+ path = os.path.pathsep.join((lld_tools_dir, llvm_tools_dir, config.environment['PATH']))
- path = os.path.pathsep.join((os.path.join(getattr(config, 'llvm_src_root', None),'test','Scripts'),path))
-
- config.environment['PATH'] = path
-
-+ lld_libs_dir = getattr(config, 'lld_libs_dir', None)
-+ if not lld_libs_dir:
-+ lit_config.fatal('No LLD libs dir set!')
- llvm_libs_dir = getattr(config, 'llvm_libs_dir', None)
- if not llvm_libs_dir:
- lit_config.fatal('No LLVM libs dir set!')
-- path = os.path.pathsep.join((llvm_libs_dir,
-+ path = os.path.pathsep.join((lld_libs_dir, llvm_libs_dir,
- config.environment.get('LD_LIBRARY_PATH','')))
- config.environment['LD_LIBRARY_PATH'] = path
-
-@@ -174,10 +180,10 @@ for pattern in tool_patterns:
- pattern)
- tool_pipe = tool_match.group(2)
- tool_name = tool_match.group(4)
-- tool_path = lit.util.which(tool_name, llvm_tools_dir)
-+ tool_path = lit.util.which(tool_name, config.environment['PATH'])
- if not tool_path:
- # Warn, but still provide a substitution.
-- lit_config.note('Did not find ' + tool_name + ' in ' + llvm_tools_dir)
-+ lit_config.note('Did not find ' + tool_name + ' in ' + path)
- tool_path = llvm_tools_dir + '/' + tool_name
- config.substitutions.append((pattern, tool_pipe + tool_path))
-
-diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in
-index 5293f24c1..9dcb48174 100644
---- a/test/lit.site.cfg.in
-+++ b/test/lit.site.cfg.in
-@@ -6,6 +6,8 @@ config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
- config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
- config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
- config.lld_obj_root = "@LLD_BINARY_DIR@"
-+config.lld_libs_dir = "@LLVM_LIBRARY_OUTPUT_INTDIR@"
-+config.lld_tools_dir = "@LLVM_RUNTIME_OUTPUT_INTDIR@"
- config.target_triple = "@TARGET_TRIPLE@"
- config.python_executable = "@PYTHON_EXECUTABLE@"
- config.have_zlib = "@HAVE_LIBZ@"
---
-2.12.0
-
diff --git a/sys-devel/lld/files/4.0.1/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch b/sys-devel/lld/files/4.0.1/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch
deleted file mode 100644
index b1333ac40bc9..000000000000
--- a/sys-devel/lld/files/4.0.1/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From a7fe305520085cff8e4bec0110d323c4f1ccbcab Mon Sep 17 00:00:00 2001
-From: Michal Gorny <mgorny@gentoo.org>
-Date: Wed, 8 Feb 2017 20:08:29 +0000
-Subject: [PATCH 3/3] [test] Fix zlib cond when building stand-alone, clean up
-
-Fix the test zlib conditional to use LLVM_ENABLE_ZLIB value when
-building stand-alone. The HAVE_LIBZ is not available when performing
-a stand-alone build. Since the zlib support is a feature of
-the underlying LLVM library, it exports the actual status as the final
-value of LLVM_ENABLE_ZLIB in LLVMConfig.
-
-While at it, canonicalize the boolean value into 0/1 and remove unused
-CMake definitions (most likely copied from clang).
-
-Differential Revision: https://reviews.llvm.org/D29340
-
-git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@294508 91177308-0d34-0410-b5e6-96231b3b80d8
----
- test/CMakeLists.txt | 19 ++++++++++++-------
- test/lit.cfg | 2 +-
- test/lit.site.cfg.in | 2 +-
- 3 files changed, 14 insertions(+), 9 deletions(-)
-
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index ede92c13d..962274160 100644
---- a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -3,13 +3,18 @@ set(LLVM_BINARY_DIR "${LLVM_BINARY_DIR}")
- set(LLVM_BUILD_MODE "%(build_mode)s")
- set(LLVM_TOOLS_DIR "${LLVM_TOOLS_BINARY_DIR}/%(build_config)s")
- set(LLVM_LIBS_DIR "${LLVM_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/%(build_config)s")
--set(CLANG_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/..")
--set(CLANG_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/..")
--if(BUILD_SHARED_LIBS)
-- set(ENABLE_SHARED 1)
--else()
-- set(ENABLE_SHARED 0)
--endif(BUILD_SHARED_LIBS)
-+
-+if(LLD_BUILT_STANDALONE)
-+ # Set HAVE_LIBZ according to recorded LLVM_ENABLE_ZLIB value. This
-+ # value is forced to 0 if zlib was not found, so it is fine to use it
-+ # instead of HAVE_LIBZ (not recorded).
-+ if(LLVM_ENABLE_ZLIB)
-+ set(HAVE_LIBZ 1)
-+ endif()
-+endif()
-+
-+llvm_canonicalize_cmake_booleans(
-+ HAVE_LIBZ)
-
- configure_lit_site_cfg(
- ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
-diff --git a/test/lit.cfg b/test/lit.cfg
-index 8dff2fb4e..85469ff6f 100644
---- a/test/lit.cfg
-+++ b/test/lit.cfg
-@@ -202,7 +202,7 @@ if execute_external:
- config.available_features.add('shell')
-
- # zlib compression library
--if config.have_zlib == "1":
-+if config.have_zlib:
- config.available_features.add("zlib")
-
- # Running on Darwin OS
-diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in
-index 9dcb48174..1fb8d3690 100644
---- a/test/lit.site.cfg.in
-+++ b/test/lit.site.cfg.in
-@@ -10,7 +10,7 @@ config.lld_libs_dir = "@LLVM_LIBRARY_OUTPUT_INTDIR@"
- config.lld_tools_dir = "@LLVM_RUNTIME_OUTPUT_INTDIR@"
- config.target_triple = "@TARGET_TRIPLE@"
- config.python_executable = "@PYTHON_EXECUTABLE@"
--config.have_zlib = "@HAVE_LIBZ@"
-+config.have_zlib = @HAVE_LIBZ@
-
- # Support substitution of the tools and libs dirs with user parameters. This is
- # used when we can't determine the tool dir at configuration time.
---
-2.12.0
-
diff --git a/sys-devel/lld/lld-4.0.1.ebuild b/sys-devel/lld/lld-4.0.1.ebuild
deleted file mode 100644
index ca675419d678..000000000000
--- a/sys-devel/lld/lld-4.0.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# 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
-
-DESCRIPTION="The LLVM linker (link editor)"
-HOMEPAGE="https://llvm.org/"
-SRC_URI="https://releases.llvm.org/${PV/_//}/${P/_/}.src.tar.xz
- test? ( https://releases.llvm.org/${PV/_//}/llvm-${PV/_/}.src.tar.xz )"
-
-LICENSE="UoI-NCSA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-
-RDEPEND="~sys-devel/llvm-${PV}"
-DEPEND="${RDEPEND}
- test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )"
-
-S=${WORKDIR}/${P/_/}.src
-
-# 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() {
- default
-
- if use test; then
- mv llvm-* llvm || die
- fi
-}
-
-src_prepare() {
- # backport stand-alone build test fixes from master
- eapply "${FILESDIR}/4.0.1/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch"
- eapply "${FILESDIR}/4.0.1/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch"
-
- cmake-utils_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=ON
-
- -DLLVM_INCLUDE_TESTS=$(usex test)
- # TODO: fix detecting pthread upstream in stand-alone build
- -DPTHREAD_LIB='-lpthread'
- )
- 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
-}
diff --git a/sys-devel/lld/lld-5.0.2.ebuild b/sys-devel/lld/lld-5.0.2.ebuild
deleted file mode 100644
index a73ea749a341..000000000000
--- a/sys-devel/lld/lld-5.0.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# 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="https://releases.llvm.org/${PV/_//}/${MY_P}.tar.xz
- test? ( https://releases.llvm.org/${PV/_//}/${LLVM_P}.tar.xz )"
-
-LICENSE="UoI-NCSA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-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
-}
diff --git a/sys-devel/lld/lld-8.0.0_rc3.ebuild b/sys-devel/lld/lld-8.0.0_rc3.ebuild
deleted file mode 100644
index 7e98b34812a1..000000000000
--- a/sys-devel/lld/lld-8.0.0_rc3.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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 multiprocessing python-any-r1
-
-MY_P=${P/_/}.src
-LLVM_P=llvm-${PV/_/}.src
-
-DESCRIPTION="The LLVM linker (link editor)"
-HOMEPAGE="https://llvm.org/"
-SRC_URI="https://prereleases.llvm.org/${PV/_//}/${MY_P}.tar.xz
- test? ( https://prereleases.llvm.org/${PV/_//}/${LLVM_P}.tar.xz )"
-
-LICENSE="UoI-NCSA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-fbsd"
-IUSE="test"
-RESTRICT="!test? ( 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"
- -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
- -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}"
- )
-
- cmake-utils_src_configure
-}
-
-src_test() {
- cmake-utils_src_make check-lld
-}
diff --git a/sys-devel/lld/lld-8.0.0_rc2.ebuild b/sys-devel/lld/lld-8.0.0_rc5.ebuild
index 7e98b34812a1..7e98b34812a1 100644
--- a/sys-devel/lld/lld-8.0.0_rc2.ebuild
+++ b/sys-devel/lld/lld-8.0.0_rc5.ebuild