summaryrefslogtreecommitdiffhomepage
path: root/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-02-12{build.sh,subr/ex_pkg_dispatch.subr}: prepend {disabled,skipped,start}_pkg ↵Lucio Andrés Illanes Albornoz1-8/+8
messages w/ {current,maximum} count of packages in build group.
2020-02-11Implements package-package dependencies.Lucio Andrés Illanes Albornoz1-1/+1
2020-02-09Rename build targets to build groups to avoid confusion w/ target architectures.Lucio Andrés Illanes Albornoz1-9/+9
2019-05-08build.sh:{disabled,skipped}_pkg: correctly increment ${BUILD_NSKIP}.Lucio Andrés Illanes Albornoz1-2/+4
2019-01-19build.sh, subr/{build_args,ex_pkg_dispatch}.subr: fix -r LAST.Lucio Andrés Illanes Albornoz1-1/+9
2019-01-19build.sh:buildp_dispatch(): correctly call ex_pkg_dispatch().Lucio Andrés Illanes Albornoz1-1/+1
subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): only set ${${_pkgs_found_vname}} if non-zero.
2019-01-19build.sh:buildp_dispatch(): fix ${PKGS_FOUND} variable name.Lucio Andrés Illanes Albornoz1-3/+4
2019-01-19build.sh, subr/build_checks.subr, vars/midipix.vars: removes ↵Lucio Andrés Illanes Albornoz1-1/+1
${DEFAULT_CHECK_PREREQ_{CMDS,FILES{,_DYNAMIC},PERL_MODULES}}. etc/build.usage: update target list. subr/build_checks.subr: merges remaining checks into subr/build_init.subr.
2019-01-19build.sh, etc/build.usage, subr/ex_pkg_dispatch.subr: adds -r LAST.Lucio Andrés Illanes Albornoz1-14/+11
subr/ex_rtl_state.subr: adds ex_rtl_state_clear(). vars/midipix.vars: adds ${DEFAULT_BUILD_LAST_FAILED_PKG_FNAME}.
2019-01-19build.sh, etc/build.usage, subr/build_args.subr: replaces -x w/ -vvv.Lucio Andrés Illanes Albornoz1-1/+1
subr/ex_rtl_{fileop,log}.subr, vars/env.vars: log file operations at -vvvv.
2019-01-19etc/build.usage, subr/build_{args,checks}.subr: merges -c into -C as -C prefix.Lucio Andrés Illanes Albornoz1-12/+0
etc/build.usage, subr/build_{args,init}.subr: merges -[46N] into -F as ipv4|ipv6|offline. subr/ex_rtl_fetch.subr: honour ${{ARG_FETCH_FORCE,DEFAULT_GIT_ARGS}}. subr/pkg_install_strip.subr: correctly strip non-release build binaries. subr/pkg_install_strip.subr:pkg_install_strip(): honour ${ARG_DEBUG_MINIPIX}. vars/env.vars, subr/pkg_fetch_{download,git,wget}.subr: merges fetch_{git,wget} into fetch_download. vars/midipix.vars: adds ${DEFAULT_GIT_ARGS}. vars/{musl,python[23]{,_host}}.vars: updated concerning fetch_download.
2019-01-19build.sh, etc/build.usage, subr/*: merges {-[ptz],--rpm} into -D ↵Lucio Andrés Illanes Albornoz1-11/+7
{minipix,pkg,rpm,t{bz2,gz,xz},zipdist}. subr/{build_args,pkg_clean}.subr: cleanup ${ARG_CLEAN_BUILDS} usage. vars/build.vars:dist: merged into invariants. vars/invariants_minipix.vars: adapted from vars/dist_minipix_dist.vars. vars/{invariants_tarballs,midipix}.vars: don't produce source tarballs.
2018-05-14build.sh:buildp_dispatch(): fix typo re: ${ARG_RPM:-0} (via midipix.)Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2018-05-14Adds --rpm: [b]uild RPM packages for each package built; selects host_tools_rpm.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+8
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