From 5cf5d03d2172d52550cceb7bd0f518123290618a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 10 Apr 2023 16:56:51 +0300 Subject: [PATCH] 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. --- gnu/packages/dlang.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm index 92d892e20d..7b6e9cf267 100644 --- a/gnu/packages/dlang.scm +++ b/gnu/packages/dlang.scm @@ -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