midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame etc/build.usage

Lucio Andrés Illanes Albornoz 8f50a3
usage: ./build.sh [-a nt32|nt64] [-b debug|release] [-C dir[,..]] [-D kind[,..]] [-F ipv4|ipv6|offline]
Lucio Andrés Illanes Albornoz 8f50a3
                  [-h] [-p jobs] [-P] [-r [*[*]]ALL|LAST|name[,..][:step,..]] [-R] [-v[v[v[v]]]]
Lucio Andrés Illanes Albornoz 8f50a3
                  [--as-needed] [--debug-minipix] [<group>[ ..]]
Lucio Andrés Illanes Albornoz bf9edf
Lucio Andrés Illanes Albornoz d279a9
        -a nt32|nt64      Selects 32-bit or 64-bit architecture; defaults to nt64.
Lucio Andrés Illanes Albornoz d279a9
        -b debug|release  Selects debug or release build; defaults to debug.
Lucio Andrés Illanes Albornoz d279a9
        -C dir[,..]       Clean build directory (build,) ${PREFIX} before processing build
Lucio Andrés Illanes Albornoz d279a9
                          scripts (prefix,) source directory (src,) and/or destination directory
Lucio Andrés Illanes Albornoz d279a9
                          (dest) after successful package builds.
Lucio Andrés Illanes Albornoz bf9edf
        -D kind[,..]      Produce minimal midipix distribution directory (minipix,) RPM binary
Lucio Andrés Illanes Albornoz bf9edf
                          packages (rpm,) and/or deployable distribution ZIP archive (zipdist.)
Lucio Andrés Illanes Albornoz bf9edf
                          zipdist implies minipix.
Lucio Andrés Illanes Albornoz d279a9
        -F ipv4|ipv6|offline
Lucio Andrés Illanes Albornoz d279a9
                          Force IPv4 (ipv4) or IPv6 (ipv6) when downloading package archives
Lucio Andrés Illanes Albornoz d279a9
                          and/or Git repositories or don't download either at all (offline.)
Lucio Andrés Illanes Albornoz d279a9
        -h                Show this screen.
Lucio Andrés Illanes Albornoz 8f50a3
        -p jobs           Enables parallelisation at group-level, whenever applicable.
Lucio Andrés Illanes Albornoz 8f50a3
        -P                The maximum count of jobs defaults to the number of logical
Lucio Andrés Illanes Albornoz bf9edf
                          processors on the host system divided by two (2.)
Lucio Andrés Illanes Albornoz d279a9
                          If -R is not specified and at least one (1) package fails to build,
Lucio Andrés Illanes Albornoz d279a9
                          all remaining package builds will be forcibly aborted for convenience.
Lucio Andrés Illanes Albornoz ebda8b
        -r [*[*]]ALL[:step,..]|LAST|name[,..][:step,..]
Lucio Andrés Illanes Albornoz d279a9
                          Restart all packages/the specified comma-separated package(s)
Lucio Andrés Illanes Albornoz da0364
                          completely or at optionally specified comma-separated step(s)
Lucio Andrés Illanes Albornoz da0364
                          or restart the last failed package and resume build.
Lucio Andrés Illanes Albornoz ebda8b
                          Prepend w/ `*' to automatically include dependencies and `**' to
Lucio Andrés Illanes Albornoz ebda8b
                          forcibly rebuild all dependencies.
Lucio Andrés Illanes Albornoz b7d16e
Lucio Andrés Illanes Albornoz d279a9
                          Currently defined steps are:
Lucio Andrés Illanes Albornoz d279a9
                          fetch_wget, fetch_git, fetch_extract,
Lucio Andrés Illanes Albornoz 2b85d0
                          configure_patch_pre, configure_autotools, configure_patch, configure,
Lucio Andrés Illanes Albornoz 2b85d0
                          build,
Lucio Andrés Illanes Albornoz 2b85d0
                          install_subdirs, install_make, install_files, install_libs, install, and install_rpm.
Lucio Andrés Illanes Albornoz d279a9
        -R                Ignore build failures, skip printing package logs, and continue
Lucio Andrés Illanes Albornoz d279a9
                          building (relaxed mode.)
Lucio Andrés Illanes Albornoz f0dfe1
        -v[v[v[v]]]       Be verbose; -vv: always print package logs; -vvv: set xtrace during package builds; -vvvv: logs fileops.
Lucio Andrés Illanes Albornoz 03dd23
        --as-needed       Don't build unless the midipix_build repository has received new commits.
Lucio Andrés Illanes Albornoz 03dd23
        --debug-minipix   Don't strip(1) minipix binaries to facilitate debugging minipix.
Lucio Andrés Illanes Albornoz 2a4027
        <group>[ ..]      One of: dev_packages, dist, host_deps, host_deps_rpm, host_toolchain,
Lucio Andrés Illanes Albornoz 2a4027
                          host_tools, minipix, native_packages, native_runtime, native_toolchain,
Lucio Andrés Illanes Albornoz 2a4027
                          native_tools.