mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
sys-devel/mold: drop 1.0.0-r1, 1.0.1-r1, 1.0.2
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1 @@
|
||||
DIST mold-1.0.0.tar.gz 3482927 BLAKE2B 56ebc267370548a2f91a71ebeed87871cede6f564c29dc7d44a499b95fe570f6e9c8a717baf2d9e235c7057c41e735b315493bd23d3b44574d2a44b14aaf5ef8 SHA512 99ffd0b9e2ff7157cc8b26808675c9d3147bf88961155ae19ed9b99990ac647b7ec31ee78d05062decc6d41e66d99aa0fdc398d119803929b8dbff51eb3d077c
|
||||
DIST mold-1.0.1.tar.gz 3675262 BLAKE2B 0e40860d3c0a221d368c94b9f58c20b245ee61de6f9eb6d1454ed3b6f103933c79ddd7358049e2aacf497221232d952c2117ba2b3371cbe37fb8ad4ae42461c2 SHA512 cc03a7db395362b97879c28942397d4443d12b72e067b6f979b1ece4d8aab06154b4c1a0f4c57d6ac505bcd4f892bf9a355ad281d628d4d544d8f70edaf34b72
|
||||
DIST mold-1.0.2.tar.gz 4501088 BLAKE2B 51bac4bd44a785893c04dd03ccef6119b41a036789938a354545e7a22f16852b52079b3a3e4d27db860748e13966be18bbe813bf04b15c496f35d16ecca4b22c SHA512 27f6664e63c76c32a6e3ec8bfc4b204138926001f5431be94da9ce47a5d9d3b51aa634c5cd6df45be660d52ac0507f7b7eec17134e35db402db5747d2ecc3715
|
||||
DIST mold-1.0.3.tar.gz 4501162 BLAKE2B 68db6708ae05b3a4caf19bff8b381c9a7d045b7313e15ee9c0765042ef02898404527735a8f5379a2d213a7654f656cfe24eb20497d6d4f5e9ed666988050733 SHA512 50b4a80c8b7a4925e6e85a35e92529867648df61ca016ee662b3fce7cf9d4a8fd717311ec0542aa594f44b49d48de34d51d7e94cae0f21bda01fdd4418990f38
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
From cea6a569afa544826c91fda7ef0f9941f50c9459 Mon Sep 17 00:00:00 2001
|
||||
From: Rui Ueyama <ruiu@cs.stanford.edu>
|
||||
Date: Wed, 12 Jan 2022 16:31:04 +0900
|
||||
Subject: [PATCH] [ELF] Remove "GNU gold" from the --version string
|
||||
|
||||
That substring was introduced in de7ba9014f9d9d70b9173c4bfac6c3433186ba49
|
||||
to appease Gentoo's dev-libs/jansson-2.13.1-r1 package. But I think I
|
||||
shouldn't done that from the beginning to avoid the sitaution of the
|
||||
"User-Agent" string of the web browser, which everybody claims they
|
||||
are Mozilla, AppleWebKit, Chrome and Safari simultaneously.
|
||||
---
|
||||
main.cc | 4 ++--
|
||||
test/elf/version.sh | 6 +++---
|
||||
2 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/main.cc b/main.cc
|
||||
index 38a41cdf..8831f7f2 100644
|
||||
--- a/main.cc
|
||||
+++ b/main.cc
|
||||
@@ -26,10 +26,10 @@ std::string_view errno_string() {
|
||||
|
||||
#ifdef GIT_HASH
|
||||
const std::string mold_version =
|
||||
- "mold " MOLD_VERSION " (" GIT_HASH "; compatible with GNU ld and GNU gold)";
|
||||
+ "mold " MOLD_VERSION " (" GIT_HASH "; compatible with GNU ld)";
|
||||
#else
|
||||
const std::string mold_version =
|
||||
- "mold " MOLD_VERSION " (compatible with GNU ld and GNU gold)";
|
||||
+ "mold " MOLD_VERSION " (compatible with GNU ld)";
|
||||
#endif
|
||||
|
||||
void cleanup() {
|
||||
diff --git a/test/elf/version.sh b/test/elf/version.sh
|
||||
index ae52b504..4ca576ef 100755
|
||||
--- a/test/elf/version.sh
|
||||
+++ b/test/elf/version.sh
|
||||
@@ -10,10 +10,10 @@ mold="$(pwd)/mold"
|
||||
t=out/test/elf/$testname
|
||||
mkdir -p $t
|
||||
|
||||
-"$mold" -v | grep -q 'mold .*compatible with GNU ld and GNU gold'
|
||||
-"$mold" --version | grep -q 'mold .*compatible with GNU ld and GNU gold'
|
||||
+"$mold" -v | grep -q 'mold .*compatible with GNU ld'
|
||||
+"$mold" --version | grep -q 'mold .*compatible with GNU ld'
|
||||
|
||||
-"$mold" -V | grep -q 'mold .*compatible with GNU ld and GNU gold'
|
||||
+"$mold" -V | grep -q 'mold .*compatible with GNU ld'
|
||||
"$mold" -V | grep -q elf_x86_64
|
||||
"$mold" -V | grep -q elf_i386
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Modern Linker"
|
||||
HOMEPAGE="https://github.com/rui314/mold"
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/rui314/mold.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
|
||||
# Try again after 1.0 (nearly there, but path-related issues)
|
||||
# https://github.com/rui314/mold/issues/137
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-cpp/tbb-2021.4.0:=
|
||||
dev-libs/xxhash:=
|
||||
sys-libs/zlib
|
||||
!kernel_Darwin? (
|
||||
<dev-libs/mimalloc-2:=
|
||||
dev-libs/openssl:=
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Needs unpackaged dwarfdump
|
||||
rm test/elf/{compress-debug-sections.sh,compressed-debug-info.sh} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC CXX
|
||||
|
||||
emake \
|
||||
SYSTEM_TBB=1 \
|
||||
SYSTEM_MIMALLOC=1 \
|
||||
STRIP="true" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake \
|
||||
SYSTEM_TBB=1 \
|
||||
SYSTEM_MIMALLOC=1 \
|
||||
check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
SYSTEM_TBB=1 \
|
||||
SYSTEM_MIMALLOC=1 \
|
||||
DESTDIR="${D}" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
STRIP="true" \
|
||||
install
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Modern Linker"
|
||||
HOMEPAGE="https://github.com/rui314/mold"
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/rui314/mold.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
|
||||
# Try again after 1.0 (nearly there, but path-related issues)
|
||||
# https://github.com/rui314/mold/issues/137
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-cpp/tbb-2021.4.0:=
|
||||
dev-libs/xxhash:=
|
||||
sys-libs/zlib
|
||||
!kernel_Darwin? (
|
||||
>=dev-libs/mimalloc-2:=
|
||||
dev-libs/openssl:=
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-no-gold-in-version.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Needs unpackaged dwarfdump
|
||||
rm test/elf/{compress-debug-sections,compressed-debug-info}.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC CXX
|
||||
|
||||
emake \
|
||||
SYSTEM_TBB=1 \
|
||||
SYSTEM_MIMALLOC=1 \
|
||||
SYSTEM_XXHASH=1 \
|
||||
STRIP="true" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake \
|
||||
SYSTEM_TBB=1 \
|
||||
SYSTEM_MIMALLOC=1 \
|
||||
check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
SYSTEM_TBB=1 \
|
||||
SYSTEM_MIMALLOC=1 \
|
||||
SYSTEM_XXHASH=1 \
|
||||
DESTDIR="${D}" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
STRIP="true" \
|
||||
install
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Modern Linker"
|
||||
HOMEPAGE="https://github.com/rui314/mold"
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/rui314/mold.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
|
||||
# Try again after 1.0 (nearly there, but path-related issues)
|
||||
# https://github.com/rui314/mold/issues/137
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-cpp/tbb-2021.4.0:=
|
||||
dev-libs/xxhash:=
|
||||
sys-libs/zlib
|
||||
!kernel_Darwin? (
|
||||
>=dev-libs/mimalloc-2:=
|
||||
dev-libs/openssl:=
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Needs unpackaged dwarfdump
|
||||
rm test/elf/{compress-debug-sections,compressed-debug-info}.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC CXX
|
||||
|
||||
emake \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
CXXFLAGS="${CXXFLAGS}" \
|
||||
SYSTEM_TBB=1 \
|
||||
SYSTEM_MIMALLOC=1 \
|
||||
SYSTEM_XXHASH=1 \
|
||||
STRIP="true" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake \
|
||||
SYSTEM_TBB=1 \
|
||||
SYSTEM_MIMALLOC=1 \
|
||||
check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
SYSTEM_TBB=1 \
|
||||
SYSTEM_MIMALLOC=1 \
|
||||
SYSTEM_XXHASH=1 \
|
||||
DESTDIR="${D}" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
STRIP="true" \
|
||||
install
|
||||
}
|
||||
Reference in New Issue
Block a user