aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-02-16 23:44:32 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-02-16 23:44:32 +0800
commitd3df6f6482684647a7d45eb0a6a26cbd67d3bcd9 (patch)
tree50b1f8c9853dd823d6700899bcbb0dbab6e01030
parent934a3d22a05d8740562b6972e6cb92a6fa8ceba6 (diff)
downloadalicelinux-d3df6f6482684647a7d45eb0a6a26cbd67d3bcd9.tar.gz
alicelinux-d3df6f6482684647a7d45eb0a6a26cbd67d3bcd9.zip
mold: new added
-rw-r--r--repos/extra/mold/.checksum1
-rw-r--r--repos/extra/mold/.files15
-rw-r--r--repos/extra/mold/abuild4
-rw-r--r--repos/extra/mold/readme13
4 files changed, 33 insertions, 0 deletions
diff --git a/repos/extra/mold/.checksum b/repos/extra/mold/.checksum
new file mode 100644
index 00000000..0f358ef6
--- /dev/null
+++ b/repos/extra/mold/.checksum
@@ -0,0 +1 @@
+601501cbde77d4088537af3f92feab036ece3fdf790ba572625c2a19a0d5ac3f mold-v2.36.0.tar.gz
diff --git a/repos/extra/mold/.files b/repos/extra/mold/.files
new file mode 100644
index 00000000..d3588452
--- /dev/null
+++ b/repos/extra/mold/.files
@@ -0,0 +1,15 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/ld.mold -> mold
+-rwxr-xr-x root/root usr/bin/mold
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/mold/
+-rwxr-xr-x root/root usr/lib/mold/mold-wrapper.so
+drwxr-xr-x root/root usr/libexec/
+drwxr-xr-x root/root usr/libexec/mold/
+lrwxrwxrwx root/root usr/libexec/mold/ld -> ../../bin/mold
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+lrwxrwxrwx root/root usr/share/man/man1/ld.mold.1.gz -> mold.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mold.1.gz
diff --git a/repos/extra/mold/abuild b/repos/extra/mold/abuild
new file mode 100644
index 00000000..75e8fbdd
--- /dev/null
+++ b/repos/extra/mold/abuild
@@ -0,0 +1,4 @@
+name=mold
+version=2.36.0
+release=1
+source="https://github.com/rui314/${name}/archive/v${version}/${name}-v${version}.tar.gz"
diff --git a/repos/extra/mold/readme b/repos/extra/mold/readme
new file mode 100644
index 00000000..fa4f7cfb
--- /dev/null
+++ b/repos/extra/mold/readme
@@ -0,0 +1,13 @@
+usage
+=====
+
+for GCC and clang:
+ '-fuse-ld=mold'
+
+
+for rust:
+ [target.x86_64-unknown-linux-musl]
+ linker = "clang"
+ rustflags = ["-C", "link-arg=-fuse-ld=/path/to/mold"]
+
+source: https://github.com/rui314/mold