[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27849] [PATCH 0/5] Download the Guile bootstrap tarball via a deriv
From: |
Ludovic Courtès |
Subject: |
[bug#27849] [PATCH 0/5] Download the Guile bootstrap tarball via a derivation |
Date: |
Thu, 27 Jul 2017 16:52:50 +0200 |
Hello,
In Nov. 2016 we added the "download" built-in builder, meaning that the
daemon can perform downloads on behalf of clients:
https://bugs.gnu.org/22774
This patch series is a followup:
1. It removes backward-compatibility code in (guix download), thereby
assuming guix-daemon supports the "download" built-in builder.
2. It downloads the Guile bootstrap tarball via a fixed-output
derivation, and thus removes the Makefile targets that were
responsible for downloading this until now.
With this change, bootstrapping is somewhat simplified since now
(almost) everything is a derivation. The Guile bootstrap tarballs for
the supported architectures no longer need to be installed, which saves
14 MiB on the installed ‘guix’ package:
--8<---------------cut here---------------start------------->8---
$ du -msc $(guix build
guix)/share/guile/site/2.2/gnu/packages/bootstrap/*/guile*
3
/gnu/store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/share/guile/site/2.2/gnu/packages/bootstrap/aarch64-linux/guile-2.0.14.tar.xz
3
/gnu/store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/share/guile/site/2.2/gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz
3
/gnu/store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/share/guile/site/2.2/gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
3
/gnu/store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/share/guile/site/2.2/gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz
3
/gnu/store/gkv8zl774h2qpa89mrf6d74fry3rsnpa-guix-0.13.0-3.b547349/share/guile/site/2.2/gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz
14 totalo
--8<---------------cut here---------------end--------------->8---
After that we still have a few statically-linked binaries in
gnu/packages/bootstrap. Perhaps we’ll remove them eventually by adding
an “extract” builder or similar.
These patches are for the next ‘core-updates’.
Ludo’.
Ludovic Courtès (5):
download: Assume the "download" built-in builder is available.
gnu: guile-bootstrap: Use a fixed-output derivation to download.
gnu: bootstrap: Prefer HTTPS for downloads.
build: Remove code to download the Guile bootstrap tarball.
gnu: guix: Factorize downloads of bootstrap tarball.
Makefile.am | 3 +-
build-aux/download.scm | 73 -----------------------
build-aux/test-env.in | 16 +++++-
gnu/local.mk | 49 ----------------
gnu/packages/bootstrap.scm | 83 +++++++++++++++++++-------
gnu/packages/package-management.scm | 43 ++++----------
guix/download.scm | 112 ++++++------------------------------
7 files changed, 107 insertions(+), 272 deletions(-)
delete mode 100644 build-aux/download.scm
--
2.13.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#27849] [PATCH 0/5] Download the Guile bootstrap tarball via a derivation,
Ludovic Courtès <=