summaryrefslogtreecommitdiffhomepage
path: root/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-02-25build.sh:buildp_dispatch(): set ${_njobs_max} from ${ARG_PARALLEL} vs. ↵Lucio Andrés Illanes Albornoz1-1/+1
${DEFAULT_BUILD_CPUS}.
2020-02-25build.sh:buildp_dispatch(): default ${_njobs_max} to 1 vs. 0.Lucio Andrés Illanes Albornoz1-1/+1
2020-02-25General cleanup, pt. I.Lucio Andrés Illanes Albornoz1-20/+18
2020-02-14build.sh: minor cleanup.Lucio Andrés Illanes Albornoz1-1/+1
groups/2*.native_packages_*.group: adds dependencies. subr/{build_init,ex_pkg_dispatch}.subr, etc/build.usage: forcibly rebuild all dependencies w/ -r **[ ...] vs. -r *[ ... ]. subr/ex_pkg_dispatch.subr:exp_pkg_get_packages(): log message before and after resolving dependencies.
2020-02-14etc/README: updated.Lucio Andrés Illanes Albornoz1-10/+1
groups/231.native_packages_etc.group:apr_util:${PKG_MAKEFLAGS_BUILD}: build w/ -j1. subr/{build_{args,init},ex_rtl{,_complex}}.subr: minor cleanup. subr/{build_args,ex_rtl}.subr: purge leading whitespaces.
2020-02-13build.sh: change working directory to "$(dirname "${0}")" at startup.Lucio Andrés Illanes Albornoz1-0/+1
etc/build.usage: updated. groups/2*.native_packages_*.group: adds dependencies. vars/env.vars, groups/{010.host_deps,120.native_runtime}.group: removes ${PKG_SRC_TARBALL_DISABLE}. groups/999.invariants.group b, vars/{env,invariants_tarballs}.vars: removes tarball generation. subr/build_args.subr: reimplemented using getopts(1). subr/{build_args,ex_pkg_dispatch}.subr: don't inhibit dependency processing if ${ARG_RESTART_RECURSIVE} is set.
2020-02-12build.sh:buildp_dispatch(): correctly filter ${_build_groups_lc} in the ↵Lucio Andrés Illanes Albornoz1-1/+1
absence of -D rpm. groups/0[23]0.host_{deps_rpm,toolchain}.group: renamed. groups/020.host_deps_rpm.group:libarchive_host:${PKG_CFLAGS_CONFIGURE}: configure w/ -I${PREFIX}/include.
2020-02-12groups/2*.native_packages{,cmdline,dev,etc,inet,lib,x11}.group: ↵Lucio Andrés Illanes Albornoz1-1/+1
merged/split, adds dependencies. groups/: updates layout. etc/build.usage: updated. subr/build_init.subr:build_init(): only include actual groups in ${GROUPS_DEFAULT}.
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.