summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2023-10-23 20:43:49 +0800
committerEfraim Flashner <efraim@flashner.co.il>2023-11-12 08:49:45 +0200
commitc84119fb2aa23194abfe43c210f2a7f11d10d911 (patch)
tree565a76973de4777c7a6e000fa7aeb2f6c3a22356 /gnu/packages
parentabdd1949f40783b6767e147e39a9bff7682abe06 (diff)
gnu: Add clang-16.
* gnu/packages/llvm.scm (clang-16): New variable. Change-Id: I0e62bced33d2ff5a3064917d4e95004d43dc56fb
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/llvm.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index a410049738..59563c5f43 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -1461,6 +1461,18 @@ Library.")
(define-public clang-runtime-16
(clang-runtime-from-llvm llvm-16))
+(define-public clang-16
+ (clang-from-llvm
+ llvm-16 clang-runtime-16
+ #:tools-extra
+ (origin
+ (method url-fetch)
+ (uri (llvm-uri "clang-tools-extra"
+ (package-version llvm-16)))
+ (sha256
+ (base32
+ "0cbgffciql06a1i0ybyyqbnkkr4g7x8cxaar5a5v3415vd27hk0p")))))
+
;; Default LLVM and Clang version.
(define-public libomp libomp-13)
(define-public llvm llvm-13)