summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-02-26 14:42:24 +0000
committerMichał Górny <mgorny@gentoo.org>2013-02-26 14:42:24 +0000
commit42d3d91965b45f776eaf2773e5144435f3dd6074 (patch)
tree0f630b412dc8f6efb38c734d0ec1c0325ca5677e /eclass
parentStable for HPPA (bug #458676). (diff)
downloadhistorical-42d3d91965b45f776eaf2773e5144435f3dd6074.tar.gz
historical-42d3d91965b45f776eaf2773e5144435f3dd6074.tar.bz2
historical-42d3d91965b45f776eaf2773e5144435f3dd6074.zip
Enable writing split build logs.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/multilib-build.eclass9
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