1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

build/zig: Output verbosely.

* guix/build/zig-build-system.scm (build,check): Add "--verbose" flag.

Change-Id: I3339496156f9a194cbe928ae4b5a01eb65cbdf08
This commit is contained in:
Hilton Chain
2024-12-31 09:14:17 +08:00
parent bdff1941e5
commit f31b9df0f8

View File

@@ -152,6 +152,7 @@
"--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 @@
(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))