From f31b9df0f8e2ae2a719dcf3b8d9e2579eba7cf7c Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 31 Dec 2024 09:14:17 +0800 Subject: [PATCH] build/zig: Output verbosely. * guix/build/zig-build-system.scm (build,check): Add "--verbose" flag. Change-Id: I3339496156f9a194cbe928ae4b5a01eb65cbdf08 --- guix/build/zig-build-system.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/build/zig-build-system.scm b/guix/build/zig-build-system.scm index b202c4bce2..c5d2d121d0 100644 --- a/guix/build/zig-build-system.scm +++ b/guix/build/zig-build-system.scm @@ -152,6 +152,7 @@ (define* (build #:key "--prefix-lib-dir" "lib" "--prefix-exe-dir" "bin" "--prefix-include-dir" "include" + "--verbose" ,(string-append "-Dtarget=" (zig-target zig-build-target)) ,@(if parallel-build? ((assoc-ref arguments "parallel-jobs") @@ -176,7 +177,7 @@ (define* (check #:key tests? (let ((old-destdir (getenv "DESTDIR"))) (setenv "DESTDIR" "test-out") ;; Avoid colisions with the build output (let* ((arguments (zig-arguments)) - (call `("zig" "build" "test" + (call `("zig" "build" "test" "--verbose" ,@(if parallel-tests? ((assoc-ref arguments "parallel-jobs") (parallel-job-count))