summaryrefslogtreecommitdiffhomepage
path: root/etc/build.usage
AgeCommit message (Collapse)AuthorFilesLines
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
2017-11-29build.sh: always print std{out,err} logs given ${ARG_XTRACE} (-x.)Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
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-28vars/build.vars, etc/build.usage: split build targets.Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+6
subr/pkg_install.subr, vars/env.vars: removes ${PKG_PREFIX_EXTRA}. etc/config.cache: adds util_linux.
2017-11-28build.sh: log build target {start,finish}.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+4
vars/build.vars, etc/build.usage: adds {host,native}_toolchain_deps.
2017-11-22build.sh, etc/build.usage, subr/ex_setup_args.subr: adds -vvv and -vv.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+4
subr/ex_rtl_log.subr:ex_log_msg(): adds vvvo and vvfo.
2017-11-22subr/*: reorganised as {ex{,_{pkg,rtl,setup}},pkg}_*.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-11-21subr/pkg_setup_distclean.subr: rm(1) ${PKG_BASE_DIR} on-demand.Lucio Andrés Illanes Albornoz (arab, vxp)1-11/+14
etc/build.usage: updated. subr/pkg_setup_{env,subdirs}.subr: split {cd,mkdir}(1) sequence into setup_env_subdirs. vars/env.vars: adds setup_distclean:variant & setup_subdirs:invariant build steps.
2017-11-21vars/build.vars: wake up disabled packages.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+4
vars/env.vars: fix ${DEFAULT_BUILD_CPUS} reference. vars/{gcc,libfirm,psxstub}.vars: fix ${PKG_MAKEFLAGS_BUILD} reference. vars/git.vars:pkg_git_install_post(): process files in destdir. subr/pkg_install_libs.subr:pkgp_install_lib_link(): ln(1) w/ target's basename. subr/pkg_install_libs.subr:pkg_install_libs(): sanity-check filenames. subr/pkg_setup_env.subr:pkg_setup_env(): rm(1) ${PKG_BASE_DIR} during -r. etc/build.usage: updated.
2017-11-21Refactors build steps along the sequence {setup,fetch,configure,build,install}.Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+3
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-2/+3
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}}.