summaryrefslogtreecommitdiffhomepage
path: root/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-05-10build.sh:start_build: correctly handle -r ALL.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
patches/findutils_minipix-4.5.19.local.patch: link for findutils_minipix.
2018-04-30Correctly (zero-)initialise all locals.Lucio Andrés Illanes Albornoz1-1/+1
2018-04-03build.sh:start_build: always build all `invariants' target packages.Lucio Andrés Illanes Albornoz (arab, vxp)1-8/+3
build.sh:exec_start, vars/invariants_{digest,tarballs}.vars: move ${ARG_TARBALL} checks into invariants_{digest,tarballs}. etc/build.usage: update targets list. vars/build.vars:dist_minipix: renamed to `minipix'. vars/build.vars:dist: split into {dist,invariants}. vars/dist_gitref.vars: renamed to vars/invariants_gitref.vars.
2018-01-23build.sh:start_build: check ${ARG_RESTART} for unknown packages, if specified.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+12
2017-12-22build.sh:fail_pkg: honour absence of -P.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+4
2017-12-22build.sh:fail_pkg: terminate pending builds given build failure, -P, and ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+4
absence of -R. etc/build.usage: clarify the consequences of parallelising builds to guide the perplexed and to confuse the people of the tribe of certainty into enlightenment (or not?) subr/ex_pkg_dispatch.subr:exp_pkg_dispatch(): moved traps. subr/ex_pkg_exec.subr:ex_pkg_exec(): forcibly pkill(1) child processes on failure.
2017-12-22vars/build.vars:${ALL_TARGETS}: fix target order & remove dev_packages.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-12-22build.sh, subr/build_args.subr, etc/build.usage: remove meta-targets & fix ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-11/+8
target.. argument spec(s). vars/build.vars: removes meta-targets, adds ${ALL_TARGETS}.
2017-12-22build.sh:exec_start: always restart dist_tarballs given -t.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
2017-12-06build.sh:{fail_pkg,finish_build}: log at failexit.Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+2
2017-12-05build.sh: log step_pkg in blue at -v[v[v]].Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
subr/ex_rtl_log.subr, vars/env.vars: adds `vucc' & ${DEFAULT_LOG_MSG_VUCC_COLOUR}.
2017-12-04build.sh:exec_start: use exit(1) instead of clearing ${PKG_BUILD_STEPS} when ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
skipping dist_{digest,tarballs}.
2017-12-03build.sh: ensure that set -o errexit is not inhibited during ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+3
ex_pkg_dispatch() and children {call,shell}s.
2017-12-03build.sh:fail_pkg: always append to ${BUILD_PKGS_FAILED}.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-12-03build.sh: correctly check for ${ARG_TARBALL}.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-12-03Separate front end (build.sh, subr/build_*) from dispatcher.Lucio Andrés Illanes Albornoz (arab, vxp)1-58/+85
2017-11-29build.sh: always print std{out,err} logs given ${ARG_XTRACE} (-x.)Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+4
etc/build.usage: updated. subr/ex_pkg_dispatch.subr: set -o xtrace within child process given ${ARG_XTRACE} (-x.) subr/ex_setup_args.subr: set ${ARG_VERBOSE2} (-vv) given ${ARG_XTRACE} (-x.)
2017-11-28build.sh: log build target {start,finish}.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
vars/build.vars, etc/build.usage: adds {host,native}_toolchain_deps.
2017-11-22build.sh:-R: always print/don't print std{out,err} logs for failed packages.Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+14
build.sh:-vv: always print/don't print stdout logs for successfully built packages. subr/ex_rtl_fileop.subr:ex_build_fileop(): log at vvvo (-vvv.) subr/ex_rtl_log.subr, vars/env.vars: removes [vw]arn, separates info & {vnfo,vvfo,vvvo}. var/env.vars:${CLEAR_ENV_VARS_EXCEPT}: adds ARG_VERBOSE[23].
2017-11-22build.sh, etc/build.usage, subr/ex_setup_args.subr: adds -vvv and -vv.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
subr/ex_rtl_log.subr:ex_log_msg(): adds vvvo and vvfo.
2017-11-22build.sh, subr/ex_pkg_dispatch.subr: splits build logging and job control logic.Lucio Andrés Illanes Albornoz (arab, vxp)1-18/+16
subr/ex_pkg_dispatch.subr: dispatch background jobs w/ redirected std{err,out} & FIFO. subr/ex_pkg_state.subr:ex_pkg_state_init(): trap(1) signals to abort build. vars/{gcc,musl}.vars: don't exit(1) from within package subroutine.
2017-11-22subr/*: reorganised as {ex{,_{pkg,rtl,setup}},pkg}_*.Lucio Andrés Illanes Albornoz (arab, vxp)1-35/+37
2017-11-21build.sh, subr/{build,pre_state}.subr: split.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
2017-11-21build.sh: ensure ${BUILD_SCRIPT_RC} is set correctly.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+4
2017-11-21{build.sh,subr/pre_setup_args.subr}: split.Lucio Andrés Illanes Albornoz (arab, vxp)1-46/+6
subr/pre_setup_env.subr: set -o noglob.
2017-11-21build.sh: update copyright & email legend.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-11-21{build.sh,subr/pkg_setup_dispatch.subr}: split.Lucio Andrés Illanes Albornoz (arab, vxp)1-62/+1
2017-11-21Refactors build steps along the sequence {setup,fetch,configure,build,install}.Lucio Andrés Illanes Albornoz (arab, vxp)1-21/+17
subr/mode_check_updates.subr: seperated into check_updates.sh. subr/post_{copy_etc,sha256sums,tarballs}.subr: absorbed into `dist' target.
2017-11-20vars/{build,env}.vars: diet, pt. II.Lucio Andrés Illanes Albornoz (arab, vxp)1-7/+10
vars/build.vars: install w/ `DESTDIR=<prefix> PREFIX= prefix=' by default. vars/build.vars:cmake: build w/ -g0 -O2. vars/cmake.vars: build using cmake_host. vars/pkgconf_host.vars: remove & don't install ${PREFIX}/bin/pkg-config link to avoid confusing host packages. vars/{apr_util,chainport}.vars: replaced w/ corresponding ${PKG_BUILD_STEPS}. patches/perl-5.22.1.local.patch: pass -L. -lperl when linking. patches/smallbasic.local.patch: don't call pcre-config. subr/pkg_autoconf.subr, vars/{lib{caca,udns},toilet}.vars: always install config.sub after bootstrap. subr/pkg_disabled.subr: always silently finish disabled packages. subr/pkg_setup_{env,vars}.subr: split. subr/pkg_{build,install}.subr: always pass LIBTOOL=${PKG_SLIBTOOL:=slibtool}. subr/pkg_{{build,work}_dir,extract,setup_env}.subr: infer ${PKG_BUILD_DIR} from ${PKG_SUBDIR} given the absence of configure{,.{ac,in}}.
2017-10-04vars/build.vars: adds `dev_packages' target and `dev' meta-target comprising ↵Lucio Andrés Illanes Albornoz1-1/+1
devroot and the former. build.sh, subr/build.subr: adds `dev' meta-target.
2017-09-06build.sh, subr/{post_strip,pkg_{install_pre,strip}.subr: strip(1) after ↵Lucio Andrés Illanes Albornoz1-1/+1
install for each package to save disk space. vars/build.vars, vars/install_....vars: install coreutils_flavour_minipix w/ newly added ${TARGET}-install-strip to save disk space.
2017-06-06build.sh, etc/build.usage: adds --debug-minipix: override default behaviour ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+3
of strip(1)ping minipix/bin/*. subr/post_strip.subr: strip(1) minipix/bin/* unless --debug-minipix was specified (via midipix.) vars/build.vars: adds `minipix' target individually and as part of `world' encompassing all minipix-flavoured packages.
2017-06-01build.sh, subr/pre_build_files.subr: log list of failed build scripts when ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+10
using relaxed mode (-R).
2017-05-30build.sh, etc/build.usage: adds -[46]: force IPv[46] when downloading.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
subr/pre_setup_env.subr: prepend -4 or -6 to ${WGET_ARGS} when -[46] was specified.
2017-04-15build.sh, etc/build.usage: adds -R: [i]gnore build failures and continue ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+3
building (relaxed mode) (via midipix.)
2017-02-16build.sh: unset ${PKG_NAME_FLAVOUR} across individual packages.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
2017-02-15build.sh: set ${PKG_NAME_PARENT} for `flavoured' packages.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+3
subr/build.subr: fix bug in log_env_vars(). subr/pkg_setup_env.subr: inherit and log variables from parent packages when processing `flavoured' packages. vars/build.vars: replaces minipix packages w/ {bash,coreutils}_flavour_minipix, which are statically linked and installed to ${PREFIX_MINIPIX}. vars/musl.vars: don't install libc.so to ${PREFIX_MINIPIX}/lib.
2017-02-06build.sh: always build all steps for packages in the `INVARIANTS' target.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+4
subr/post_sha256sums.subr: use relative pathnames in SHA256SUMS.
2017-02-06build.sh: call post_sha256sums() before calling post_tarballs().Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
subr/post_sha256sums.subr: compute SHA256SUMs only if !${BUILD_SCRIPT_RC} && ${ARG_TARBALL}. subr/post_tarballs.subr: cleanup; include SHA256SUMS in dist tarball.
2017-02-06build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+11
2017-02-06build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-02-06build.sh, subr/post_sha256sums.subr: compile ${PREFIX}/SHA256SUMS over ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
eXecutable files in ${PREFIX_NATIVE}/{bin,lib} (via midipix.)
2017-02-06build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+6
2017-02-05build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-14/+14
2017-02-05build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
2017-02-05build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-7/+7
2017-02-05build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-29/+39
2017-02-05build.sh: only build packages that haven't been .finish'ed yet.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
2017-02-05build.sh: fix typo.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-02-05build.sh, subr/{build,mode_check_updates}.subr: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-54/+33