GNU bug report logs - #27344
[PATCH 0/12] Add computational software and circuit simulators

Previous Next

Package: guix-patches;

Reported by: Theodoros Foradis <theodoros.for <at> openmailbox.org>

Date: Mon, 12 Jun 2017 15:27:03 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: Theodoros Foradis <theodoros.for <at> openmailbox.org>
Cc: 27344 <at> debbugs.gnu.org
Subject: [bug#27344] [PATCH v2 07/12] gnu: Add asco.
Date: Thu, 28 Sep 2017 14:52:49 +0200
Theodoros Foradis <theodoros.for <at> openmailbox.org> 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"
> +               (("<FULL_PATH_TO_MPICH>/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 “coreutils-minimal” as otherwise we’d be picking
up the other coreutils.

Thanks,
Ludo’.




This bug report was last modified 7 years and 195 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.