From 5a88b2d1304ad57c1249558a261a8d191daf9758 Mon Sep 17 00:00:00 2001 From: Taylan Ulrich Bayırlı/Kammer Date: Tue, 27 Sep 2016 22:34:06 +0200 Subject: build: Improve Guile 2.2 compatibility. * build-aux/compile-all.scm (compile-file*): Ensure loading of compilation related modules before going parallel. * guix/build/pull.scm (build-guix): Ditto. --- guix/build/pull.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'guix/build') diff --git a/guix/build/pull.scm b/guix/build/pull.scm index ccf1868516..871bf6f535 100644 --- a/guix/build/pull.scm +++ b/guix/build/pull.scm @@ -125,6 +125,9 @@ containing the source code. Write any debugging output to DEBUG-PORT." (newline) (let ((mutex (make-mutex)) (completed 0)) + ;; Make sure compilation related modules are loaded before starting to + ;; compile files in parallel. + (compile #f) (par-for-each (lambda (file) (with-mutex mutex -- cgit v1.2.3