* [bug#42130] [PATCH] gnu: Add lld.
@ 2020-06-29 20:36 Jakub Kądziołka
2020-07-02 21:39 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Jakub Kądziołka @ 2020-06-29 20:36 UTC (permalink / raw)
To: 42130
* gnu/packages/llvm.scm (lld): New variable.
---
gnu/packages/llvm.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 11e4cfbe4c..62cfb17727 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -532,6 +533,30 @@ output), and Binutils.")
(define-public clang clang-9)
(define-public clang-toolchain clang-toolchain-9)
+(define-public lld
+ (package
+ (name "lld")
+ (version (package-version llvm-10))
+ (source (origin
+ (method url-fetch)
+ (uri (llvm-download-uri "lld" version))
+ (sha256
+ (base32
+ "026pwcbczcg0j5c9h7hxxrn3ki81ia9m9sfn0sy0bvzffv2xg85r"))))
+ (build-system cmake-build-system)
+ (inputs
+ `(("llvm" ,llvm-10)))
+ (arguments
+ `(#:build-type "Release"
+ ;; TODO: Tests require the lit tool, which isn't installed by the LLVM
+ ;; package.
+ #:tests? #f))
+ (home-page "https://lld.llvm.org/")
+ (synopsis "Linker from the LLVM project")
+ (description "LLD is a high-performance linker, built as a set of reusable
+components which highly leverage existing libraries in the larger LLVM Project.")
+ (license license:asl2.0))) ; With LLVM exception
+
(define-public llvm-8
(package
(inherit llvm)
--
2.26.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#42130] [PATCH] gnu: Add lld.
2020-06-29 20:36 [bug#42130] [PATCH] gnu: Add lld Jakub Kądziołka
@ 2020-07-02 21:39 ` Ludovic Courtès
2020-07-02 23:38 ` bug#42130: " Jakub Kądziołka
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2020-07-02 21:39 UTC (permalink / raw)
To: Jakub Kądziołka; +Cc: 42130
Hi,
Jakub Kądziołka <kuba@kadziolka.net> skribis:
> * gnu/packages/llvm.scm (lld): New variable.
LGTM, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#42130: [PATCH] gnu: Add lld.
2020-07-02 21:39 ` Ludovic Courtès
@ 2020-07-02 23:38 ` Jakub Kądziołka
0 siblings, 0 replies; 3+ messages in thread
From: Jakub Kądziołka @ 2020-07-02 23:38 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 42130-done
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
On Thu, Jul 02, 2020 at 11:39:15PM +0200, Ludovic Courtès wrote:
> Hi,
>
> Jakub Kądziołka <kuba@kadziolka.net> skribis:
>
> > * gnu/packages/llvm.scm (lld): New variable.
>
> LGTM, thanks!
Thanks, pushed as 5ce123bd9a1597bdbb8c1a83fb73ae82a0b86f60.
Regards,
Jakub Kądziołka
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-02 23:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-29 20:36 [bug#42130] [PATCH] gnu: Add lld Jakub Kądziołka
2020-07-02 21:39 ` Ludovic Courtès
2020-07-02 23:38 ` bug#42130: " Jakub Kądziołka
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).