[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/09: bootstrap: Add %bootstrap-mes.
From: |
Jan Nieuwenhuizen |
Subject: |
06/09: bootstrap: Add %bootstrap-mes. |
Date: |
Tue, 23 Oct 2018 17:00:34 -0400 (EDT) |
janneke pushed a commit to branch core-updates-next
in repository guix.
commit 5f02c9b7d67cf6c1fedc64c9bd51367cd636a398
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sat Oct 20 09:02:39 2018 +0200
bootstrap: Add %bootstrap-mes.
Built with
668ffe1e4e67e22268c9565993c6d9d7a86ae72a bootstrap: Move use-modules to
top of builder.
Todo: host these on ftp.gnu.org/pub/guix/...
* gnu/packages/bootstrap.scm (%bootstrap-mes): New variable.
---
gnu/packages/bootstrap.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index 2614d73..3d4f1f5 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -49,6 +49,7 @@
%bootstrap-gcc
%bootstrap-glibc
%bootstrap-inputs
+ %bootstrap-mes
%mescc-tools-seed
%mes-seed
%srfi-43
@@ -616,6 +617,58 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
(home-page #f)
(license gpl3+)))
+(define %bootstrap-mes
+ ;; The initial Mes. Uses binaries from a tarball typically built by
+ ;; %MES-BOOTSTRAP-TARBALL.
+ (package
+ (name "bootstrap-mes")
+ (version "0")
+ (source #f)
+ (build-system trivial-build-system)
+ (arguments
+ `(#:guile ,%bootstrap-guile
+ #:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils)
+ (ice-9 popen))
+ (let ((out (assoc-ref %outputs "out"))
+ (tar (assoc-ref %build-inputs "tar"))
+ (xz (assoc-ref %build-inputs "xz"))
+ (tarball (assoc-ref %build-inputs "tarball")))
+
+ (mkdir out)
+ (copy-file tarball "binaries.tar.xz")
+ (invoke xz "-d" "binaries.tar.xz")
+ (let ((builddir (getcwd))
+ (bindir (string-append out "/bin")))
+ (with-directory-excursion out
+ (invoke tar "xvf"
+ (string-append builddir "/binaries.tar"))))))))
+ (inputs
+ `(("tar" ,(search-bootstrap-binary "tar" (%current-system)))
+ ("xz" ,(search-bootstrap-binary "xz" (%current-system)))
+ ("tarball" ,(bootstrap-origin
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://lilypond.org/janneke/mes/"
+ (match (%current-system)
+ ("x86_64-linux"
"mes-stripped-0.18-0.08f04f5-x86_64-linux.tar.xz")
+ ("i686-linux"
"mes-stripped-0.18-0.08f04f5-i686-linux.tar.xz"))))
+ (sha256
+ (match (%current-system)
+ ("x86_64-linux"
+ (base32
+
"1yhxqf1sm67gwjbkkc26m4lcscvpjfmi71bzy8rhysal4lcj1vc8"))
+ ("i686-linux"
+ (base32
+
"1p116ya9n52852bryh34n7db4mhvi98qifmmwygl7nbyc4dz92jy")))))))))
+ (synopsis "Bootstrap binaries of Mes")
+ (description synopsis)
+ (home-page #f)
+ (license gpl3+)))
+
(define %mescc-tools-seed ; todo: add tarballs to
alpha.gnu.org/pub/mes/bootstrap/
(let ((commit "dc4e20e74924a5c80a2b7a77b4d7b927234fa71c"))
(origin
- branch core-updates-next updated (09c5a56 -> d0bb7ed), Jan Nieuwenhuizen, 2018/10/23
- 04/09: bootstrap: Add %mes-stripped, %mes-bootstrap-tarball., Jan Nieuwenhuizen, 2018/10/23
- 03/09: gnu: mes: Update to 0.18.0-08f04f55., Jan Nieuwenhuizen, 2018/10/23
- 02/09: doc: Move `Reduced Binary Seed Bootstrap' into `Bootstrapping'., Jan Nieuwenhuizen, 2018/10/23
- 06/09: bootstrap: Add %bootstrap-mes.,
Jan Nieuwenhuizen <=
- 09/09: doc: Update Preparing to Use the Bootstrap Binaries., Jan Nieuwenhuizen, 2018/10/23
- 01/09: Merge branch 'core-updates' into core-updates-next, Jan Nieuwenhuizen, 2018/10/23
- 08/09: bootstrap: Build with %bootstrap-mes., Jan Nieuwenhuizen, 2018/10/23
- 05/09: bootstrap: Move use-modules to top of builder., Jan Nieuwenhuizen, 2018/10/23
- 07/09: gnu: mescc-tools: Update to 0.5.2-0.bb062b0d., Jan Nieuwenhuizen, 2018/10/23