[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/5] gnu: llvm: Add libffi and zlib inputs.
From: |
ericbavier |
Subject: |
[PATCH 3/5] gnu: llvm: Add libffi and zlib inputs. |
Date: |
Thu, 7 Jul 2016 00:06:42 -0500 |
From: Eric Bavier <address@hidden>
* gnu/packages/llvm.scm (llvm)[inputs]: Add libffi and zlib.
[arguments]: Add cmake flag for libffi to #:configure-flags.
Co-authored-by: Dennis Mungai <address@hidden>
---
gnu/packages/llvm.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 1af9568..877c2df 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2014, 2016 Eric Bavier <address@hidden>
;;; Copyright © 2015 Mark H Weaver <address@hidden>
;;; Copyright © 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2016 Dennis Mungai <address@hidden>
;;;
;;; 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")
;; Do not build with -g. This reduces the ~13.78GiB disk required for
;; a build down to ~2.6GiB
--
2.7.4
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Roel Janssen, 2016/07/05
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Dennis Mungai, 2016/07/05
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Ricardo Wurmus, 2016/07/06
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Efraim Flashner, 2016/07/06
- Re: [PATCH]:Resend: Add LLVM, clang and clang-runtime-3.8 to GNU Guix, Eric Bavier, 2016/07/06
- [PATCH 1/5] gnu: llvm: Update to 3.5.2., ericbavier, 2016/07/07
- [PATCH 2/5] gnu: llvm: Add "license:" prefix., ericbavier, 2016/07/07
- [PATCH 3/5] gnu: llvm: Add libffi and zlib inputs.,
ericbavier <=
- [PATCH 4/5] gnu: llvm: Update to 3.7.1., ericbavier, 2016/07/07
- [PATCH 5/5] gnu: llvm: Update to 3.8.0., ericbavier, 2016/07/07
- Re: [PATCH 1/5] gnu: llvm: Update to 3.5.2., Ludovic Courtès, 2016/07/11