bug#60754: [PATCH 1/2] gnu: Add mold.
Commit Message
Hi,
Zhu Zihao <all_but_last@163.com> skribis:
> * gnu/local.mk (GNU_SYSTEM_MODULES): Add new file.
> * gnu/packages/mold.scm: New file.
> * gnu/packages/mold.scm (mold): New variable.
[...]
> * gnu/packages/mold.scm(make-mold-wrapper): New variable.
> (mold-wrapper): New variable.
> (mold-as-ld-wrapper): New variable.
Applied both with minor changes (see below), thanks.
I’m also closing the two other issues you mentioned that were adding
mold. Please let us know if there’s something to borrow from them!
Ludo’.
@@ -77,12 +77,12 @@ (define-public mold
(delete-file "test/elf/rpath.sh"))))))
(inputs (list mimalloc openssl tbb xxhash zlib `(,zstd "lib")))
(home-page "https://github.com/rui314/mold")
- (synopsis "Faster drop-in replacement for Unix linkers")
+ (synopsis "Fast linker")
(description
- "Mold is a faster drop-in replacement for existing Unix linkers.
+ "Mold is a faster drop-in replacement for existing linkers.
It is designed to increase developer productivity by reducing build time,
especially in rapid debug-edit-rebuild cycles.")
- (license license:agpl3+)))
+ (license license:agpl3)))
(define* (make-mold-wrapper mold #:key mold-as-ld?)
"Return a MOLD wrapper. When MOLD-AS-LD? is true, create a 'ld' symlink that