diff options
author | Lars-Dominik Braun <[email protected]> | 2022-11-27 15:39:34 +0100 |
---|---|---|
committer | Ricardo Wurmus <[email protected]> | 2022-12-31 14:48:46 +0100 |
commit | 973496100db29a6b23cf47fdabb28dd1b99da102 (patch) | |
tree | 5afee209432a39881f542a508d4796458ccea0a4 /tests/import-utils.scm | |
parent | 952953be39527ec315e95e039f27d9bdc020d37e (diff) |
import/cran: Always operate on source directory.
Extracting the source tarball multiple times is very slow and a
speedup of >2x (without network I/O) can be achieved by coalescing all
NEEDS-X? functions into a single one, which extracts a tarball only once.
* guix/import/cran.scm (tarball-needs-fortran?): Remove unused function.
(needs-fortran?): Ditto.
(tarball-files-match-pattern?): Ditto.
(tarball-needs-zlib?): Ditto.
(needs-zlib?): Ditto.
(tarball-needs-pkg-config?): Ditto.
(needs-pkg-config?): Ditto.
(source-dir->dependencies): New function.
(source->dependencies): New function.
(description->package): Use it.
Diffstat (limited to 'tests/import-utils.scm')
0 files changed, 0 insertions, 0 deletions