summaryrefslogtreecommitdiffhomepage
path: root/etc/build.usage
AgeCommit message (Collapse)AuthorFilesLines
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
2018-05-14vars/build.vars, etc/build.usage: moves file_host to host_tools_deps as a ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
common dependency of host_tools_rpm and host_packages.
2018-05-14Adds --rpm: [b]uild RPM packages for each package built; selects host_tools_rpm.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+3
2018-04-03build.sh:start_build: always build all `invariants' target packages.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
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-04-01etc/build.usage: include --{as-needed,debug-minipix} in command line.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
2018-04-01subr/build_checks.subr: don't build given --as-needed and no new commits to ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
midipix_build since the last build. etc/build.usage, subr/build_args.subr: adds --as-needed. vars/build.vars:dist_target: adds dist_gitref. vars/dist_gitref.vars: print git-rev-parse(1) HEAD to ${PREFIX}/build.gitref.
2017-12-22build.sh:fail_pkg: terminate pending builds given build failure, -P, and ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
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-22build.sh, subr/build_args.subr, etc/build.usage: remove meta-targets & fix ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
target.. argument spec(s). vars/build.vars: removes meta-targets, adds ${ALL_TARGETS}.
2017-12-10etc/build.usage, subr/build_args.subr: adds -C build[,dest[,src]] (clean ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+8
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-05etc/build.usage: adds -P [jobs].Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+8
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-05vars/build.vars, etc/build.usage: folds native_packages_* to reduce build time.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+1
2017-12-03etc/build.usage: clarify usage of -r.Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+7
2017-12-03etc/build.usage: remove `tested on platforms' list.Lucio Andrés Illanes Albornoz (arab, vxp)1-8/+0
2017-12-03etc/build.usage: update.Lucio Andrés Illanes Albornoz (arab, vxp)1-7/+3
subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): reimplement -r ALL.
2017-12-03Separate front end (build.sh, subr/build_*) from dispatcher.Lucio Andrés Illanes Albornoz (arab, vxp)1-12/+11