diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2025-07-28 09:54:14 +0300 |
|---|---|---|
| committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2026-01-28 21:47:41 +0100 |
| commit | be2ef1c5625199381b01bca2ddfba527945d09f3 (patch) | |
| tree | 78eb8062c0447c670cec26005ac02e048cf1ea28 | |
| parent | 1ea57ea17de9ab473e3a226f65f1c40124c139f3 (diff) | |
gnu: Add mpc-boot1.
* gnu/packages/commencement.scm (mpc-boot1): New variable.
Change-Id: I1d002867fa99a78f853c15c4b554f9ab8fa31a77
| -rw-r--r-- | gnu/packages/commencement.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index bb05d85997c..5c19eb50545 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm | |||
| @@ -2579,6 +2579,34 @@ exec " gcc "/bin/" program | |||
| 2579 | (string-append "--host=" #$(commencement-build-target)) | 2579 | (string-append "--host=" #$(commencement-build-target)) |
| 2580 | "--enable-static" | 2580 | "--enable-static" |
| 2581 | "--disable-shared"))))) | 2581 | "--disable-shared"))))) |
| 2582 | |||
| 2583 | (define mpc-boot1 | ||
| 2584 | (package | ||
| 2585 | (inherit mpc) | ||
| 2586 | (outputs '("out")) | ||
| 2587 | (name "mpc-boot1") | ||
| 2588 | (source (bootstrap-origin (package-source mpc))) | ||
| 2589 | (native-inputs (if (target-x86?) | ||
| 2590 | `(("gcc-wrapper" ,gcc-mesboot1-wrapper) | ||
| 2591 | ("headers" ,glibc-headers-mesboot) | ||
| 2592 | ,@(%boot-mesboot4-inputs)) | ||
| 2593 | (%boot-tcc-musl-inputs))) | ||
| 2594 | (inputs '()) | ||
| 2595 | (propagated-inputs (list gmp-boot1 mpfr-boot1)) | ||
| 2596 | (arguments | ||
| 2597 | (list | ||
| 2598 | #:guile %bootstrap-guile | ||
| 2599 | #:tests? #f | ||
| 2600 | #:implicit-inputs? #f | ||
| 2601 | #:parallel-build? #f | ||
| 2602 | #:configure-flags | ||
| 2603 | #~(list #$@(if (target-x86?) | ||
| 2604 | #~() | ||
| 2605 | #~("CC=tcc")) | ||
| 2606 | (string-append "--build=" #$(commencement-build-target)) | ||
| 2607 | (string-append "--host=" #$(commencement-build-target)) | ||
| 2608 | "--enable-static" | ||
| 2609 | "--disable-shared"))))) | ||
| 2582 | (define gcc-mesboot | 2610 | (define gcc-mesboot |
| 2583 | (package | 2611 | (package |
| 2584 | (inherit gcc-mesboot1) | 2612 | (inherit gcc-mesboot1) |
