From 06cd4a84f721ecbd1ee4a9371fe94b0057f36cfa Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Tue, 26 Jul 2022 17:04:48 +0000 Subject: gnu: lldb: Update to 14.0.6. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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: 宋文武 --- gnu/packages/llvm.scm | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'gnu/packages') 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 -- cgit v1.2.3