mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
compile: Do not optimize "gnu/tests/*".
* guix/build/compile.scm (optimization-options): Add "gnu/tests/" to level 0.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user