diff options
| author | Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 2022-09-12 10:49:55 +0200 |
|---|---|---|
| committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-02-15 09:13:34 +0100 |
| commit | 0501136d57dc47336d0ac4e5f59a67865b40b598 (patch) | |
| tree | 64e5ed994bec39e969036ea3579f56aa8aac07e4 /gnu/packages/make-bootstrap.scm | |
| parent | ccb55481d4072b21d827e4a71e166956bc1a4e25 (diff) | |
gnu: bootstrap: mescc-tools-static: Remove packages and tarball.
* gnu/packages/make-bootstrap.scm (%mescc-tools-static,
%mescc-tools-static-stripped, %mescc-tools-bootstrap-tarball): Remove.
Diffstat (limited to 'gnu/packages/make-bootstrap.scm')
| -rw-r--r-- | gnu/packages/make-bootstrap.scm | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm index 64e7db552d1..34edabfe41f 100644 --- a/gnu/packages/make-bootstrap.scm +++ b/gnu/packages/make-bootstrap.scm | |||
| @@ -53,7 +53,6 @@ | |||
| 53 | %glibc-bootstrap-tarball | 53 | %glibc-bootstrap-tarball |
| 54 | %gcc-bootstrap-tarball | 54 | %gcc-bootstrap-tarball |
| 55 | %guile-bootstrap-tarball | 55 | %guile-bootstrap-tarball |
| 56 | %mescc-tools-bootstrap-tarball | ||
| 57 | %mes-bootstrap-tarball | 56 | %mes-bootstrap-tarball |
| 58 | %bootstrap-tarballs | 57 | %bootstrap-tarballs |
| 59 | 58 | ||
| @@ -595,43 +594,6 @@ for `sh' in $PATH, and without nscd, and with static NSS modules." | |||
| 595 | '("gcc" "g++" "cpp")))))))))) | 594 | '("gcc" "g++" "cpp")))))))))) |
| 596 | 595 | ||
| 597 | ;; Two packages: first build static, bare minimum content. | 596 | ;; Two packages: first build static, bare minimum content. |
| 598 | (define %mescc-tools-static | ||
| 599 | ;; A statically linked MesCC Tools. | ||
| 600 | (package | ||
| 601 | (inherit mescc-tools) | ||
| 602 | (name "mescc-tools-static") | ||
| 603 | (arguments | ||
| 604 | `(#:system "i686-linux" | ||
| 605 | ,@(substitute-keyword-arguments (package-arguments mescc-tools) | ||
| 606 | ((#:make-flags flags) | ||
| 607 | `(cons "CC=gcc -static" ,flags))))))) | ||
| 608 | |||
| 609 | ;; ... next remove store references. | ||
| 610 | (define %mescc-tools-static-stripped | ||
| 611 | ;; A statically linked Mescc Tools with store references removed, for | ||
| 612 | ;; bootstrap. | ||
| 613 | (package | ||
| 614 | (inherit %mescc-tools-static) | ||
| 615 | (name (string-append (package-name %mescc-tools-static) "-stripped")) | ||
| 616 | (build-system trivial-build-system) | ||
| 617 | (arguments | ||
| 618 | (list #:modules '((guix build utils)) | ||
| 619 | #:builder | ||
| 620 | #~(begin | ||
| 621 | (use-modules (guix build utils)) | ||
| 622 | (let* ((in #$%mescc-tools-static) | ||
| 623 | (out #$output) | ||
| 624 | (bin (string-append out "/bin"))) | ||
| 625 | (mkdir-p bin) | ||
| 626 | (for-each (lambda (file) | ||
| 627 | (let ((target (string-append bin "/" file))) | ||
| 628 | (format #t "copying `~a'...~%" file) | ||
| 629 | (copy-file (string-append in "/bin/" file) | ||
| 630 | target) | ||
| 631 | (remove-store-references target))) | ||
| 632 | '( "M1" "blood-elf" "hex2")))))))) | ||
| 633 | |||
| 634 | ;; Two packages: first build static, bare minimum content. | ||
| 635 | (define-public %mes-minimal | 597 | (define-public %mes-minimal |
| 636 | ;; A minimal Mes without documentation. | 598 | ;; A minimal Mes without documentation. |
| 637 | (package | 599 | (package |
| @@ -871,10 +833,6 @@ for `sh' in $PATH, and without nscd, and with static NSS modules." | |||
| 871 | ;; A tarball with the statically-linked, relocatable Guile. | 833 | ;; A tarball with the statically-linked, relocatable Guile. |
| 872 | (tarball-package %guile-static-stripped)) | 834 | (tarball-package %guile-static-stripped)) |
| 873 | 835 | ||
| 874 | (define %mescc-tools-bootstrap-tarball | ||
| 875 | ;; A tarball with statically-linked MesCC binary seed. | ||
| 876 | (tarball-package %mescc-tools-static-stripped)) | ||
| 877 | |||
| 878 | (define %mes-bootstrap-tarball | 836 | (define %mes-bootstrap-tarball |
| 879 | ;; A tarball with Mes binary seed. | 837 | ;; A tarball with Mes binary seed. |
| 880 | (tarball-package %mes-minimal-stripped)) | 838 | (tarball-package %mes-minimal-stripped)) |
