|
Lucio Andrés Illanes Albornoz (arab, vxp) |
820be1 |
usage: ./build.sh [-a nt32|nt64] [-b debug|release] [-c] [-h] [-i level.name.build]
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
a89601 |
[-r ALL|level.name.build[:diff|:step[,...]]] [-t[.gz|.bz2|.xz] [-x]
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
820be1 |
-a nt32|nt64 Selects 32-bit or 64-bit architecture; defaults to nt64.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
820be1 |
-b debug|release Selects debug or release build; defaults to debug.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
820be1 |
This currently only controls CFLAGS.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
820be1 |
-c Clean ${PREFIX} before processing build scripts.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
820be1 |
-h Show this screen.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
3243be |
-i level.name.build Insert link to pkg.build for the specified build script.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
3243be |
All consecutive scripts with higher build levels will
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
3243be |
be renamed automatically.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
a89601 |
-r ALL|level.name.build[:step[,...]]
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
3243be |
Restart all or the specified build script(s) completely
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b94746 |
or at the optionally specified build step. Currently defined
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
a89601 |
build steps are: fetch extract build_dir autoconf patch
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
a89601 |
configure clean build install.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
a89601 |
-r level.name.build:diff
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
a89601 |
Automatically produce diff(1).
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
820be1 |
-t[.gz|.bz2|.xz] Produce binary distribution and source tarballs containing ${PREFIX}
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
820be1 |
sans ${WORKDIR} and ${PREFIX}/src/midipix_build and ${WORKDIR} sans top-
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
afcefa |
level regular files at the end of a build with zero failures. The
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
afcefa |
tarballs will be compressed with either gzip, bzip2, or xz and signed
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
afcefa |
with GPG; the default compression is xz.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
f42965 |
-v Be verbose; this currently only affects secure_{cd,rm}() and insecure_mkdir().
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
b94746 |
-x Set the xtrace sh(1)ell option for debugging purposes.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1d0876 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
820be1 |
Packages that are built by pkg.build will apply local patches in ${WORKDIR}
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
090fd4 |
named ${PKG_SUBDIR}.local.patch.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1d0876 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
090fd4 |
Examples:
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
094032 |
./build.sh -r ALL
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
094032 |
Forcibly restart the entire build.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
094032 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
094032 |
./build.sh -r 301.coreutils.build
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
094032 |
Completely restart the coreutils build.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
094032 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
094032 |
./build.sh -r 301.coreutils.build:configure,build,install
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
094032 |
Restart the configure, build, and install steps of the coreutils build script.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
094032 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
7adf06 |
./build.sh -r 205.psxscl.build GITROOT_HEAD=... PKG_PSXSCL_CFLAGS_CONFIGURE_EXTRA=-DPSX_INTERNAL_STRACE
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
090fd4 |
Build psxscl from the internal repository with strace enabled.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
1d0876 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
0724e5 |
./build.sh -c -r ALL GITROOT_HEAD=...
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
820be1 |
Clean ${PREFIX} and forcibly rebuild everything.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d751db |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d751db |
This script has been tested on the following platforms:
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d751db |
Arch Linux 2016.02.01 (x86_64)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
c641a1 |
CentOS v7.2.1511 (Core) (x86_64)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d751db |
Debian GNU/Linux v8.5 (stable) (jessie) (x86_64)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
183e56 |
Exherbo Linux (x86_64-pc-linux-musl) (x86_64)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
d751db |
openSUSE 20150612 (Tumbleweed) (x86_64)
|