From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxYKM-00013n-32 for guix-patches@gnu.org; Thu, 28 Sep 2017 08:54:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxYKI-0001q6-5B for guix-patches@gnu.org; Thu, 28 Sep 2017 08:54:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55651) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxYKI-0001pv-2I for guix-patches@gnu.org; Thu, 28 Sep 2017 08:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dxYKH-0006gH-Rf for guix-patches@gnu.org; Thu, 28 Sep 2017 08:54:01 -0400 Subject: [bug#27344] [PATCH v2 07/12] gnu: Add asco. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170622191005.25422-1-theodoros.for@openmailbox.org> <20170622191005.25422-7-theodoros.for@openmailbox.org> Date: Thu, 28 Sep 2017 14:52:49 +0200 In-Reply-To: <20170622191005.25422-7-theodoros.for@openmailbox.org> (Theodoros Foradis's message of "Thu, 22 Jun 2017 22:10:00 +0300") Message-ID: <87h8vnrnmm.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Theodoros Foradis Cc: 27344@debbugs.gnu.org Theodoros Foradis skribis: > * gnu/packages/engineering.scm (asco): New variable. [...] > + (add-before 'build 'fix-paths > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* '("errfunc.c" "asco.c") > + (("cp ") (string-append (which "cp") " ")) > + (("nice") (string-append (assoc-ref inputs "coreutils") "= /bin/nice"))) > + (substitute* "Makefile" > + (("/bin/mpicc") (which "mpicc"))) > + #t)) > + (replace 'install ; no install target > + (lambda* (#:key outputs #:allow-other-keys) > + (for-each (lambda (file) > + (install-file file (string-append > + (assoc-ref outputs "out") > + "/bin"))) > + '("asco" "asco-mpi" "asco-test" > + "tools/alter/alter" "tools/log/log")) > + #t))))) > + (native-inputs > + `(("mpi" ,openmpi))) > + (inputs > + `(("coreutils" ,coreutils-minimal))) I changed the label to =E2=80=9Ccoreutils-minimal=E2=80=9D as otherwise we= =E2=80=99d be picking up the other coreutils. Thanks, Ludo=E2=80=99.