mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
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
1 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,8 @@ (define (strip-option option lst)
|
|||
(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 a new issue