rez-build¶
Usage¶
rez build [-h] [-c] [-i] [-p PATH] [--fail-graph] [-s] [--view-pre]
[--process {local,remote}] [-b BUILDSYS]
[--variants INDEX [INDEX ...]] [--ba ARGS] [--cba ARGS] [-v]
description¶
Build a package from source.
Options¶
- -c, --clean¶
clear the current build before rebuilding.
- -i, --install¶
install the build to the local packages path. Use
--prefix
to choose a custom install path.
- -p, --prefix <path>¶
install to a custom package repository path.
- --fail-graph¶
if the build environment fails to resolve due to a conflict, display the resolve graph as an image.
- -s, --scripts¶
create build scripts rather than performing the full build. Running these scripts will place you into a build environment, where you can invoke the build system directly.
- --view-pre¶
just view the preprocessed package definition, and exit.
- --process¶
the build process to use (default: “local”).
Choices: local, remote
- -b, --build-system¶
the build system to use. If not specified, it is detected. Set ‘build_system’ or ‘build_command’ to specify the build system in the package itself.
- --variants <index>¶
select variants to build (zero-indexed).
- --ba, --build-args <args>¶
arguments to pass to the build system. Alternatively, list these after a ‘--‘.
- --cba, --child-build-args <args>¶
arguments to pass to the child build system, if any. Alternatively, list these after a second ‘--‘.
- -v, --verbose¶
verbose mode, repeat for more verbosity