[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/63: bootstrap: Add %bootstrap-gash. WIP
From: |
guix-commits |
Subject: |
12/63: bootstrap: Add %bootstrap-gash. WIP |
Date: |
Sun, 24 Nov 2019 05:52:43 -0500 (EST) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 3b098948086384677566b321d23c957c7e83ea6a
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sun Oct 28 01:24:28 2018 +0200
bootstrap: Add %bootstrap-gash. WIP
Built with
XXX5d2729d5be414669b11ab7242a4618059fe71b9e
XXXbootstrap: Add %guile-gash-stripped, %guile-gash-bootstrap-tarball.
* gnu/packages/bootstrap.scm (%bootstrap-gash): New variable.
---
gnu/packages/bootstrap.scm | 62 +++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 61 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index 74dcbf9..c026db2 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès
<address@hidden>
;;; Copyright © 2014, 2015, 2018, 2019 Mark H Weaver <address@hidden>
;;; Copyright © 2017 Efraim Flashner <address@hidden>
-;;; Copyright © 2018 Jan (janneke) Nieuwenhuizen <address@hidden>
+;;; Copyright © 2018, 2019 Jan (janneke) Nieuwenhuizen <address@hidden>
;;; Copyright © 2019 Carl Dong <address@hidden>
;;;
;;; This file is part of GNU Guix.
@@ -49,6 +49,7 @@
bootstrap-guile-origin
%bootstrap-guile
+ %bootstrap-gash
%bootstrap-coreutils&co
%bootstrap-linux-libre-headers
%bootstrap-binutils
@@ -805,6 +806,65 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
(home-page #f)
(license gpl3+)))
+(define %bootstrap-gash
+ ;; The initial Gash. Uses .go files from a tarball typically built by
+ ;; %GASH-BOOTSTRAP-GUILE-TARBALL.
+ (package
+ (name "bootstrap-gash")
+ (version "36")
+ (source #f)
+ (build-system trivial-build-system)
+ (arguments
+ `(#:guile ,%bootstrap-guile
+ #:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils)
+ (ice-9 match)
+ (ice-9 popen))
+ (let ((out (assoc-ref %outputs "out"))
+ (guile (assoc-ref %build-inputs "guile"))
+ (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 ((build (getcwd))
+ (bin (string-append out "/bin")))
+
+ (with-directory-excursion out
+ (invoke tar "xvf"
+ (string-append build "/binaries.tar")))
+ (chmod bin #o755))))))
+ (inputs
+ `(("guile" ,%bootstrap-guile)
+ ("tar" ,(bootstrap-executable "tar" (%current-system)))
+ ("xz" ,(bootstrap-executable "xz" (%current-system)))
+ ("tarball" ,(bootstrap-origin
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://lilypond.org/janneke/mes/"
+ (match (%current-system)
+ ("x86_64-linux"
+
"gash-bootstrap-guile-0.1-9.32188ac-x86_64-linux.tar.xz")
+ ("i686-linux"
+
"gash-bootstrap-guile-0.1-9.32188ac-i686-linux.tar.xz"))))
+ (sha256
+ (base32
+ (match (%current-system)
+ ("x86_64-linux"
+
"1gz63b1xcgjsbsx3nbdvaxblc034lhcfbjd8mjv8y26595rh413w")
+ ("i686-linux"
+
"12lszx0ghd4srvka11vdwc3756f66w9ci05jld17qgk6bjxraz33")))))))))
+ (supported-systems '("i686-linux" "x86_64-linux"))
+ (synopsis "Bootstrap binaries of Gash")
+ (description synopsis)
+ (home-page #f)
+ (license gpl3+)))
+
(define (%bootstrap-inputs)
;; The initial, pre-built inputs. From now on, we can start building our
;; own packages.
- 03/63: bootstrap: mes-minimal: Update to mes-0.21., (continued)
- 03/63: bootstrap: mes-minimal: Update to mes-0.21., guix-commits, 2019/11/24
- 04/63: gnu: Remove mescc-tools-0.5.2., guix-commits, 2019/11/24
- 05/63: bootstrap: bootstrap-mescc-tools: Update to mescc-tools-0.6.1., guix-commits, 2019/11/24
- 06/63: bootstrap: bootstrap-mes: Update to mes-0.21., guix-commits, 2019/11/24
- 07/63: gnu: Add ncompress., guix-commits, 2019/11/24
- 08/63: gnu: Add gash-core-utils., guix-commits, 2019/11/24
- 09/63: bootstrap: Add gash-boot., guix-commits, 2019/11/24
- 10/63: bootstrap: Add gash-core-utils-boot., guix-commits, 2019/11/24
- 11/63: bootstrap: Add %gash-bootstrap-guile, %gash-bootstrap-tarball., guix-commits, 2019/11/24
- 13/63: bootstrap: nyacc-boot. WIP, guix-commits, 2019/11/24
- 12/63: bootstrap: Add %bootstrap-gash. WIP,
guix-commits <=
- 14/63: bootstrap: Add %bootstrap-gash-rewired.., guix-commits, 2019/11/24
- 15/63: bootstrap: mes-boot: Scheme-only bootstrap., guix-commits, 2019/11/24
- 16/63: bootstrap: tcc-boot0: Scheme-only bootstrap. WIP, guix-commits, 2019/11/24
- 17/63: bootstrap: Add gzip-mesboot0., guix-commits, 2019/11/24
- 18/63: bootstrap: make-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/24
- 19/63: bootstrap: Add bzip2-mesboot0., guix-commits, 2019/11/24
- 20/63: bootstrap: Add bash-mesboot0., guix-commits, 2019/11/24
- 21/63: bootstrap: tcc-boot: Scheme-only bootstrap., guix-commits, 2019/11/24
- 22/63: bootstrap: diffuils-mesboot: Scheme-only bootstrap., guix-commits, 2019/11/24
- 24/63: bootstrap: Add sed-mesboot0., guix-commits, 2019/11/24