Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-12-22 | build.sh:fail_pkg: terminate pending builds given build failure, -P, and ↵ | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -5/+0 | |
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-06 | subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): don't launch new jobs if at ↵ | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -10/+12 | |
least one package failed. | |||||
2017-12-05 | subr/build_init.subr: touch ${DEFAULT_BUILD_LOG_FNAME} and set ↵ | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -1/+1 | |
${BUILD_IS_PARENT=1}. subr/ex_pkg_dispatch.subr:exp_pkg_dispatch(): set ${BUILD_IS_PARENT=0} within child process context. subr/ex_rtl_log.subr:exp_rtl_log_printf(): append message sans attributes to ${DEFAULT_BUILD_LOG_FNAME} given ${BUILD_IS_PARENT}. | |||||
2017-12-05 | etc/build.usage: adds -P [jobs]. | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -1/+2 | |
subr/build_args.subr: adds `optarg' arg type & ARG_PARALLEL:optarg:-P:auto. subr/build_init.subr: default ${ARG_PARALLEL} ([jobs]) to ${DEFAULT_BUILD_CPUS}. subr/ex_pkg_dispatch.subr: honour ${ARG_PARALLEL}, defaulting to no parallelisation. | |||||
2017-12-05 | subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): dispatch ${_njobs_max} jobs ↵ | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -4/+10 | |
prior to entering FIFO loop. | |||||
2017-12-05 | subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): open FIFO in read/write mode to ↵ | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -2/+2 | |
prevent EOF-related race conditions. subr/ex_pkg_exec.subr:ex_pkg_exec(): always dispatch finish for successfully built packages. | |||||
2017-12-05 | subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): correctly handle failed package ↵ | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -3/+0 | |
builds. | |||||
2017-12-05 | subr/ex_pkg_dispatch.subr: maintain the count of jobs at its maximum at all ↵ | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -40/+56 | |
times, whenever applicable. | |||||
2017-12-05 | vars/build.vars:{native_packages_*,dist_minipix}: enables parallelisation. | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -39/+52 | |
vars/env.vars:${DEFAULT_BUILD_VARS}: adds ${PKG_PARALLELISE}. subr/ex_pkg_dispatch.subr: implements parallelisation. | |||||
2017-12-03 | subr/*.subr: fix header legends. | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -1/+5 | |
subr/ex_pkg_dispatch.subr: add warning to header concerning set -o errexit. | |||||
2017-12-03 | etc/build.usage: update. | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -1/+2 | |
subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): reimplement -r ALL. | |||||
2017-12-03 | Separate front end (build.sh, subr/build_*) from dispatcher. | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -40/+54 | |
2017-11-29 | build.sh: always print std{out,err} logs given ${ARG_XTRACE} (-x.) | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -0/+3 | |
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-23 | subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): fix potential race condition. | Lucio Andrés Illanes Albornoz | 1 | -13/+14 | |
subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): eliminate redundant 2nd FIFO. | |||||
2017-11-22 | subr/ex_pkg_{dispatch,env}.subr: move ${PKG_DISABLED} check. | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -11/+16 | |
2017-11-22 | subr/ex_pkg_{dispatch,steps}.subr: split. | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -84/+20 | |
subr/ex_pkg_{env,vars}.subr: moved checks. | |||||
2017-11-22 | build.sh, subr/ex_pkg_dispatch.subr: splits build logging and job control logic. | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -5/+36 | |
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-22 | subr/ex_pkg_dispatch.subr: correctly check for finished package status. | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -51/+53 | |
2017-11-22 | subr/*: reorganised as {ex{,_{pkg,rtl,setup}},pkg}_*. | Lucio Andrés Illanes Albornoz (arab, vxp) | 1 | -0/+71 | |