From fc9417f077a909539495531229f9035c15fe10f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Wed, 22 Nov 2017 16:00:55 +0000 Subject: build.sh, subr/ex_pkg_dispatch.subr: splits build logging and job control logic. subr/ex_pkg_dispatch.subr: dispatch background jobs w/ redirected std{err,out} & FIFO. subr/ex_pkg_state.subr:ex_pkg_state_init(): trap(1) signals to abort build. vars/{gcc,musl}.vars: don't exit(1) from within package subroutine. --- vars/gcc.vars | 5 ----- vars/musl.vars | 3 --- 2 files changed, 8 deletions(-) (limited to 'vars') diff --git a/vars/gcc.vars b/vars/gcc.vars index 277ba8a8..f3b192b8 100644 --- a/vars/gcc.vars +++ b/vars/gcc.vars @@ -159,7 +159,6 @@ pkg_gcc_stage1_all() { fi; ex_pkg_state_push "${PKG_NAME}" install finish; fi; - exit 0; }; pkg_gcc_runtime_all() { @@ -176,7 +175,6 @@ pkg_gcc_runtime_all() { make ${PKG_MAKEFLAGS_BUILD} install-target-libgcc; ex_pkg_state_push "${PKG_NAME}" install finish; fi; - exit 0; }; pkg_gcc_libstdcpp_v3_all() { @@ -193,7 +191,6 @@ pkg_gcc_libstdcpp_v3_all() { make ${PKG_MAKEFLAGS_BUILD} install-target-libstdc++-v3; ex_pkg_state_push "${PKG_NAME}" install finish; fi; - exit 0; }; pkg_gcc_full_all() { @@ -210,7 +207,6 @@ pkg_gcc_full_all() { make ${PKG_MAKEFLAGS_BUILD} install; ex_pkg_state_push "${PKG_NAME}" install finish; fi; - exit 0; }; pkg_gcc_native_all() { @@ -253,7 +249,6 @@ pkg_gcc_native_all() { make ${PKG_MAKEFLAGS_BUILD} "DESTDIR=${PKG_PREFIX}" install; ex_pkg_state_push "${PKG_NAME}" install finish; fi; - exit 0; }; # vim:filetype=sh diff --git a/vars/musl.vars b/vars/musl.vars index 5605872f..d2dfd54c 100644 --- a/vars/musl.vars +++ b/vars/musl.vars @@ -53,7 +53,6 @@ pkg_musl_no_complex_all() { ./lazy -e "${_install}" -x build; ex_pkg_state_push "${PKG_NAME}" build finish; fi; - exit 0; }; pkg_musl_native_all() { @@ -76,7 +75,6 @@ pkg_musl_native_all() { ex_build_fileop ln_symbolic ../lib/libc.so "${PKG_PREFIX}/bin/ldd"; ex_pkg_state_push "${PKG_NAME}" build finish; fi; - exit 0; }; pkg_musl_full_all() { @@ -98,7 +96,6 @@ pkg_musl_full_all() { ./lazy -e "${_install}" -x build; ex_pkg_state_push "${PKG_NAME}" build finish; fi; - exit 0; }; # vim:filetype=sh -- cgit v1.2.3