[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap
From: |
Jan Nieuwenhuizen |
Subject: |
[bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap |
Date: |
Fri, 13 May 2022 10:09:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Ludovic Courtès writes:
Hi,
> Jan Nieuwenhuizen <janneke@gnu.org> skribis:
>
>>>From f013e88563f73a7513faa330c79eef2f653daf28 Mon Sep 17 00:00:00 2001
>> * gnu/packages/commencement.scm (stage0-posix): New variable.
> Same comment as earlier regarding ‘bootstrap-origin’ and the URL.
bootstrap-origin removed and URL changed to:
(uri (list
(string-append
"mirror://gnu/guix/mirror/"
"stage0-posix-" version ".tar.gz")
(string-append
"https://lilypond.org/janneke/guix/20220502/"
"stage0-posix-" version ".tar.gz")))
>
>> + (supported-systems '("i686-linux" "x86_64-linux"
>> + "arm-linux" "aarch64-linux"
>> + "riscv64-linux"))
>
> Woow. :-)
:-) Yeah, that will mean some work for us to come...
> s/arm-linux/armhf-linux/
Oops.
>> + (native-inputs
>> + `(("bootstrap-seeds" ,bootstrap-seeds)
>> + ("mescc-tools"
>> + ,(bootstrap-origin
>> + (origin
>> + (method url-fetch)
>> + (uri (string-append
>> + "https://lilypond.org/janneke/guix/20220502/"
>> + "mescc-tools-" mescc-tools-version ".tar.gz"))
>> + (sha256
>> + (base32
>> + "1xi6f48pf5bhajhfis189gpizxij7nbp1vzvsb1aafhz4skkiqvg")))))
>> + ("m2-planet"
>> + ,(bootstrap-origin
>> + (origin
>> + (method url-fetch)
>> + (uri (string-append
>> + "https://lilypond.org/janneke/guix/20220502/"
>> + "M2-Planet-" m2-planet-version ".tar.gz"))
>> + (sha256
>> + (base32
>> + "1xrn69sc5nz4hwaishqyrcidp1ncxwib9zswl45x378ddz3mmk7g")))))
>> + ,@(%boot-gash-inputs)))
>
> Here you can avoid ‘bootstrap-origin’ too and add mirror://gnu URLs.
Ok.
> The “new style” (with gexps) doesn’t work well with non-package inputs
> in the sense that you cannot use ‘this-package-input’ to access them.
>
> However, it might be simpler to not have them in ‘native-inputs’ and to
> instead refer to them in the code, as in:
>
> #~(begin
> …
> (invoke "tar" "xvf" #$mescc-tools)
> …)
>
> where:
>
> (define mescc-tools
> (origin …))
Ok. I put the mescc-tools and m2-planet in the initial let.
>> + (synopsis "The initial bootstrap package, builds stage0 up to
>> M2-Planet")
>> + (description
>> + "Starting from an 357-byte hex0 provided by the bootstrap-seeds,
>> +stage0-posix builds hex0, kaem, hex1, catm, hex2, M0, cc_x86, M1,
>> +M2, get_machine, (mescc-tools), and M2-Planet.")
>
> Bonus points if you can make it a full sentence. :-)
I tried:
"Starting from the 357-byte hex0-seed binary provided by the
bootstrap-seeds, the stage0-posix package first builds hex0 and then all
the way up: hex1, catm, hex2, M0, cc_x86, M1, M2, get_machine (that's
all of MesCC-Tools), and finally M2-Planet."
> (I feel ridiculous commenting on this on a patch series that’s this
> important, but hey!)
(otoh, after putting in all this work, some polishing doesn't hurt, so:
thanks!)
Greetings,
Janneke
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://lilypond.org
Freelance IT https://JoyOfSource.com | Avatar® https://AvatarAcademy.com
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, (continued)
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Ludovic Courtès, 2022/05/12
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Jan Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Jan Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap,
Jan Nieuwenhuizen <=
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Jan Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates 0/8] The Full Source Bootstrap, Jan Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 1/8] gnu: commencement: Add bootstrap-seeds., Jan (janneke) Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 3/8] gnu: commencement: mes-boot: Update to 0.24, build with M2-Planet., Jan (janneke) Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 6/8] gnu: bootstrap: Remove %bootstrap-mescc-tools, %bootstrap-mes., Jan (janneke) Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 7/8] gnu: commencement: Remove %bootstrap-mes-rewired., Jan (janneke) Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 8/8] doc: Add the "Full-source Bootstrap"., Jan (janneke) Nieuwenhuizen, 2022/05/13
- [bug#55227] [PATCH core-updates v3 5/8] gnu: commencement: tcc-boot0: Update to 0.9.26-1136-g0fbeb2dd., Jan (janneke) Nieuwenhuizen, 2022/05/13