diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2025-07-28 09:54:14 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-07-28 10:00:03 +0300 |
| commit | 7fbe3db97b1bf5dba17483543b3fee26afa6a817 (patch) | |
| tree | 465a8f4b9041389ff387522139512986c9957c80 | |
| parent | 96277ff48dc7670d76266e710c100594853f6c5f (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 ba5359346ab..75475dc495f 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm | |||
| @@ -2581,6 +2581,34 @@ exec " gcc "/bin/" program | |||
| 2581 | (string-append "--host=" #$(commencement-build-target)) | 2581 | (string-append "--host=" #$(commencement-build-target)) |
| 2582 | "--enable-static" | 2582 | "--enable-static" |
| 2583 | "--disable-shared"))))) | 2583 | "--disable-shared"))))) |
| 2584 | |||
| 2585 | (define mpc-boot1 | ||
| 2586 | (package | ||
| 2587 | (inherit mpc) | ||
| 2588 | (outputs '("out")) | ||
| 2589 | (name "mpc-boot1") | ||
| 2590 | (source (bootstrap-origin (package-source mpc))) | ||
| 2591 | (native-inputs (if (target-x86?) | ||
| 2592 | `(("gcc-wrapper" ,gcc-mesboot1-wrapper) | ||
| 2593 | ("headers" ,glibc-headers-mesboot) | ||
| 2594 | ,@(%boot-mesboot4-inputs)) | ||
| 2595 | (%boot-tcc-musl-inputs))) | ||
| 2596 | (inputs '()) | ||
| 2597 | (propagated-inputs (list gmp-boot1 mpfr-boot1)) | ||
| 2598 | (arguments | ||
| 2599 | (list | ||
| 2600 | #:guile %bootstrap-guile | ||
| 2601 | #:tests? #f | ||
| 2602 | #:implicit-inputs? #f | ||
| 2603 | #:parallel-build? #f | ||
| 2604 | #:configure-flags | ||
| 2605 | #~(list #$@(if (target-x86?) | ||
| 2606 | #~() | ||
| 2607 | #~("CC=tcc")) | ||
| 2608 | (string-append "--build=" #$(commencement-build-target)) | ||
| 2609 | (string-append "--host=" #$(commencement-build-target)) | ||
| 2610 | "--enable-static" | ||
| 2611 | "--disable-shared"))))) | ||
| 2584 | (define gcc-mesboot | 2612 | (define gcc-mesboot |
| 2585 | (package | 2613 | (package |
| 2586 | (inherit gcc-mesboot1) | 2614 | (inherit gcc-mesboot1) |
