compile: Do not optimize "gnu/tests/*".
* guix/build/compile.scm (optimization-options): Add "gnu/tests/" to level 0.
This commit is contained in:
parent
2c402b1a15
commit
49143297fc
@ -98,7 +98,8 @@
|
||||
(define (override-option option value lst)
|
||||
`(,option ,value ,@(strip-option option lst)))
|
||||
|
||||
(cond ((string-contains file "gnu/packages/")
|
||||
(cond ((or (string-contains file "gnu/packages/")
|
||||
(string-contains file "gnu/tests/"))
|
||||
;; Level 0 is good enough but partial evaluation helps preserve the
|
||||
;; "macro writer's bill of rights".
|
||||
(override-option #:partial-eval? #t
|
||||
|
Loading…
Reference in New Issue
Block a user