unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: Add LLVM variant with RTTI support.
@ 2016-11-06 19:34 Ricardo Wurmus
  2016-11-06 19:34 ` [PATCH 2/2] gnu: Add faust-2 Ricardo Wurmus
  2016-11-07 23:10 ` [PATCH 1/2] gnu: Add LLVM variant with RTTI support Leo Famulari
  0 siblings, 2 replies; 8+ messages in thread
From: Ricardo Wurmus @ 2016-11-06 19:34 UTC (permalink / raw)
  To: guix-devel

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

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 1a1f7ee..96679bf 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -85,6 +85,17 @@ languages is in development.  The compiler infrastructure includes mirror sets
 of programming tools as well as libraries with equivalent functionality.")
     (license license:ncsa)))
 
+(define-public llvm-with-rtti
+  (package (inherit llvm)
+    (name "llvm-with-rtti")
+    (arguments
+     (substitute-keyword-arguments (package-arguments llvm)
+       ((#:configure-flags flags)
+        `(append '("-DCMAKE_SKIP_BUILD_RPATH=FALSE"
+                   "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
+                   "-DLLVM_REQUIRES_RTTI=1")
+                 ,flags))))))
+
 (define (clang-runtime-from-llvm llvm hash)
   (package
     (name "clang-runtime")
-- 
2.10.1

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

end of thread, other threads:[~2016-11-08 20:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-06 19:34 [PATCH 1/2] gnu: Add LLVM variant with RTTI support Ricardo Wurmus
2016-11-06 19:34 ` [PATCH 2/2] gnu: Add faust-2 Ricardo Wurmus
2016-11-07 23:10   ` Leo Famulari
2016-11-07 23:10 ` [PATCH 1/2] gnu: Add LLVM variant with RTTI support Leo Famulari
2016-11-08  5:40   ` Eric Bavier
2016-11-08  8:10   ` Ricardo Wurmus
2016-11-08 16:04     ` Leo Famulari
2016-11-08 20:02       ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).