summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-07 19:15:19 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-07 19:15:19 +0000
commit9cd09551af678c135e240f0958e84ef8a820f8b9 (patch)
tree5e83804b80789040d110cd32bfdc575c7f3d096d /eclass/distutils-r1.eclass
parentdev-python/pandas: Add missing eclass (diff)
downloadgentoo-2-9cd09551af678c135e240f0958e84ef8a820f8b9.tar.gz
gentoo-2-9cd09551af678c135e240f0958e84ef8a820f8b9.tar.bz2
gentoo-2-9cd09551af678c135e240f0958e84ef8a820f8b9.zip
Disable parallel run support to make things easier for developers and more predictable for users.
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass30
1 files changed, 2 insertions, 28 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 8c220db957fd..675766b0ce5b 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.103 2014/11/24 01:39:55 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.104 2014/12/07 19:15:19 mgorny Exp $
# @ECLASS: distutils-r1
# @MAINTAINER:
@@ -181,20 +181,6 @@ fi
# 'build --build-base ${BUILD_DIR}' to enforce keeping & using built
# files in the specific root.
-# @ECLASS-VARIABLE: DISTUTILS_NO_PARALLEL_BUILD
-# @DEFAULT_UNSET
-# @DESCRIPTION:
-# If set to a non-null value, the parallel build feature will
-# be disabled.
-#
-# When parallel builds are used, the implementation-specific sub-phases
-# for selected Python implementation will be run in parallel. This will
-# increase build efficiency with distutils which does not do parallel
-# builds.
-#
-# This variable can be used to disable the afore-mentioned feature
-# in case it causes issues with the package.
-
# @ECLASS-VARIABLE: mydistutilsargs
# @DEFAULT_UNSET
# @DESCRIPTION:
@@ -607,13 +593,6 @@ distutils-r1_run_phase() {
fi
local -x PYTHONPATH="${BUILD_DIR}/lib:${PYTHONPATH}"
- if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
- local -x TMPDIR=${T}/${EPYTHON}
- local -x HOME=${TMPDIR}/home
-
- mkdir -p "${TMPDIR}" "${HOME}" || die
- fi
-
# Set up build environment, bug #513664.
local -x AR=${AR} CC=${CC} CPP=${CPP} CXX=${CXX}
tc-export AR CC CPP CXX
@@ -672,12 +651,7 @@ _distutils-r1_run_foreach_impl() {
set -- distutils-r1_run_phase "${@}"
if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
- if [[ ${DISTUTILS_NO_PARALLEL_BUILD} || ${DISTUTILS_SINGLE_IMPL} ]]
- then
- python_foreach_impl "${@}"
- else
- python_parallel_foreach_impl "${@}"
- fi
+ python_foreach_impl "${@}"
else
if [[ ! ${EPYTHON} ]]; then
die "EPYTHON unset, python-single-r1_pkg_setup not called?!"