diff mbox series

[bug#56785] gnu: lldb: Update to 14.0.6.

Message ID 25dc0f6a187300a8113a5e35d9164dd021a246ef.1658855029.git.code@greghogan.com
State Accepted
Headers show
Series [bug#56785] gnu: lldb: Update to 14.0.6. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Greg Hogan July 26, 2022, 5:04 p.m. UTC
* 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.
---
 gnu/packages/llvm.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Comments

宋文武 Aug. 4, 2022, 6:25 a.m. UTC | #1
Greg Hogan <code@greghogan.com> writes:

> * gnu/packages/llvm.scm (lldb): Update to 14.0.6.

Pushed, thank you!
diff mbox series

Patch

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 @@  (define-public lld-as-ld-wrapper
 (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