diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-10-13 18:07:41 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-10-22 22:09:00 -0700 |
commit | 2890ad332fcdfd4bc92b127d783975437c8b718b (patch) | |
tree | aefd2572f6557f715bce58bc77edbc318c002b2c /build-aux/download.scm | |
parent | 6e644cfdb38b74a83bfc133807b5f503b54e8c73 (diff) | |
download | guix-2890ad332fcdfd4bc92b127d783975437c8b718b.tar guix-2890ad332fcdfd4bc92b127d783975437c8b718b.tar.gz |
build: Factorize module compilation in (guix build compile).
* guix/build/compile.scm: New file.
* Makefile.am (MODULES): Add it.
* build-aux/compile-all.scm: Use it.
(warnings, file->module, load-module-file)
(%default-optimizations, %lightweight-optimizations)
(optimization-options, compile-file*): Remove.
<top level>: Use 'compile-files'.
* guix/build/pull.scm (%default-optimizations)
(%lightweight-optimizations, optimization-options): Remove.
(build-guix): Rewrite as a call to 'compile-files'.
* guix/discovery.scm (file-name->module-name): Export.
Diffstat (limited to 'build-aux/download.scm')
0 files changed, 0 insertions, 0 deletions