From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 13/14] gnu: Add SLEPc. Date: Sun, 28 Jun 2015 22:18:26 +0200 Message-ID: <87twtrtwml.fsf@gnu.org> References: <1435463151-32099-1-git-send-email-ericbavier@openmailbox.org> <1435463151-32099-14-git-send-email-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]:51064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9J2B-0005gF-4N for guix-devel@gnu.org; Sun, 28 Jun 2015 16:18:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9J28-0000e2-VH for guix-devel@gnu.org; Sun, 28 Jun 2015 16:18:34 -0400 In-Reply-To: <1435463151-32099-14-git-send-email-ericbavier@openmailbox.org> (ericbavier@openmailbox.org's message of "Sat, 27 Jun 2015 22:45:50 -0500") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: ericbavier@openmailbox.org Cc: guix-devel@gnu.org, Eric Bavier ericbavier@openmailbox.org skribis: > From: Eric Bavier > > * gnu/packages/maths.scm (slepc, slepc-complex, slepc-openmpi) > (slepc-complex-openmpi): New variables. [...] > + 'install 'delete-doc > + ;; SLEPc installs polluting HTML documentation alongside heade= rs in > + ;; $out/include. Delete these, as users can browse them onlin= e. It would be best to move them to a =E2=80=9Cdoc=E2=80=9D output, so that us= ers can have them handy and be sure it=E2=80=99s the documentation that correspond to the version they=E2=80=99re using. OK with this change. > +(define-public slepc-complex > + (package (inherit slepc) > + (name "slepc-complex") > + (propagated-inputs > + `(("petsc" ,petsc-complex) > + ,@(alist-delete "petsc" (package-propagated-inputs slepc)))) > + (synopsis "Scalable library for eigenproblems (with complex scalars)= "))) > + > +(define-public slepc-openmpi > + (package (inherit slepc) > + (name "slepc-openmpi") > + (inputs > + `(("mpi" ,openmpi) > + ("arpack" ,arpack-ng-openmpi) > + ,@(alist-delete "arpack" (package-inputs slepc)))) > + (propagated-inputs > + `(("petsc" ,petsc-openmpi) > + ,@(alist-delete "petsc" (package-propagated-inputs slepc)))) > + (synopsis "Scalable library for eigenproblems (with MPI support)"))) > + > +(define-public slepc-complex-openmpi > + (package (inherit slepc-openmpi) > + (name "slepc-complex-openmpi") > + (propagated-inputs > + `(("petsc" ,petsc-complex-openmpi) > + ,@(alist-delete "petsc" (package-propagated-inputs slepc-openmpi)= ))) > + (synopsis "Scalable library for eigenproblems (with complex scalars = and MPI support)"))) That may call for a better system to override dependencies and build options =C3=A0 la Spack. OTOH, we do want common variants to be available explicitly as packages so that they get built on Hydra and so on. Food for thought... Ludo=E2=80=99.