[PATCH] gnu: Add lld.

DoneSubmitted by Jakub Kądziołka.
Details
2 participants
  • Jakub Kądziołka
  • Ludovic Courtès
Owner
unassigned
Severity
normal
J
J
Jakub Kądziołka wrote 6 days ago
(address . guix-patches@gnu.org)
20200629203648.3429-1-kuba@kadziolka.net
* gnu/packages/llvm.scm (lld): New variable.--- gnu/packages/llvm.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
Toggle diff (45 lines)diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scmindex 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
L
L
Ludovic Courtès wrote 3 days ago
(name . Jakub Kądziołka)(address . kuba@kadziolka.net)(address . 42130@debbugs.gnu.org)
87zh8hppfg.fsf@gnu.org
Hi,
Jakub Kądziołka <kuba@kadziolka.net> skribis:
Toggle quote (2 lines)> * gnu/packages/llvm.scm (lld): New variable.
LGTM, thanks!
Ludo’.
J
J
Jakub Kądziołka wrote 3 days ago
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 42130-done@debbugs.gnu.org)
20200702233823.7ogzgihpcp5kpjhd@gravity
On Thu, Jul 02, 2020 at 11:39:15PM +0200, Ludovic Courtès wrote:
Toggle quote (8 lines)> 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
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl7+b+8ACgkQ4xWnWEYTFWQjdxAA5eMpFcv0TBT/gRzLGLBvuP1RWOI75/3b0n+KKIFVMXZfzn0hVk39hMogrKSR2YcWszQ5Up8LGG6RxDZTfZqpssIjSgo3e1hCQ6tg0gL3Z1bYyElvnMGJYbn0kgzsDbbzZjvE2WWPmlBZGP62yPTHI2Ho3uQSfmYIMffU7988gqpNNMbVIhwO/rTNJx8427TRf+x9ft0Qjh4WMgyQNokP7aamWrI+lXs8MbroVDPL2LKaDq6gtIKkG5oVdpKhSVjwlFoM1uJRj6Qsoo8bAb1064sNKLsb2mv9XTnOvMeRLOAmZTKNZoOo4j2UP3enjKf3sUYt7zRvyClEF1IrsKhd3zJdGrVPPd2JCLluUJ8kqn1Telvv/wpED7pybb3UrIKHqI28p2KBTjIlPxfjDiVCuroN+dvLMWJxSOp5B3Um4nO5FnmJw5oKwajkc2efGd/Ep09pRT+y11QMwGDAaPtm7Hg6EL98rq4b40whbCTu0Y6zQEdWtSkib9rKWX34Q0mWvatW5EFn1J/P8wEiMvkOg7+ILMQeyHsvdWEg7loyuvH9lC1J2NdihCPy8EC2R+6pE9Hz3ekcZAETTZ/lW8EAvPdLC7lqkpV5p4UGfukFdktqZGXqU3Ae579DPET/3x00zDZnlG2UOuAkz4AYjA/TF69Ueyka7yGBnqZbCakTgEw==UOb6-----END PGP SIGNATURE-----

Closed
?