gnu: mpc-boot: Update and build package.

* gnu/packages/commencement.scm (mpc-boot): Update to 1.2.1.  Replace
with a full package.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I827adfbcd3eb8d98b52da2931f3e435bfaec5096
This commit is contained in:
Ekaitz Zarraga 2024-10-07 18:58:01 +03:00 committed by Efraim Flashner
parent 7942fcf5ef
commit d60c018354
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1667,12 +1667,36 @@ (define mpfr-boot
"--disable-shared")))))
(define mpc-boot
(let ((version "1.0.3"))
(origin
(method url-fetch)
(uri (string-append "mirror://gnu/mpc/mpc-" version ".tar.gz"))
(sha256
(base32 "1hzci2zrrd7v3g1jk35qindq05hbl0bhjcyyisq9z209xb3fqzb1")))))
(package
(inherit mpc)
(outputs '("out"))
(name "mpc-boot")
(version "1.2.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/mpc/mpc-" version ".tar.gz"))
(sha256
(base32 "0n846hqfqvmsmim7qdlms0qr86f1hck19p12nq3g3z2x74n3sl0p"))))
(native-inputs (if (target-x86?)
(%boot-mesboot1-inputs)
(%boot-tcc-musl-inputs)))
(inputs '())
(propagated-inputs (list gmp-boot mpfr-boot))
(arguments
(list
#:guile %bootstrap-guile
#:tests? #f
#:implicit-inputs? #f
#:parallel-build? (target-x86?)
#:configure-flags
#~(list #$@(if (target-x86?)
#~()
#~("CC=tcc"
"CFLAGS=-DHAVE_ALLOCA_H"))
(string-append "--build=" #$(commencement-build-target))
(string-append "--host=" #$(commencement-build-target))
"--enable-static"
"--disable-shared")))))
(define gcc-core-mesboot1
;; GCC 4.6.4 is the latest modular distribution. This package is not