aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2016-07-07 00:06:42 -0500
committerEric Bavier <bavier@member.fsf.org>2016-07-18 20:28:21 -0500
commitee0774305f3f814c5bef65864c0b3543097fb7fc (patch)
tree7aa8e096d1a8067861c6b9747c8d6932461211c5 /gnu
parentac00973cd9aa2051b20bcd27054e00a5467c1218 (diff)
downloadguix-ee0774305f3f814c5bef65864c0b3543097fb7fc.tar.gz
guix-ee0774305f3f814c5bef65864c0b3543097fb7fc.zip
gnu: llvm: Add libffi and zlib inputs.
* gnu/packages/llvm.scm (llvm)[inputs]: Add libffi and zlib. [arguments]: Add cmake flag for libffi to #:configure-flags. Co-authored-by: Dennis Mungai <dmngaie@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/llvm.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 185dbdab4e..103b93ee4a 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016 Dennis Mungai <dmngaie@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -28,6 +29,8 @@
#:use-module (gnu packages)
#:use-module (gnu packages gcc)
#:use-module (gnu packages bootstrap) ;glibc-dynamic-linker
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages libffi)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
#:use-module (gnu packages xml))
@@ -48,9 +51,13 @@
(native-inputs
`(("python" ,python-wrapper)
("perl" ,perl)))
+ (inputs
+ `(("libffi" ,libffi)
+ ("zlib" ,zlib)))
(arguments
`(#:configure-flags '("-DCMAKE_SKIP_BUILD_RPATH=FALSE"
- "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE")))
+ "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE"
+ "-DLLVM_ENABLE_FFI:BOOL=TRUE")))
(home-page "http://www.llvm.org")
(synopsis "Optimizing compiler infrastructure")
(description