gnu: ldc: Build with newer llvm.

* gnu/packages/dlang.scm (ldc-bootstrap)[native-inputs]: Use lld-14 for
lld-wrapper in place of lld-11. Replace llvm-11 with llvm-14.
(ldc)[native-inputs]: Replace clang-11 with clang-14.
This commit is contained in:
Efraim Flashner 2023-04-10 16:56:51 +03:00
parent 1289bd1f20
commit 5cf5d03d21
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -190,8 +190,8 @@ (define ldc-bootstrap
("tzdata" ,tzdata)
("zlib" ,zlib)))
(native-inputs
`(("lld-wrapper" ,(make-lld-wrapper lld-11 #:lld-as-ld? #t))
("llvm" ,llvm-11)
`(("lld-wrapper" ,(make-lld-wrapper lld-14 #:lld-as-ld? #t))
("llvm" ,llvm-14)
("ldc" ,gdmd)
("ninja" ,ninja)
("python-wrapper" ,python-wrapper)
@ -357,7 +357,7 @@ (define (gnu-triplet->clang-arch system)
(append (delete "llvm"
(alist-replace "ldc" (list ldc-bootstrap)
(package-native-inputs ldc-bootstrap)))
`(("clang" ,clang-11) ;propagates llvm and clang-runtime
`(("clang" ,clang-14) ;propagates llvm and clang-runtime
("python-lit" ,python-lit))))))
(define-public dub