summary refs log tree commit diff
path: root/gnu/packages/llvm.scm
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2022-07-26 17:04:48 +0000
committer宋文武 <iyzsong@member.fsf.org>2022-08-04 14:24:33 +0800
commit06cd4a84f721ecbd1ee4a9371fe94b0057f36cfa (patch)
treeb86a64e6b1783a50ccc7629ca8dbaf8838e95793 /gnu/packages/llvm.scm
parentf3d33ba9f78d0367404a9bc434349f5d7b535d5b (diff)
downloadguix-06cd4a84f721ecbd1ee4a9371fe94b0057f36cfa.tar.gz
gnu: lldb: Update to 14.0.6.
* gnu/packages/llvm.scm (lldb): Update to 14.0.6.
[source]: Fetch using LLVM-MONOREPO.
[phases]: Add phase to change to source subdirectory.
[inputs]: Change from LLVM-13 and CLANG-13 to LLVM-14 and CLANG-14.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages/llvm.scm')
-rw-r--r--gnu/packages/llvm.scm21
1 files changed, 11 insertions, 10 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 5a2f411eb2..2a139f0471 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -1374,21 +1374,22 @@ misuse of libraries outside of the store.")
 (define-public lldb
   (package
     (name "lldb")
-    (version "13.0.1")
-    (source (origin
-              (method url-fetch)
-              (uri (llvm-uri "lldb" version))
-              (sha256
-               (base32
-                "05nvcbgb4rx860r3jzsbpvcbzpd0i7nsm5qrpkyfhg5vrh5mj32a"))))
+    (version "14.0.6")
+    (source (llvm-monorepo version))
     (build-system cmake-build-system)
     (arguments
-     `(#:configure-flags '("-DCMAKE_CXX_COMPILER=clang++")))
+     (list
+       #:configure-flags #~(list "-DOPENMP_TEST_CXX_COMPILER=clang++")
+       #:phases
+       #~(modify-phases %standard-phases
+         (add-after 'unpack 'chdir-to-source
+           (lambda _
+             (chdir "lldb"))))))
     (native-inputs
      (list pkg-config swig))
     (inputs
-     (list clang-13
-           llvm-13
+     (list clang-14
+           llvm-14
            ;; Optional (but recommended) inputs.
            ncurses
            libedit