guix-play/guix/build-system
Ludovic Courtès f95fc73248
build-system: Use 'sexp->gexp' for plain sexps.
This reduces memory allocations and list traversals during 'gexp->sexp',
'gexp-inputs', etc.

* guix/build-system/cargo.scm (cargo-build): Use 'sexp->gexp' for sexps
known to not contain file-like objects.  Change default #:phases to a
symbol.
* guix/build-system/cmake.scm (cmake-build, cmake-cross-build): Likewise.
* guix/build-system/copy.scm (copy-build): Likewise.
* guix/build-system/font.scm (font-build): Likewise.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Likewise.
* guix/build-system/gnu.scm (%strip-flags, %strip-directories): New
variables.
(gnu-build): Use them.  Use 'sexp->gexp' where appropriate.
(gnu-cross-build): Likewise.
* guix/build-system/meson.scm (meson-build): Likewise.
* guix/build-system/perl.scm (perl-build): Likewise.
* guix/build-system/python.scm (python-build): Likewise.
* guix/build-system/ruby.scm (ruby-build): Likewise.
* guix/build-system/scons.scm (scons-build): Likewise.
* guix/build-system/texlive.scm (texlive-build): Likewise.
* guix/build-system/trivial.scm (trivial-build): Likewise.
* guix/build-system/waf.scm (waf-build): Likewise.
* guix/build-system/android-ndk.scm (android-ndk-build): Likewise.
* guix/build-system/ant.scm (ant-build): Likewise.
* guix/build-system/asdf.scm (asdf-build/source, asdf-build): Likewise.
* guix/build-system/chicken.scm (chicken-build): Likewise.
* guix/build-system/clojure.scm (clojure-build): Likewise.
(source->output-path, maybe-guile->guile): Remove.
* guix/build-system/dub.scm (dub-build): Likewise.
* guix/build-system/emacs.scm (emacs-build): Likewise.
* guix/build-system/go.scm (go-build): Likewise.
* guix/build-system/haskell.scm (haskell-build): Likewise.
* guix/build-system/julia.scm (julia-build): Likewise.
* guix/build-system/linux-module.scm (linux-module-build)
(linux-module-build-cross): Likewise.
* guix/build-system/maven.scm (maven-build): Likewise.
* guix/build-system/minify.scm (minify-build): Likewise.
* guix/build-system/node.scm (node-build): Likewise.
* guix/build-system/qt.scm (qt-build, qt-cross-build): Likewise.
* guix/build-system/r.scm (r-build): Likewise.
* guix/build-system/rakudo.scm (rakudo-build): Likewise.
* guix/build-system/renpy.scm (renpy-build): Likewise.
* guix/packages.scm (patch-and-repack): Use 'sexp->gexp' when SNIPPET is
a pair.
* guix/svn-download.scm (svn-multi-fetch): Use 'sexp->gexp' for
'svn-multi-reference-locations'.
2021-03-30 22:48:44 +02:00
..
android-ndk.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
ant.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
asdf.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
cargo.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
chicken.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
clojure.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
cmake.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
copy.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
dub.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
dune.scm build-system: Rewrite using gexps. 2021-03-30 22:48:43 +02:00
emacs.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
font.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
glib-or-gtk.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
gnu.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
go.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
guile.scm build-system: Rewrite using gexps. 2021-03-30 22:48:43 +02:00
haskell.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
julia.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
linux-module.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
maven.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
meson.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
minify.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
node.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
ocaml.scm build-system: Rewrite using gexps. 2021-03-30 22:48:43 +02:00
perl.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
python.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
qt.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
r.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
rakudo.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
renpy.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
ruby.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
scons.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
texlive.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
trivial.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00
waf.scm build-system: Use 'sexp->gexp' for plain sexps. 2021-03-30 22:48:44 +02:00