diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-07-11 15:51:22 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-07-11 16:53:42 +0000 |
commit | 672107a200f15d952f2d8c3750e8c58be5035ee3 (patch) | |
tree | bd024539f9ff1cbad02bf69ae49acb35a6265ec3 /build.sh | |
parent | 49ffbe6ed6b69b04944d7a1ef8164f3920fc7507 (diff) | |
download | midipix_build-672107a200f15d952f2d8c3750e8c58be5035ee3.tar.bz2 midipix_build-672107a200f15d952f2d8c3750e8c58be5035ee3.tar.xz |
- Build slibtool_host in build level 0 and slibtool in build level 1.
- Fetch lazy in 006.musl.full.build.
- Infer the default number of make(1) jobs to run simultaneously from /proc/cpuinfo.
- Merges <https://ftp.gnu.org/gnu/bash/bash-4.3-patches/> into bash-4.3.local.patch.
- Print all attributes off SGR at the start of a message in log_msg().
- Simplify 009.gcc.full.build and fetch{,_git}().
- Only create library archives for shared objects that have actually been installed.
- Only invoke git-clone(1) and wget(1) in fetch{_git,}() when necessary.
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -38,6 +38,10 @@ case ${1} in *) exec cat build.usage; ;; esac; shift; done; +if [ -e /proc/cpuinfo ]; then + BUILD_CPUS=$(awk '/^processor/{cpus++} END{print cpus}' /proc/cpuinfo); +fi; + # Source the build variables file and its local overrides, if any. for __ in ${HOME}/midipix_build.vars ../midipix_build.vars ./build.vars; do [ -e ${__} ] && . ${__}; |