From mboxrd@z Thu Jan 1 00:00:00 1970 From: ericbavier@openmailbox.org Subject: [PATCH 3/5] gnu: llvm: Add libffi and zlib inputs. Date: Thu, 7 Jul 2016 00:06:42 -0500 Message-ID: <20160707050644.30438-3-ericbavier@openmailbox.org> References: <20160707050644.30438-1-ericbavier@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL1XU-0001C4-2A for guix-devel@gnu.org; Thu, 07 Jul 2016 01:07:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bL1XS-0003jD-VP for guix-devel@gnu.org; Thu, 07 Jul 2016 01:07:51 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:38765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL1XS-0003j0-PQ for guix-devel@gnu.org; Thu, 07 Jul 2016 01:07:50 -0400 In-Reply-To: <20160707050644.30438-1-ericbavier@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: Eric Bavier From: Eric Bavier * gnu/packages/llvm.scm (llvm)[inputs]: Add libffi and zlib. [arguments]: Add cmake flag for libffi to #:configure-flags. Co-authored-by: Dennis Mungai --- 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 =C2=A9 2014, 2016 Eric Bavier ;;; Copyright =C2=A9 2015 Mark H Weaver ;;; Copyright =C2=A9 2015 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2016 Dennis Mungai ;;; ;;; 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=3DFALSE" - "-DCMAKE_BUILD_WITH_INSTALL_RPATH=3DFALSE") + "-DCMAKE_BUILD_WITH_INSTALL_RPATH=3DFALSE" + "-DLLVM_ENABLE_FFI:BOOL=3DTRUE") =20 ;; Do not build with -g. This reduces the ~13.78GiB disk require= d for ;; a build down to ~2.6GiB --=20 2.7.4