guix-devel/guix/build-system
Ludovic Courtès b3e2a5af9f build-system/python: Memoize the results of 'package-with-python2'.
Fixes <http://bugs.gnu.org/21675>.
Reported by Cyril Roelandt <tipecaml@gmail.com>.

Before this change, the command:

  guix build python2-oslo.utils -n --no-substitutes

would take 17.5s.  After, it is down to 2.9s.
Likewise, the command:

  guix graph python2-bandit | grep python2-setuptools.*Helve| wc -l

would return 412 nodes before, all functionally equivalent, and returns
a single one now.

* guix/build-system/python.scm (package-with-explicit-python): Remove
  'p' parameter.  Change to return a one-argument memoizing procedure.
  (package-with-python2): Adjust accordingly.
2015-10-13 00:06:11 +02:00
..
cmake.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
emacs.scm build: Add 'emacs-build-system'. 2015-07-08 10:53:05 +02:00
glib-or-gtk.scm build-system/glib-or-gtk: Don't generate 'icon-theme.cache'. 2015-09-11 20:24:30 +08:00
gnu.scm Use "normalized codesets" everywhere. 2015-10-04 00:10:03 +02:00
haskell.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
perl.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
python.scm build-system/python: Memoize the results of 'package-with-python2'. 2015-10-13 00:06:11 +02:00
r.scm build: Add cran-uri procedure. 2015-09-21 10:48:26 +02:00
ruby.scm build: ruby: Rewrite build system to use gem archives. 2015-08-18 17:58:13 -04:00
trivial.scm packages: Implement grafts. 2014-11-02 21:22:12 +01:00
waf.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00