mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 11:32:21 +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:
@@ -152,6 +152,7 @@
|
|||||||
"--prefix-lib-dir" "lib"
|
"--prefix-lib-dir" "lib"
|
||||||
"--prefix-exe-dir" "bin"
|
"--prefix-exe-dir" "bin"
|
||||||
"--prefix-include-dir" "include"
|
"--prefix-include-dir" "include"
|
||||||
|
"--verbose"
|
||||||
,(string-append "-Dtarget=" (zig-target zig-build-target))
|
,(string-append "-Dtarget=" (zig-target zig-build-target))
|
||||||
,@(if parallel-build?
|
,@(if parallel-build?
|
||||||
((assoc-ref arguments "parallel-jobs")
|
((assoc-ref arguments "parallel-jobs")
|
||||||
@@ -176,7 +177,7 @@
|
|||||||
(let ((old-destdir (getenv "DESTDIR")))
|
(let ((old-destdir (getenv "DESTDIR")))
|
||||||
(setenv "DESTDIR" "test-out") ;; Avoid colisions with the build output
|
(setenv "DESTDIR" "test-out") ;; Avoid colisions with the build output
|
||||||
(let* ((arguments (zig-arguments))
|
(let* ((arguments (zig-arguments))
|
||||||
(call `("zig" "build" "test"
|
(call `("zig" "build" "test" "--verbose"
|
||||||
,@(if parallel-tests?
|
,@(if parallel-tests?
|
||||||
((assoc-ref arguments "parallel-jobs")
|
((assoc-ref arguments "parallel-jobs")
|
||||||
(parallel-job-count))
|
(parallel-job-count))
|
||||||
|
|||||||
Reference in New Issue
Block a user