summaryrefslogtreecommitdiffhomepage
path: root/subr
AgeCommit message (Collapse)AuthorFilesLines
2017-12-14vars/build.vars:apr{,_util}: explicitly mark dependency.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
subr/pkg_clean.subr: defer cleaning packages w/ dependencies. vars/env.vars:${DEFAULT_BUILD_VARS}: adds DEPS_{BASE,PARENT}.
2017-12-10subr/pkg_clean.subr: correctly rm(1) ${PKG_BASE_DIR}/${PKG_SUBDIR}.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-12-10subr/build_init.subr:build_init(): always rm(1) ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}.
2017-12-10etc/build.usage, subr/build_args.subr: adds -C build[,dest[,src]] (clean ↵Lucio Andrés Illanes Albornoz (arab, vxp)3-3/+33
subdirs) and -p (create package tarballs). subr/pkg_clean.subr: given -C, clean build, dest, and/or src. subr/pkg_install.subr: given -p, create gzip(1)-compressed package tarball at ${PKG_BASE_DIR}/${PKG_NAME}.tgz. vars/env.vars:${DEFAULT_BUILD_STEPS}: adds `clean' post-install.
2017-12-06subr/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-06vars/build.vars:host_packages_deps: adds python3_host v3.5.1 & ${PKG_PYTHON}.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+4
vars/env.vars, subr/pkg_configure.subr: process ${PKG_PYTHON}. vars/python3_host.vars: create ${PREFIX}/bin/python ${LD_LIBRARY_PATH} wrapper.
2017-12-06subr/pkg_install.subr, vars/dist_{etc,minipix_dist}.vars: explicitly pass ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
--overwrite to tar(1).
2017-12-05subr/build_init.subr: fix typo.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-12-05subr/build_init.subr: touch ${DEFAULT_BUILD_LOG_FNAME} and set ↵Lucio Andrés Illanes Albornoz (arab, vxp)3-16/+31
${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-05build.sh: log step_pkg in blue at -v[v[v]].Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
subr/ex_rtl_log.subr, vars/env.vars: adds `vucc' & ${DEFAULT_LOG_MSG_VUCC_COLOUR}.
2017-12-05etc/build.usage: adds -P [jobs].Lucio Andrés Illanes Albornoz (arab, vxp)3-19/+34
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-05subr/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-05subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): open FIFO in read/write mode to ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-4/+4
prevent EOF-related race conditions. subr/ex_pkg_exec.subr:ex_pkg_exec(): always dispatch finish for successfully built packages.
2017-12-05subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): correctly handle failed package ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+0
builds.
2017-12-05subr/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-05vars/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-04vars/build.vars: replaces dist_minipix_{libs,links} w/ dist_minipix.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+10
vars/dist_minipix.vars: install binaries, libraries, and terminfo into ${PREFIX}/minipix_dist/bin. subr/ex_rtl_fileop.subr: adds cp_follow.
2017-12-04subr/{ex_{pkg_{env,exec},rtl_fetch},pkg_install_pkgconfig}.subr: remove ↵Lucio Andrés Illanes Albornoz (arab, vxp)4-4/+4
trailing SP/VT.
2017-12-04vars/build.vars:{cparser,libfirm}: enabled.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
subr/ex_pkg_exec.subr:exp_pkg_exec_pre(): always mkdir ${PKG_{BUILD_,DEST}DIR}.
2017-12-03subr/*.subr: fix header legends.Lucio Andrés Illanes Albornoz (arab, vxp)9-7/+19
subr/ex_pkg_dispatch.subr: add warning to header concerning set -o errexit.
2017-12-03subr/pkg_install_strip.subr: remove stray set -o errexit barrier.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+0
2017-12-03subr/ex_rtl.subr:-ex_rtl_try_run(): remove explicit exit & respect set -o ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
errexit constraints.
2017-12-03vars/build.vars:*_minipix: fixed.Lucio Andrés Illanes Albornoz (arab, vxp)2-29/+33
patches/{bash,bzip2,coreutils}_minipix-*.patch: linked. subr/ex_pkg_env.subr, var/env.vars: replaces flavours mechanism w/ non-recursive per-package ${PKG_INHERIT_FROM}. subr/pkg_configure_patch.subr: remove ${PKG_NAME_PARENT} bits. vars/{bash,xz}_minipix.vars: added/linked.
2017-12-03etc/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-03subr/pkg_install_libs.subr:pkg_install_libs(): remove stray xtrace barrier.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+0
2017-12-03Separate front end (build.sh, subr/build_*) from dispatcher.Lucio Andrés Illanes Albornoz (arab, vxp)35-729/+667
2017-12-02vars/vim.vars: copy config.cache into src/auto/.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+4
subr/pkg_configure_autotools.subr: correctly output config.cache.
2017-11-29subr/ex_{rtl,pkg_steps}.subr: simplify ex_lfilter().Lucio Andrés Illanes Albornoz (arab, vxp)2-14/+24
2017-11-29subr/ex_setup_subdirs.subr, vars/env.vars: fix -c (clean ${PREFIX}.)Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+3
2017-11-29build.sh: always print std{out,err} logs given ${ARG_XTRACE} (-x.)Lucio Andrés Illanes Albornoz (arab, vxp)2-4/+5
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-29subr/pkg_configure_autotools.subr: create ${PKG_BUILD_DIR}/config.cache from ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+6
${PKG_CONFIG_CACHE{,_EXTRA}}. etc/config.cache, vars/*.vars: split into vars/*.vars.
2017-11-28vars/build.vars, etc/build.usage: split build targets.Lucio Andrés Illanes Albornoz (arab, vxp)1-8/+3
subr/pkg_install.subr, vars/env.vars: removes ${PKG_PREFIX_EXTRA}. etc/config.cache: adds util_linux.
2017-11-28subr/ex_setup_subdirs.subr: create ${PREFIX}/share/pkgconfig -> ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
../lib/pkgconfig link.
2017-11-28subr/pkg_install_subdirs.subr: create ${PKG_DESTDIR}/share/pkgconfig -> ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-11/+13
../lib/pkgconfig link.
2017-11-28etc/config.cache: adds git and pcre <- {lighttpd,smallbasic}.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
subr/pkg_configure_autotools.subr: substitute %PREFIX% within installed config.cache.
2017-11-28vars/build.vars: remove ${ENV_VARS_EXTRA} hacks in favour of ${PKG{,_}CONFIG}.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+5
subr/ex_pkg_env.subr: export ${PKG{,_}CONFIG} and ${PKG_CONFIG_LIBDIR} during non-host builds.
2017-11-28subr/pkg_install_libs.subr:pkgp_install_lib_link(): prevent recursive link.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+3
2017-11-27subr/ex_{pkg_env.rtl}.subr: fix ${PKG_ENV_VARS_EXTRA} processing.Lucio Andrés Illanes Albornoz (arab, vxp)2-4/+7
2017-11-27subr/pkg_install_libs.subr:pkgp_install_lib_check(): fixed.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+5
2017-11-23subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): fix potential race condition.Lucio Andrés Illanes Albornoz1-13/+14
subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): eliminate redundant 2nd FIFO.
2017-11-22build.sh:-R: always print/don't print std{out,err} logs for failed packages.Lucio Andrés Illanes Albornoz (arab, vxp)3-14/+12
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)2-1/+17
subr/ex_rtl_log.subr:ex_log_msg(): adds vvvo and vvfo.
2017-11-22subr/ex_pkg_{dispatch,env}.subr: move ${PKG_DISABLED} check.Lucio Andrés Illanes Albornoz (arab, vxp)2-14/+16
2017-11-22subr/ex_pkg_{dispatch,steps}.subr: split.Lucio Andrés Illanes Albornoz (arab, vxp)4-128/+144
subr/ex_pkg_{env,vars}.subr: moved checks.
2017-11-22build.sh, subr/ex_pkg_dispatch.subr: splits build logging and job control logic.Lucio Andrés Illanes Albornoz (arab, vxp)3-54/+78
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/pkg_configure_patch.subr: apply ${PKG_NAME_PARENT} patches whenever ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+8
applicable.
2017-11-22subr/{ex_setup,pkg_install}_subdirs.subr: create share/{doc,info,man}/ dirs ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-1/+12
& symlinks.
2017-11-22subr/ex_pkg_env.subr: explicitly export ${PKG_CONFIG} when building non-host ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+6
packages.
2017-11-22subr/ex_pkg_dispatch.subr: correctly check for finished package status.Lucio Andrés Illanes Albornoz (arab, vxp)1-51/+53
2017-11-22patches/*, subr/pkg_configure_patch{,_pre}.subr: only match against package ↵Lucio Andrés Illanes Albornoz (arab, vxp)3-19/+9
{name,version}. subr/pkg_configure_patch.subr: remove `_host' package name postfix when searching for chainport patches. subr/ex_pkg_env.subr: fix typo.