Ludovic Courtès
1c3972daa8
guix-build: Add `--local-build'.
...
* guix-build.in (show-help): Add `--local-build'.
(%options): Likewise.
(guix-build): Pass `set-build-options' the #:use-substitutes? argument
accordingly.
2012-10-18 22:32:21 +02:00
Ludovic Courtès
db1a15314d
Support build-cores = 0; change `guix-build' to default to 0.
...
* guix/build/gnu-build-system.scm (%parallel-job-count): New variable.
(build, check): Use it instead of $NIX_BUILD_CORES.
* guix-build.in (guix-build): Default to 0 for the #:build-cores option.
2012-10-05 23:21:09 +02:00
Ludovic Courtès
609354bf0a
guix-build: Add `--derivations'.
...
* guix-build.in (show-help): Add `--derivations'.
(%options): Likewise.
(guix-build): Handle it.
2012-09-04 23:43:24 +02:00
Ludovic Courtès
5dba31494e
guix-build: Add `--source'.
...
* guix-build.in (derivations-from-package-expressions): Add `source?'
parameter. Honor it.
(show-help): Add `--source'.
(%options): Likewise.
(guix-build): Honor `--source'.
2012-09-04 23:42:06 +02:00
Ludovic Courtès
8759a648ba
guix-build: Fix the "unrecognized option" error message.
...
* guix-build.in (guix-build): Show the option name when an unrecognized
option is passed.
2012-08-31 17:05:34 +02:00
Ludovic Courtès
7e2255e6c1
guix-build: Default the number of build cores to (current-processor-count).
...
* guix-build.in (guix-build): Use (current-processor-count) build cores
by default.
2012-07-12 16:52:52 +02:00
Ludovic Courtès
fa14d96e6f
guix-build: Add `--cores'.
...
* guix-build.in (leave): New macro, formerly in `guix-build'.
(show-help): Document `--cores'.
(%options): Add `--cores'.
(guix-build): Remove `leave' macro from here. Pass the `cores' option
value to `set-build-options'.
2012-07-07 16:50:40 +02:00
Ludovic Courtès
9336b5ab55
guix-build: Display multiple outputs when needed.
...
* guix-build.in (guix-build): Display multiple outputs when there's more
than one.
2012-07-02 01:35:39 +02:00
Ludovic Courtès
14a1c3197c
Add `guix-build'.
...
* guix-build.in: New file.
* configure.ac: Emit `guix-build'. Add `commands-exec'.
* Makefile.am (bin_SCRIPTS): New variable.
* po/POTFILES.in: Add `guix-build.in'.
2012-07-01 00:56:24 +02:00