summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-10-21 21:31:36 +0200
committerMarius Bakke <marius@gnu.org>2020-10-22 18:41:29 +0200
commitf11733bd9d4f8deb187364d5a9f5e365be048733 (patch)
treee80c68a0c59b98881571bca07b9130b1907ef045
parentf91046ce67fcf75183c749fec7dc603d5eba8838 (diff)
gnu: Add LLDB.
* gnu/packages/llvm.scm (lldb): New public variable.
-rw-r--r--gnu/packages/llvm.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index eb93433c5bf..b2b80572fb8 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -48,12 +48,16 @@
48 #:use-module (gnu packages gcc) 48 #:use-module (gnu packages gcc)
49 #:use-module (gnu packages bootstrap) ;glibc-dynamic-linker 49 #:use-module (gnu packages bootstrap) ;glibc-dynamic-linker
50 #:use-module (gnu packages compression) 50 #:use-module (gnu packages compression)
51 #:use-module (gnu packages libedit)
51 #:use-module (gnu packages libffi) 52 #:use-module (gnu packages libffi)
53 #:use-module (gnu packages lua)
52 #:use-module (gnu packages mpi) 54 #:use-module (gnu packages mpi)
55 #:use-module (gnu packages ncurses)
53 #:use-module (gnu packages onc-rpc) 56 #:use-module (gnu packages onc-rpc)
54 #:use-module (gnu packages perl) 57 #:use-module (gnu packages perl)
55 #:use-module (gnu packages pkg-config) 58 #:use-module (gnu packages pkg-config)
56 #:use-module (gnu packages python) 59 #:use-module (gnu packages python)
60 #:use-module (gnu packages swig)
57 #:use-module (gnu packages xml) 61 #:use-module (gnu packages xml)
58 #:export (system->llvm-target)) 62 #:export (system->llvm-target))
59 63
@@ -875,6 +879,40 @@ of programming tools as well as libraries with equivalent functionality.")
875components which highly leverage existing libraries in the larger LLVM Project.") 879components which highly leverage existing libraries in the larger LLVM Project.")
876 (license license:asl2.0))) ; With LLVM exception 880 (license license:asl2.0))) ; With LLVM exception
877 881
882(define-public lldb
883 (package
884 (name "lldb")
885 (version "11.0.0")
886 (source (origin
887 (method url-fetch)
888 (uri (llvm-uri "lldb" version))
889 (sha256
890 (base32
891 "0wic9lyb2la9bkzdc13szkm4f793w1mddp50xvh237iraygw0w45"))))
892 (build-system cmake-build-system)
893 (arguments
894 `(#:configure-flags '("-DCMAKE_CXX_COMPILER=clang++")))
895 (native-inputs
896 `(("pkg-config" ,pkg-config)
897 ("swig" ,swig)))
898 (inputs
899 `(("clang" ,clang-11)
900 ("llvm" ,llvm-11)
901
902 ;; Optional (but recommended) inputs.
903 ("curses" ,ncurses)
904 ("editline" ,libedit)
905 ("liblzma" ,xz)
906 ("libxml2" ,libxml2)
907 ("lua" ,lua)
908 ("python" ,python)))
909 (home-page "https://lldb.llvm.org/")
910 (synopsis "Low level debugger")
911 (description
912 "LLDB is a high performance debugger built as a set of reusable components
913which highly leverage existing libraries in the larger LLVM project.")
914 (license license:asl2.0))) ;with LLVM exceptions
915
878(define-public libcxx 916(define-public libcxx
879 (package 917 (package
880 (name "libcxx") 918 (name "libcxx")