~ruther/guix-local

c397dfca033c2212abdd012a28c562cc3eaa942c — Ludovic Courtès 8 years ago dd1640e
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.
1 files changed, 4 insertions(+), 2 deletions(-)

M build-aux/compile-all.scm
M build-aux/compile-all.scm => build-aux/compile-all.scm +4 -2
@@ 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))))))