guix-commits
[Top][All Lists]
Advanced

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

03/05: build: Explicitly flush the "LOAD" and "GUILEC" lines.


From: Ludovic Courtès
Subject: 03/05: build: Explicitly flush the "LOAD" and "GUILEC" lines.
Date: Tue, 28 Nov 2017 09:20:56 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit c397dfca033c2212abdd012a28c562cc3eaa942c
Author: Ludovic Courtès <address@hidden>
Date:   Tue Nov 28 13:40:04 2017 +0100

    build: Explicitly flush the "LOAD" and "GUILEC" lines.
    
    * build-aux/compile-all.scm <top level>: Add calls to 'force-output'
    in the #:report-load and #:report-compilation procedures.  Fixes a
    regression introduced in 2890ad332fcdfd4bc92b127d783975437c8b718b
    whereby compilation output would be buffered, leading to a weird
    visual effect.
---
 build-aux/compile-all.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/build-aux/compile-all.scm b/build-aux/compile-all.scm
index c7ca5a6..d2afbda 100644
--- a/build-aux/compile-all.scm
+++ b/build-aux/compile-all.scm
@@ -92,8 +92,10 @@ to 'make'."
                   #:host host
                   #:report-load (lambda (file total completed)
                                   (when file
-                                    (format #t "  LOAD     ~a~%" file)))
+                                    (format #t "  LOAD     ~a~%" file)
+                                    (force-output)))
                   #:report-compilation (lambda (file total completed)
                                          (when file
                                            (format #t "  GUILEC   ~a~%"
-                                                   (scm->go file)))))))
+                                                   (scm->go file))
+                                           (force-output))))))



reply via email to

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