gnu: Add mpfr-boot1.

* gnu/packages/commencement.scm (mpfr-boot1): New variable.

Change-Id: Ibae291199d0a3c4307026be906754bda552fc667
This commit is contained in:
Efraim Flashner 2025-07-28 09:53:48 +03:00
parent 0a2c2e0ff0
commit 96277ff48d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2553,6 +2553,34 @@ exec " gcc "/bin/" program
"--disable-assembly")
;; Gash crashes on mkdir called through install creating %output/share/info
#:make-flags #~(list "MKDIRPROG=mkdir -p")))))
(define mpfr-boot1
(package
(inherit mpfr)
(outputs '("out"))
(name "mpfr-boot1")
(source (bootstrap-origin (package-source mpfr)))
(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))
(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)