Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame etc/build.usage

Lucio Andrés Illanes Albornoz (arab, vxp) 47c5cd
usage: ./build.sh [-x] [-a nt32|nt64] [-b debug|release] [-c] [-C] [-h]
Lucio Andrés Illanes Albornoz (arab, vxp) a0561a
                  [-i] [-n] [-N] [-r package[,...][:step]] [-t[.gz|.bz2|.xz]
Lucio Andrés Illanes Albornoz (arab, vxp) 47c5cd
                  [-v] [<target>[ ...]]
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -x                      Set the xtrace sh(1)ell option for debugging purposes.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -a nt32|nt64            Selects 32-bit or 64-bit architecture; defaults to nt64.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -b debug|release        Selects debug or release build; defaults to debug.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
                                This currently only controls CFLAGS.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -c                      Clean ${PREFIX} before processing build scripts.
Lucio Andrés Illanes Albornoz (arab, vxp) 47c5cd
        -C                      Check package(s) for updates upstream.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -h                      Show this screen.
Lucio Andrés Illanes Albornoz (arab, vxp) a0561a
        -i                      Ignore SHA256 hash mismatches when downloading files.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -n                      Perform dry run.
Lucio Andrés Illanes Albornoz (arab, vxp) 35633f
        -N                      Offline mode: no {wget,git-{clone,pull}}(1) calls.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -r package[,...][:step] Restart the specified comma-separated build(s) completely or at
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
                                the optionally specified step. Currently defined steps are:
Lucio Andrés Illanes Albornoz (arab, vxp) 8523a8
                                fetch extract build_dir patch_pre autoconf patch configure clean
Lucio Andrés Illanes Albornoz (arab, vxp) 8523a8
                                build install.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -t[.gz|.bz2|.xz]        Produce binary distribution and source tarballs containing ${PREFIX}
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
                                sans ${WORKDIR} and ${PREFIX}/src/midipix_build and ${WORKDIR} sans top-
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
                                level regular files at the end of a build with zero failures. The
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
                                tarballs will be compressed with either gzip, bzip2, or xz and signed
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
                                with GPG; the default compression is xz.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -v                      Be verbose; this currently only affects secure_{cd,rm}() and insecure_mkdir().
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        <target>[ ...]          One of:
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
                                host_toolchain, native_toolchain, runtime, lib_packages,
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
                                leaf_packages, world, or devroot.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        ${HOME}/midipix_build.vars, ../midipix_build.vars, and build.vars are sourced
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        if they exist.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        Packages that are built by pkg.build will apply local patches in ${WORKDIR}
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        named ${PKG_SUBDIR}.local.patch.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        Examples:
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        ./build.sh -r coreutils
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        Completely restart the coreutils build.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        ./build.sh -r coreutils:configure,build,install
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        Restart the configure, build, and install steps of the coreutils build.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        ./build.sh -r psxscl GITROOT_HEAD=... PKG_PSXSCL_CFLAGS_CONFIGURE_EXTRA=-DPSX_INTERNAL_STRACE
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        Build psxscl from the internal repository with strace enabled.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        ./build.sh -c -r ALL GITROOT_HEAD=...
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        Clean ${PREFIX} and forcibly rebuild everything.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
This script has been tested on the following platforms:
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Alpine v3.4 (20160917_17:50) (x86_64)
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Arch Linux 2016.02.01 (x86_64)
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
CentOS v7.2.1511 (Core) (x86_64)
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Debian GNU/Linux v8.5 (stable) (jessie) (x86_64)
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Exherbo Linux (x86_64-pc-linux-musl) (x86_64)
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
openSUSE 20150612 (Tumbleweed) (x86_64)