summaryrefslogtreecommitdiffhomepage
path: root/etc/build.usage
AgeCommit message (Collapse)AuthorFilesLines
2023-03-20Document ./build.sh --ccache and --theme theme.Lucía Andrea Illanes Albornoz1-0/+2
2023-03-20Implements ccache integration.Lucía Andrea Illanes Albornoz1-1/+1
2023-03-20Implements --theme in {build,pkgtool}.sh.Lucía Andrea Illanes Albornoz1-3/+3
2023-02-17Make everything a bit faster.Lucía Andrea Illanes Albornoz1-4/+2
0) Issues several prayers and sacrifices to Enki under threat of a terrible deluge sent down by Ellil 1) Convert fork-write/read exprs to be non-forking 2) Pass mostly everything by reference 3) Don't bother cleaning the variable namespace because Bourne shell is an abomination 4) Removes broken ./pkgtool.sh -s, --restart-at, --update-diff & ./build.sh --dump-{in,on-abort} 5) Cleanup
2021-08-26Implements logging tags, tag sets, and themes.Lucio Andrés Illanes Albornoz1-73/+86
subr/pkgtool_init.subr:pkgtoolp_init_args(): set ${BUILD_HNAME}.
2021-08-26etc/{README.md,build.usage{,.short}}: updated.Lucio Andrés Illanes Albornoz1-2/+2
2021-08-26Log messages at {info,notice,verbose} and {,-v,-vv}.Lucio Andrés Illanes Albornoz1-8/+8
2021-08-25etc/{build.usage{,.short},pkgtool.usage}: colourised.Lucio Andrés Illanes Albornoz1-70/+70
2021-08-25Implements ./build.sh -V {notice,verbose,build,fileops,install,xtrace}.Lucio Andrés Illanes Albornoz1-5/+15
2021-08-24Split ./build.sh -x from ./build.sh -vvvv.Lucio Andrés Illanes Albornoz1-7/+9
2021-05-10Implements {fetch,configure,build,install}_clean.Lucio Andrés Illanes Albornoz1-7/+7
build.sh:buildp_dispatch_fail_pkg(): print NL when writing to ${DEFAULT_BUILD_LAST_FAILED_PKG_FNAME}. etc/{README.md,build.usage}: updated. midipix.env: updated. subr.rtl/rtl_complex.subr:rtl_sunset(): initial implementation. subr.rtl/rtl_list.subr:rtl_l{filter[23],length2,lift[23]}(): initial implementation. subr.rtl/rtl_state.subr:rtl_state_test(): take ${_build_steps} vs. ${_build_step}. subr/{build_init,ex_pkg_restart}.subr: splits extended restart syntax processing logic. subr/ex_pkg_exec.subr:ex_pkg_exec(): filter "start". subr/pkg_{build,configure,fetch,install}_clean.subr: initial implementation.
2021-05-07Implements extended -r syntax.Lucio Andrés Illanes Albornoz1-13/+26
build.sh:buildp_ast(): only reset package build step state if ${ARG_RESET_PKG} is 1. etc/{build.usage,README.md}: updated. etc/build.usage.short, subr/build_init.subr: implement short help screen. midipix.env: correctly escape multi-line variable assignment expressions. subr.rtl/rtl_list.subr: updated. subr.rtl/rtl_state.subr:rtl_state_set(): correctly implement invalidation. subr.rtl/rtl_state.subr:rtl_state_test(): honour `LAST'. subr/build_init.subr:buildp_init_getopts(): implements --reset-pkg. subr/build_init.subr:buildp_{expand_restart_{at,recursive},process_restart_spec}(): initial implementation. subr/ex_pkg_{dispatch,env}.subr: updated. subr/ex_pkg_exec.subr:ex_pkg_exec(): honour `ALL' and `LAST'. vars/gcc.vars: updated.
2021-04-04etc/README.md: updated.Lucio Andrés Illanes Albornoz1-3/+3
etc/build.usage: updated.
2020-05-26etc/README.md: updated.Lucio Andrés Illanes Albornoz1-1/+1
2020-04-29Designate {debug,release} build as build kind.Lucio Andrés Illanes Albornoz1-1/+1
etc/{{build,pkgtool}.usage,README.md}: updated.
2020-03-15General cleanup.Lucio Andrés Illanes Albornoz1-2/+2
2020-03-11subr/build_init.subr:buildp_init_getopts(): --dump-on-abort excludes -R.Lucio Andrés Illanes Albornoz1-1/+1
etc/{build.usage,README.md}: updated.
2020-03-11Initial implementation of pkgtool.sh.Lucio Andrés Illanes Albornoz1-4/+10
build.sh:build(): move cd(1) to $(dirname "${0}"). etc/{build.usage,README.md}: updated. midipix.env:${DEFAULT_CLEAR_ENV_VARS_EXCEPT}: allow inheriting ARCH, BUILD, BUILD_DLCACHEDIR, BUILD_WORKDIR, and PREFIX* from the environment. pkgtool.sh: initial implementation. subr/build_init.subr:buildp_init_defaults(): allow inheriting ARCH, BUILD, BUILD_DLCACHEDIR, BUILD_WORKDIR, and PREFIX* from the environment. subr/build_init.subr:buildp_init_env(): move cd(1) to $(dirname "${0}"). subr/build_init.subr:buildp_init_files(): correctly pass ${_status} from rtl_check_path_vars(). subr/ex_pkg_exec.subr:ex_pkg_exec(): dump subset of variables and exported variables on build failure and --dump-on-abort. subr/pkgtool_init.subr: adapted from subr/build_init.subr. subr/rtl_complex.subr:rtl_filter_vars(): initial implementation. subr/rtl_string.subr:rtl_subst(): initial implementation.
2020-03-05subr/ex_pkg_dispatch.subr: implement *<group>: inhibit group-group ↵Lucio Andrés Illanes Albornoz1-4/+6
dependency expansion. etc/{build.usage,README.md}, subr/build_init.subr: updated.
2020-03-05subr/ex_pkg{,_dispatch}.subr: implement -r ***name[,..][:step,..]: forcibly ↵Lucio Andrés Illanes Albornoz1-7/+8
rebuild all packages that depend on the specified package(s). etc/{build.usage,README.md}, subr/build_init.subr: updated.
2020-03-05etc/{build.usage,README.md}: updated.Lucio Andrés Illanes Albornoz1-26/+35
2020-03-04etc/{build.usage,README.md}: updated.Lucio Andrés Illanes Albornoz1-2/+3
2020-03-01General cleanup, pt. III.Lucio Andrés Illanes Albornoz1-19/+5
dist/dist_digest.dist: removes obsolete dist file. etc/{build.usage,README.md}: updated. groups/000.host_tools.group:{autoconf,automake,gettext_tiny,install_strip,libtool,m4}_host: moved from groups/010.host_deps.group. groups/221.native_packages_dev.group:lua: moved from groups/231.native_packages_etc.group. groups/221.native_packages_dev.group:lua:${PKG_FORCE_AUTORECONF}: set. groups/231.native_packages_etc.group:{mlogin,tdnf}:${PKG_FORCE_AUTORECONF}: set. groups/241.native_packages_inet.group:nullmailer:${PKG_FORCE_AUTORECONF}: set. groups/251.native_packages_lib.group:lib{asr,gpg_error}:${PKG_FORCE_AUTORECONF}: set. midipix.env, etc/README.md, subr/pkg_configure_autotools.subr: adds FORCE_NO_AUTORECONF. subr/rtl_fileop.subr: adds ch{mod,own} fileops. vars/{check_updates,jamvm,lib{asr,gpg_error},lua,mlogin,tdnf}.vars: removes obsolete vars file.
2020-02-25General cleanup, pt. I.Lucio Andrés Illanes Albornoz1-4/+3
2020-02-22etc/{build.usage,README}: updated.Lucio Andrés Illanes Albornoz1-0/+1
2020-02-15subr/build_init.subr:buildp_init_getopts(): split -p jobs from -P due to ↵Lucio Andrés Illanes Albornoz1-5/+5
getopts(1) constraints. etc/build.usage: updated.
2020-02-14subr/build_init.subr:buildp_init_env(): default to -P jobs count to ↵Lucio Andrés Illanes Albornoz1-2/+2
${DEFAULT_BUILD_CPUS}/2 or 1. subr/build_init.subr:buildp_init_env(): reject invalid -P job counts. etc/build.usage: updated.
2020-02-14build.sh: minor cleanup.Lucio Andrés Illanes Albornoz1-3/+4
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-13groups/2*.native_packages_*.group: adds dependencies.Lucio Andrés Illanes Albornoz1-2/+2
etc/build.usage: updated.
2020-02-13subr/build_args.subr: reimplemented using getopts(1).Lucio Andrés Illanes Albornoz1-0/+2
etc/build.usage: updated. groups/2*.native_packages_*.group: adds dependencies.
2020-02-13subr/build_args.subr: temporarily return to original getopts(1)-based ↵Lucio Andrés Illanes Albornoz1-10/+10
implementation. etc/build.usage: updated.
2020-02-13build.sh: change working directory to "$(dirname "${0}")" at startup.Lucio Andrés Illanes Albornoz1-10/+10
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-12groups/2*.native_packages{,cmdline,dev,etc,inet,lib,x11}.group: ↵Lucio Andrés Illanes Albornoz1-3/+2
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-12vars/build.vars:{host,native}_toolchain: merges {host,native}_toolchain_mingw32.Lucio Andrés Illanes Albornoz1-4/+3
vars/build.vars:native_toolchain: fix group variables. vars/build.vars:ncurses: moved into native_packags_deps_deps. vars/build.vars:{bzip2,expat,lib{elf,ffi,readline,z}}: moved into native_packages_deps. vars/build.vars:{gdb,python2}: moved into native_packages. vars/gcc.vars: minor cleanup. etc/build.usage: updated. subr/ex_pkg_dispatch.subr: disable dependency expansion given -r.
2020-02-11vars/build.vars:{host_toolchain,invariants,native_{runtime,tools,toolchain_m ↵Lucio Andrés Illanes Albornoz1-5/+4
ingw32}}: adds dependencies. vars/build.vars:native_toolchain: merges native_toolchain_deps, adds dependencies. vars/build.vars:{bzip2,expat,gdb,python2}: moved into native_toolchain, adds dependencies. vars/build.vars:native_packages_deps{,_{deps,x11}}:${PKG_IN_TREE}: set. vars/env.vars:${DEFAULT_BUILD_VARS}: adds IN_TREE. vars/gcc.vars: continuously echo build status messages to pipe fd #3. etc/build.usage: updated. subr/ex_pkg_dispatch.subr: enforce in-order building given ${PKG_IN_TREE} set on group.
2020-02-09Rename build targets to build groups to avoid confusion w/ target architectures.Lucio Andrés Illanes Albornoz1-3/+3
2020-02-09vars/build.vars:host_deps: split from host_tools.Lucio Andrés Illanes Albornoz1-4/+5
vars/build.vars:host_deps:${PKG_PARALLELISE}: parallelise. vars/build.vars:host_tools_rpm:${PKG_PARALLELISE}: don't parallelise (implicitly.) etc/build.usage: updated.
2020-02-08vars/build.vars:host_tools: merges host_tools_deps.Lucio Andrés Illanes Albornoz1-1/+1
etc/build.usage: updated.
2019-10-11vars/build.vars:native_packages_deps_deps: split from native_packages_deps.Lucio Andrés Illanes Albornoz1-2/+2
vars/build.vars:native_packages_deps:{curl,libarchive,ncurses{t,}w,libuv}: moved to native_packages_deps_deps as dependencies of cmake. etc/build.usage: updated.
2019-01-19build.sh, subr/build_checks.subr, vars/midipix.vars: removes ↵Lucio Andrés Illanes Albornoz1-5/+4
${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-3/+4
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-3/+2
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-43/+43
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-19etc/build.usage, subr/build_args.subr: -D {t{bz2,gz,xz},zipdist} implies -D ↵Lucio Andrés Illanes Albornoz1-0/+1
minipix.
2019-01-19etc/{build.usage,README}: fix typo.Lucio Andrés Illanes Albornoz1-1/+1
subr/ex_rtl_log.subr:ex_rtl_log_msg(): minor cleanup.
2019-01-19build.sh, etc/build.usage, subr/*: merges {-[ptz],--rpm} into -D ↵Lucio Andrés Illanes Albornoz1-20/+10
{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.
2019-01-18vars/build.vars:invariants: adds invariants_zipdist.Lucio Andrés Illanes Albornoz1-1/+2
etc/build.usage, subr/build_args.subr: adds -z. vars/invariants_tarballs.vars:pkgp_dist_tarball_src(): only include package build directories. vars/invariants_zipdist.vars: added. vars/midipix.vars: adds ${DEFAULT_ZIPDIST_FNAME_PREFIX}.
2018-06-08vars/build.vars:psxscl_strace:${PKG_CFLAGS_CONFIGURE_EXTRA}: replace ↵Lucio Andrés Illanes Albornoz1-1/+1
-DPSX_INTERNAL_STRACE w/ -DPSX_EXTENDED_STRACE (via midipix.) etc/build.usage: replace -DPSX_INTERNAL_STRACE w/ -DPSX_EXTENDED_STRACE (via midipix.)
2018-05-31subr/build_init.subr, etc/build.usage: additionally source ↵Lucio Andrés Illanes Albornoz1-1/+1
${HOME}/.midipix_build.vars.
2018-05-14etc/build.usage: update build steps.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1