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>
This commit is contained in:
Greg Hogan 2022-07-26 17:04:48 +00:00 committed by 宋文武
parent f3d33ba9f7
commit 06cd4a84f7
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -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