diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-02-26 14:42:24 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-02-26 14:42:24 +0000 |
commit | e71114ff828ef3b85911ebf14a535ce60282d694 (patch) | |
tree | b518a649527e7b715ca231cbff337c1ace74e0dd /eclass | |
parent | Stable for HPPA (bug #458676). (diff) | |
download | gentoo-2-e71114ff828ef3b85911ebf14a535ce60282d694.tar.gz gentoo-2-e71114ff828ef3b85911ebf14a535ce60282d694.tar.bz2 gentoo-2-e71114ff828ef3b85911ebf14a535ce60282d694.zip |
Enable writing split build logs.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/multilib-build.eclass | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 8049227432a4..dd2caefdba65 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.689 2013/02/26 14:36:40 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.690 2013/02/26 14:42:24 mgorny Exp $ + + 26 Feb 2013; Michał Górny <mgorny@gentoo.org> multilib-build.eclass: + Enable writing split build logs. 26 Feb 2013; Michał Górny <mgorny@gentoo.org> eutils.eclass: prune_libtool_files: support running without pkg-config installed, using sed diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index feac748f8210..bd773d032a01 100644 --- a/eclass/multilib-build.eclass +++ b/eclass/multilib-build.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.2 2013/02/10 11:44:00 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.3 2013/02/26 14:42:24 mgorny Exp $ # @ECLASS: multilib-build.eclass # @MAINTAINER: @@ -100,7 +100,8 @@ multilib_foreach_abi() { local ABI for ABI in $(multilib_get_enabled_abis); do multilib_toolchain_setup "${ABI}" - BUILD_DIR=${initial_dir%%/}-${ABI} "${@}" + local BUILD_DIR=${initial_dir%%/}-${ABI} + "${@}" | tee -a "${T}/build-${ABI}.log" done } @@ -127,8 +128,8 @@ multilib_parallel_foreach_abi() { multijob_child_init multilib_toolchain_setup "${ABI}" - BUILD_DIR=${initial_dir%%/}-${ABI} - "${@}" + local BUILD_DIR=${initial_dir%%/}-${ABI} + "${@}" 2>&1 | tee -a "${T}/build-${ABI}.log" ) & multijob_post_fork |