[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: compile: Do not optimize "gnu/tests/*".
From: |
guix-commits |
Subject: |
07/08: compile: Do not optimize "gnu/tests/*". |
Date: |
Mon, 25 May 2020 17:40:54 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 49143297fcf4b2ca1172924f25137b08b0eecf58
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon May 25 22:59:22 2020 +0200
compile: Do not optimize "gnu/tests/*".
* guix/build/compile.scm (optimization-options): Add "gnu/tests/" to
level 0.
---
guix/build/compile.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/build/compile.scm b/guix/build/compile.scm
index 63f24fa..ea7e1d2 100644
--- a/guix/build/compile.scm
+++ b/guix/build/compile.scm
@@ -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
- branch master updated (6115ab1 -> a1a3bd5), guix-commits, 2020/05/25
- 01/08: tests: Hide quoted (define-module ...) form from Geiser., guix-commits, 2020/05/25
- 05/08: gnu: qhull: Update to 2019.1, guix-commits, 2020/05/25
- 03/08: doc: Remove one use of 'file-append*'., guix-commits, 2020/05/25
- 02/08: gexp: Fix expansion for (file-append (local-file ...) ...)., guix-commits, 2020/05/25
- 07/08: compile: Do not optimize "gnu/tests/*".,
guix-commits <=
- 06/08: gexp: The result of 'imported-files/derivation' is non-substitutable., guix-commits, 2020/05/25
- 08/08: maint: 'authenticate' depends on a couple of .go files., guix-commits, 2020/05/25
- 04/08: self: Optimize 'file-append*' for 'local-file?'., guix-commits, 2020/05/25