mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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 d9b9670b05
)
This commit is contained in:
parent
d69a4706aa
commit
2a973bb9d6
1 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue