Commit graph

49733 commits

Author SHA1 Message Date
Ludovic Courtès 5166d02730
gnu: bootstrap: 'bootstrap-origin' preserves eq?-ness when no changes are made.
This reduces the number of lookups in the 'add-data-to-store' cache from
2743 to 2705 (hit rate: 11% to 10%) when running

  GUIX_PROFILING=add-data-to-store-cache guix build libreoffice -nd

The execution time of "guix build libreoffice -nd" goes from 1.80s to 1.78s.

* gnu/packages/bootstrap.scm (bootstrap-origin): Return SOURCE unchanged
when its has no patches and no snippet.
2019-10-27 23:05:00 +01:00
Ludovic Courtès d727a9343d
derivations: Don't memoize 'derivation->bytevector'.
Its hit rate was only 8%.  Removing it reduces heap size of "guix build
libreoffice -nd" from 69MiB to 61MiB and the wall-clock time is unchanged.

* guix/derivations.scm (derivation->bytevector): Change from 'mlambda'
to 'lambda'.
2019-10-27 23:05:00 +01:00
Ludovic Courtès f5fca9a82c
gexp: Cache the module to derivation mappings.
This reduces the number of 'add-data-to-store' cache lookups from 3329
to 2743 (hit rate: 27% to 11%) when running:

  GUIX_PROFILING=add-data-to-store-cache guix build libreoffice -nd

Execution time of "guix build libreoffice -nd" goes from 1.86s to 1.80s.

* guix/gexp.scm (imported+compiled-modules): Wrap body in 'mcached'.
2019-10-27 23:05:00 +01:00
Ludovic Courtès c57e417eff
store: Allow objects in the cache to be inserted and search for with 'equal?'.
* guix/store.scm (cache-object-mapping): Add #:vhash-cons parameter and
honor it.
(lookup-cached-object): Add #:vhash-fold* parameter and honor it.
(%mcached): Add #:vhash-fold* and #:vhash-cons and honor them.
(mcached): Add clauses with 'eq?' and 'equal?' as the first argument.
2019-10-27 23:05:00 +01:00
Ludovic Courtès f58b45350b
gexp: Add 'imported+compiled-modules'.
* guix/gexp.scm (imported+compiled-modules): New procedure.
(lower-gexp): Use it instead of separate calls to 'imported-modules' and
'compiled-modules'.
2019-10-27 23:05:00 +01:00
Ludovic Courtès f726f6f802
derivations: 'build-expression->derivation' caches its module derivations.
This reduces the number of lookups in the 'add-data-to-store' cache from
7505 to 3329 (hit rate from 68% to 27%) when running:

  GUIX_PROFILING=add-data-to-store-cache guix build libreoffice -nd

The execution time of "guix build libreoffice -nd" goes from 2.12s to 1.87s.

* guix/derivations.scm (%module-cache): New variable.
(imported+compiled-modules)[key]: New variable.
Lookup KEY in %MODULE-CACHE and populate %MODULE-CACHE upon cache miss.
2019-10-27 23:04:59 +01:00
Ludovic Courtès cf7648f882
derivations: Introduce 'imported+compiled-modules'.
* guix/derivations.scm (imported+compiled-modules): New procedure.
(build-expression->derivation): Use it instead of separate calls to
'%imported-modules' and '%compiled-modules'.
2019-10-27 23:04:59 +01:00
Tobias Geerinckx-Rice 6d18427fa5
gnu: postgis: Update to 2.4.8.
* gnu/packages/geo.scm (postgis): Update to 2.4.8.
2019-10-27 22:45:39 +01:00
Tobias Geerinckx-Rice da107cf5be
gnu: python-cftime: Update to 1.0.4.2.
* gnu/packages/python-xyz.scm (python-cftime): Update to 1.0.4.2.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice 8f803775a6
gnu: libmicrohttpd: Update to 0.9.68.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.68.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice 6bc0bed188
gnu: retroarch: Update to 1.8.0.
* gnu/packages/emulators.scm (retroarch): Update to 1.8.0.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice ca1f4b19e9
gnu: unbound: Update to 1.9.4.
* gnu/packages/dns.scm (unbound): Update to 1.9.4.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice c34d0cd812
gnu: libasr: Don't use NAME in source URI.
* gnu/packages/dns.scm (libasr)[source]: Hard-code NAME.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice a3dd88710f
gnu: python-pathpy: Update to 11.5.1.
* gnu/packages/python-xyz.scm (python-pathpy): Update to 11.5.1.
2019-10-27 22:19:32 +01:00
Tobias Geerinckx-Rice 4ba097b35f
gnu: perl-io-captureoutput: Update to 1.1105.
* gnu/packages/perl.scm (perl-io-captureoutput): Update to 1.1105.
2019-10-27 22:19:31 +01:00
Efraim Flashner 07c9fd36d6
gnu: Merge all crates into (gnu packages crates-io).
* gnu/packages/rust-cbindgen.scm: Move all crates ...
* gnu/packages/crates-io.scm: ... to here.
2019-10-27 22:38:16 +02:00
Efraim Flashner 86e443c71d
gnu: Convert all rust crates to new format.
* gnu/packages/crates-io.scm: Rename all packages to contain version
string.
[source]: Rename all downloaded files to use '.crate'.
[arguments]: Remove all cargo-inputs and cargo-development-inputs.
Comment out all custom phases to link to external libraries.
[native-inputs, inputs]: Comment out all inputs.
[properties]: Mark all packages hidden.
2019-10-27 22:34:53 +02:00
Tobias Geerinckx-Rice 3a428dd63a
gnu: meld: Wrap with Glib or Gtk path variables.
Fixes the example given at <https://issues.guix.gnu.org/issue/37942>.

* gnu/packages/gnome.scm (meld)[inputs]: Add gsettings-desktop-schemas.
[arguments]: Add (guix build glib-or-gtk-build-system) to #:modules
and #:imported-modules.  Use its ‘glib-or-gtk-wrap’ phase.
2019-10-27 18:57:25 +01:00
Ricardo Wurmus 40645ebb71
gnu: Add pam-u2f.
* gnu/packages/security-token.scm (pam-u2f): New variable.
2019-10-27 17:04:26 +01:00
Tobias Geerinckx-Rice e2d14ee97c
gnu: keepassxc: Don't use NAME in source URI.
* gnu/packages/password-utils.scm (keepassxc)[source]: Hard-code NAME.
2019-10-27 15:20:12 +01:00
Tobias Geerinckx-Rice eb28d9cf8d
gnu: mpg123: Update to 1.25.13.
* gnu/packages/mp3.scm (mpg123): Update to 1.25.13.
2019-10-27 15:20:12 +01:00
Tobias Geerinckx-Rice 17334e000e
gnu: mpv: Update to 0.30.0.
* gnu/packages/video.scm (mpv): Update to 0.30.0.
[arguments]: Remove obsolete #:configure-flags.
2019-10-27 15:20:12 +01:00
Efraim Flashner ac1b080107
gnu: git-annex: Build with S3 support.
* gnu/packages/haskell-apps.scm (git-annex)[arguments]: Enable S3 in
configure-flags.
[inputs]: Add ghc-aws.
2019-10-27 14:41:12 +02:00
Guillaume Le Vaillant d50f2b7a09
gnu: gramps: Update to 5.1.1.
* gnu/packages/genealogy.scm (gramps): Update to 5.1.1.
[inputs]: Add cairo.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-10-27 12:55:52 +02:00
Leo Prikler b901a56615
gnu: meld: Fix startup.
* /gnu/packages/patchutils.scm: (meld)[inputs]: Replace gtksourceview with
gtksourceview-3.
[arguments]<#:phases>[wrap-typelib]: New phase.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-10-27 10:50:36 +01:00
Marius Bakke 2a19c0deb1
gnu: nginx: Update to 1.17.5.
* gnu/packages/web.scm (nginx): Update to 1.17.5.
2019-10-27 10:10:48 +01:00
Marius Bakke 5fd4d02666
gnu: dav1d: Update to 0.5.1.
* gnu/packages/patches/dav1d-aarch64-symbol-alignment.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/video.scm (dav1d): Update to 0.5.1.
[source](patches): Remove.
2019-10-27 10:10:23 +01:00
Efraim Flashner 24adcbab0a
gnu: keepassxc: Update to 2.5.0.
* gnu/packages/password-utils.scm (keepassxc): Update to 2.5.0.
[arguments]: Enable all extra features, except for update checking.
[inputs]: Add libyubikey, quazip, readline, yubikey-personalization.
Remove curl.
[license]: Update comment.
2019-10-27 10:36:50 +02:00
Ricardo Wurmus 871c5d61ce
gnu: r-car: Update to 3.0-4.
* gnu/packages/statistics.scm (r-car): Update to 3.0-4.
2019-10-27 08:34:53 +01:00
Ricardo Wurmus 9b46efc56a
gnu: r-rlang: Update to 0.4.1.
* gnu/packages/statistics.scm (r-rlang): Update to 0.4.1.
2019-10-27 08:34:46 +01:00
Ricardo Wurmus bdce983a25
gnu: r-digest: Update to 0.6.22.
* gnu/packages/statistics.scm (r-digest): Update to 0.6.22.
2019-10-27 08:34:41 +01:00
Ricardo Wurmus b8731d03a7
gnu: r-mgcv: Update to 1.8-30.
* gnu/packages/statistics.scm (r-mgcv): Update to 1.8-30.
2019-10-27 08:34:36 +01:00
Ricardo Wurmus 9538014aa9
gnu: r-jpeg: Update to 0.1-8.1.
* gnu/packages/image.scm (r-jpeg): Update to 0.1-8.1.
2019-10-27 08:34:29 +01:00
Ricardo Wurmus 0eed4fde45
gnu: r-dalex: Update to 0.4.9.
* gnu/packages/cran.scm (r-dalex): Update to 0.4.9.
2019-10-27 08:34:14 +01:00
Ricardo Wurmus 04eb73ee32
gnu: r-ggvis: Update to 0.4.5.
* gnu/packages/cran.scm (r-ggvis): Update to 0.4.5.
2019-10-27 08:33:53 +01:00
Ricardo Wurmus 30aac69f52
gnu: r-partitions: Update to 1.9-22.
* gnu/packages/cran.scm (r-partitions): Update to 1.9-22.
[propagated-inputs]: Add r-sets.
2019-10-27 08:33:41 +01:00
Ricardo Wurmus 288c9f2be2
gnu: r-compositions: Update to 1.40-3.
* gnu/packages/cran.scm (r-compositions): Update to 1.40-3.
[propagated-inputs]: Remove r-energy.
2019-10-27 08:33:25 +01:00
Ricardo Wurmus 7a932a4039
gnu: r-spam: Update to 2.3-0.1.
* gnu/packages/cran.scm (r-spam): Update to 2.3-0.1.
2019-10-27 08:33:20 +01:00
Ricardo Wurmus b5d275104b
gnu: r-biocmanager: Update to 1.30.9.
* gnu/packages/cran.scm (r-biocmanager): Update to 1.30.9.
2019-10-27 08:33:14 +01:00
Ricardo Wurmus 883f76b8da
gnu: r-ncdf4: Update to 1.17.
* gnu/packages/cran.scm (r-ncdf4): Update to 1.17.
2019-10-27 08:33:09 +01:00
Ricardo Wurmus c60ed4d6e6
gnu: r-performance: Update to 0.4.0.
* gnu/packages/cran.scm (r-performance): Update to 0.4.0.
2019-10-27 08:33:03 +01:00
Ricardo Wurmus 18376defad
gnu: r-bayestestr: Update to 0.4.0.
* gnu/packages/cran.scm (r-bayestestr): Update to 0.4.0.
2019-10-27 08:32:58 +01:00
Ricardo Wurmus 3ca2ddd0df
gnu: r-emmeans: Update to 1.4.2.
* gnu/packages/cran.scm (r-emmeans): Update to 1.4.2.
2019-10-27 08:32:43 +01:00
Ricardo Wurmus 186a868ac9
gnu: r-slam: Update to 0.1-46.
* gnu/packages/cran.scm (r-slam): Update to 0.1-46.
2019-10-27 08:00:38 +01:00
Ricardo Wurmus dcbeae6058
gnu: r-doby: Update to 4.6-3.
* gnu/packages/cran.scm (r-doby): Update to 4.6-3.
[propagated-inputs]: Add r-broom, r-deriv, r-pbkrtest, and r-tibble.
2019-10-27 08:00:13 +01:00
Ricardo Wurmus 7195db0249
gnu: r-jomo: Update to 2.6-10.
* gnu/packages/cran.scm (r-jomo): Update to 2.6-10.
2019-10-27 08:00:06 +01:00
Ricardo Wurmus 571f07afa5
gnu: r-ddalpha: Update to 1.3.10.
* gnu/packages/cran.scm (r-ddalpha): Update to 1.3.10.
2019-10-27 08:00:00 +01:00
Ricardo Wurmus 373759eaee
gnu: Add r-sets.
* gnu/packages/cran.scm (r-sets): New variable.
2019-10-27 07:59:52 +01:00
Ricardo Wurmus 6f921bfdaa
gnu: Add r-deriv.
* gnu/packages/cran.scm (r-deriv): New variable.
2019-10-27 07:59:35 +01:00
Ricardo Wurmus 5347163627
gnu: Add libu2f-server.
* gnu/packages/security-token.scm (libu2f-server): New variable.
2019-10-27 07:02:47 +01:00