all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#33353] [PATCH] gnu: Add libcxx.
@ 2018-11-12 14:43 Ricardo Wurmus
  2018-11-16 22:01 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2018-11-12 14:43 UTC (permalink / raw)
  To: 33353; +Cc: Ricardo Wurmus

* gnu/packages/llvm.scm (libcxx): New variable.
---
 gnu/packages/llvm.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index a809180e2..848d7fde2 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -231,6 +231,29 @@ project includes the Clang front end, the Clang static analyzer, and several
 code analysis tools.")
     (license license:ncsa)))
 
+(define-public libcxx
+  (package
+    (name "libcxx")
+    (version (package-version llvm))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://llvm.org/releases/"
+                           version "/libcxx-" version ".src.tar.xz"))
+       (sha256
+        (base32
+         "0rzw4qvxp6qx4l4h9amrq02gp7hbg8lw4m0sy3k60f50234gnm3n"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("clang" ,clang)
+       ("llvm" ,llvm)))
+    (home-page "https://libcxx.llvm.org")
+    (synopsis "C++ standard library")
+    (description
+     "This package provides an implementation of the C++ standard library,
+targeting C++11, C++14 and above.")
+    (license license:expat)))
+
 (define-public clang-runtime
   (clang-runtime-from-llvm
    llvm
-- 
2.19.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#33353] [PATCH] gnu: Add libcxx.
  2018-11-12 14:43 [bug#33353] [PATCH] gnu: Add libcxx Ricardo Wurmus
@ 2018-11-16 22:01 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-11-16 22:01 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 33353

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:

> * gnu/packages/llvm.scm (libcxx): New variable.

[...]

> +    (home-page "https://libcxx.llvm.org")
> +    (synopsis "C++ standard library")
> +    (description
> +     "This package provides an implementation of the C++ standard library,
                                                                            ^
Maybe add: “for use with Clang”.

Otherwise LGTM, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-16 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-12 14:43 [bug#33353] [PATCH] gnu: Add libcxx Ricardo Wurmus
2018-11-16 22:01 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.