summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-07-28 19:17:24 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2025-07-28 19:17:24 +0900
commit7e535a9194cd7c6a4c1494431e4dca03423fae40 (patch)
tree1c280d303154de75d5931f738ed51c9f99bb8dbc
parent618a14f8268b32f515394069117590578ebb008e (diff)
build-system/meson: Make build verbose.
It's useful to see the link directives and other options passed to the compiler when debugging build issues. * guix/build/meson-build-system.scm (build): Invoke ninja with its --verbose option. Change-Id: Iab11eeb29351a1d6a954576e3a916e2d536058d9
-rw-r--r--guix/build/meson-build-system.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/guix/build/meson-build-system.scm b/guix/build/meson-build-system.scm
index d11a5d8e18..057bbdf017 100644
--- a/guix/build/meson-build-system.scm
+++ b/guix/build/meson-build-system.scm
@@ -75,12 +75,12 @@
(chdir build-dir)
(apply invoke "meson" "setup" args)))
-(define* (build #:key parallel-build?
- #:allow-other-keys)
+(define* (build #:key parallel-build? #:allow-other-keys)
"Build a given meson package."
- (invoke "ninja" "-j" (if parallel-build?
- (number->string (parallel-job-count))
- "1")))
+ (invoke "ninja" "--verbose"
+ "-j" (if parallel-build?
+ (number->string (parallel-job-count))
+ "1")))
(define* (check #:key tests? test-options parallel-tests?
#:allow-other-keys)