aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-28 13:40:04 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-28 13:40:04 +0100
commitc397dfca033c2212abdd012a28c562cc3eaa942c (patch)
treeb19a7369b4dd12e7f857e9b02604d1e5369fb7ff /build-aux
parentdd1640eed606e21c09c4028dfa8aaeb1a071c6cf (diff)
downloadguix-c397dfca033c2212abdd012a28c562cc3eaa942c.tar
guix-c397dfca033c2212abdd012a28c562cc3eaa942c.tar.gz
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.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/compile-all.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/build-aux/compile-all.scm b/build-aux/compile-all.scm
index c7ca5a6f67..d2afbdab02 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))))))