14 Commits

Author SHA1 Message Date
MilhouseVH
ff7194584f buildsystem: "set -e" error handling not working for addon builds 2020-01-21 19:47:06 +00:00
MilhouseVH
86f677ceea save_build_config: centralise 2019-08-17 12:49:39 +01:00
MilhouseVH
bcb6fbb2dd config/multithread: allow THREADCOUNT=0 (one thread per package) 2019-08-17 12:47:44 +01:00
MilhouseVH
f3ec7145ab buildsystem: fix stale comment 2019-08-17 12:47:32 +01:00
MilhouseVH
ff8c463b31 buildsystem: bootstrapping parallel must not use locks 2019-07-11 00:36:22 +01:00
MilhouseVH
0bd4793492 buildsystem: avoid process forks to init dashboard status file
A typical image build will update the dashboard 3500-4500 times. This change
avoids two process forks (cat, wc) per update, and the remaining $(< file) is
faster than $(cat file).
2019-06-13 22:12:21 +01:00
MilhouseVH
04b8036e32 buildsystem: replace $(cat file) with faster alternative
See: https://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html

"
...
Bash performs the expansion by executing command in a subshell environment and replacing
the command substitution with the standard output of the command, with any trailing newlines
deleted. Embedded newlines are not deleted, but they may be removed during word splitting. The
command substitution $(cat file) can be replaced by the equivalent but faster $(< file).
"

Testing indicates var=$(< file) is twice as fast as var=$(cat file).
2019-06-13 22:12:21 +01:00
MilhouseVH
7b64c946cd config/multithread: don't filter by PKG_ARCH 2019-03-01 12:25:50 +00:00
MilhouseVH
ad938672b2 buildsystem: parallel pid cleanup 2019-02-28 06:19:13 +00:00
MilhouseVH
3f3395fdf4 buildsystem: switch rm -fr to rm -rf for consistency/OCD 2019-02-22 20:11:50 +00:00
MilhouseVH
85da96229f config/multithreaded: install embedded addons too during addon build 2019-02-13 15:10:54 +00:00
MilhouseVH
23c6529978 scripts/create_addon_mt: support building/installing addons with a single plan 2019-02-08 17:17:43 +00:00
MilhouseVH
750772193d squash: multithreaded progress lock 2019-02-08 17:17:43 +00:00
MilhouseVH
0ebc6fef63 build system: add parallel build support; use new "image" package 2019-02-08 17:17:43 +00:00