guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

44/63: bootstrap: Add hello-mesboot.


From: guix-commits
Subject: 44/63: bootstrap: Add hello-mesboot.
Date: Sun, 24 Nov 2019 06:06:36 -0500 (EST)

janneke pushed a commit to branch wip-bootstrap
in repository guix.

commit f9f4b73db1794083299da6780f4ae09c3fc375aa
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Fri Nov 22 21:55:45 2019 +0100

    bootstrap: Add hello-mesboot.
    
    * gnu/packages/commencement.scm (hello-mesboot): New variable.
---
 gnu/packages/commencement.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 2faab34..3613c2e 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2129,6 +2129,41 @@ ac_cv_c_float_format='IEEE (little-endian)'
          "ac_cv_have_decl_optreset=no"
          "CPPFLAGS=-D__GNUC__=1")))))
 
+(define-public hello-mesboot
+  ;; Check for Scheme-only bootstrap.
+  (package
+    (inherit hello)
+    (name "hello-mesboot")
+    (source (bootstrap-origin (package-source hello)))
+    (supported-systems '("i686-linux" "x86_64-linux"))
+    (inputs '())
+    (propagated-inputs '())
+    (native-inputs `(("bash" ,bash-mesboot)
+                     ("binutils" ,binutils-mesboot0)
+                     ("coreutils" ,coreutils-mesboot0)
+                     ("gawk" ,gawk-mesboot)
+                     ("grep" ,grep-mesboot)
+                     ("gcc" ,gcc-mesboot1)
+                     ("gzip" ,gzip-mesboot0)
+                     ("libc" ,glibc-mesboot0)
+                     ("make" ,make-mesboot)
+                     ("sed" ,sed-mesboot)
+                     ("tar" ,tar-mesboot)
+
+                     ("kernel-headers" ,%bootstrap-linux-libre-headers)))
+    (arguments
+     `(#:implicit-inputs? #f
+       #:guile ,%bootstrap-guile
+       #:parallel-build? #f
+       ;; checking for grep that handles long lines and -e...
+       ;; configure: error: no acceptable grep could be found
+       #:configure-flags '("ac_cv_path_GREP=grep")
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "./hello"))))))))
+
 (define binutils-mesboot
   (package
     (inherit binutils-mesboot0)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]