guix_mirror_bot pushed a commit to branch wip-riscv-bootstrap in repository guix.
commit be2ef1c5625199381b01bca2ddfba527945d09f3 Author: Efraim Flashner <[email protected]> AuthorDate: Mon Jul 28 09:54:14 2025 +0300 gnu: Add mpc-boot1. * gnu/packages/commencement.scm (mpc-boot1): New variable. Change-Id: I1d002867fa99a78f853c15c4b554f9ab8fa31a77 --- gnu/packages/commencement.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index bb05d85997..5c19eb5054 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2579,6 +2579,34 @@ exec " gcc "/bin/" program (string-append "--host=" #$(commencement-build-target)) "--enable-static" "--disable-shared"))))) + +(define mpc-boot1 + (package + (inherit mpc) + (outputs '("out")) + (name "mpc-boot1") + (source (bootstrap-origin (package-source mpc))) + (native-inputs (if (target-x86?) + `(("gcc-wrapper" ,gcc-mesboot1-wrapper) + ("headers" ,glibc-headers-mesboot) + ,@(%boot-mesboot4-inputs)) + (%boot-tcc-musl-inputs))) + (inputs '()) + (propagated-inputs (list gmp-boot1 mpfr-boot1)) + (arguments + (list + #:guile %bootstrap-guile + #:tests? #f + #:implicit-inputs? #f + #:parallel-build? #f + #:configure-flags + #~(list #$@(if (target-x86?) + #~() + #~("CC=tcc")) + (string-append "--build=" #$(commencement-build-target)) + (string-append "--host=" #$(commencement-build-target)) + "--enable-static" + "--disable-shared"))))) (define gcc-mesboot (package (inherit gcc-mesboot1)
