GNU bug report logs -
#27344
[PATCH 0/12] Add computational software and circuit simulators
Previous Next
Full log
View this message in rfc822 format
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.