hydra: Pre-load the compiler.
Starting from Guile 2.2.3, '%fresh-auto-compile' does what it says and would auto-compile everything, including the compiler (see <https://bugs.gnu.org/29226>). * build-aux/hydra/gnu-system.scm: Call 'compile'.
This commit is contained in:
parent
34797d8afc
commit
e2e6e9ebf0
|
@ -22,12 +22,14 @@
|
||||||
;;; tool.
|
;;; tool.
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
;; Attempt to use our very own Guix modules.
|
(use-modules (system base compile))
|
||||||
|
|
||||||
(eval-when (compile load eval)
|
(eval-when (compile load eval)
|
||||||
|
|
||||||
;; Ignore any available .go, and force recompilation. This is because our
|
;; Pre-load the compiler so we don't end up auto-compiling it.
|
||||||
;; checkout in the store has mtime set to the epoch, and thus .go files look
|
(compile #t)
|
||||||
;; newer, even though they may not correspond.
|
|
||||||
|
;; Use our very own Guix modules.
|
||||||
(set! %fresh-auto-compile #t)
|
(set! %fresh-auto-compile #t)
|
||||||
|
|
||||||
(and=> (assoc-ref (current-source-location) 'filename)
|
(and=> (assoc-ref (current-source-location) 'filename)
|
||||||
|
|
Loading…
Reference in New Issue