[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27344] [PATCH v2 07/12] gnu: Add asco.
From: |
Ludovic Courtès |
Subject: |
[bug#27344] [PATCH v2 07/12] gnu: Add asco. |
Date: |
Thu, 28 Sep 2017 14:52:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Theodoros Foradis <address@hidden> 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’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#27344] [PATCH v2 07/12] gnu: Add asco.,
Ludovic Courtès <=