guix_mirror_bot pushed a commit to branch mesa-updates
in repository guix.

commit e089257338e232fb52cafaef682107ea1d05c7d7
Author: Maxim Cournoyer <ma...@guixotic.coop>
AuthorDate: Mon Jul 28 19:17:24 2025 +0900

    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
    (cherry picked from commit d9b9670b0573cdfba93afbb0ea8453d164a73ac7)
---
 guix/build/meson-build-system.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/guix/build/meson-build-system.scm 
b/guix/build/meson-build-system.scm
index b84a77c0f5..d8be1f3faa 100644
--- a/guix/build/meson-build-system.scm
+++ b/guix/build/meson-build-system.scm
@@ -76,12 +76,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)

Reply via email to