Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: ports/python-static/build.sh

Issue 710193003: Reduce the number of times we build a host copy of python. (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ports/python-static/build.sh
diff --git a/ports/python-static/build.sh b/ports/python-static/build.sh
index bcfd4a3a781bcfae82a2adfe07aad8ab9326cc85..581f3a7c71c5a7e290b039b7818c4f816d443ed6 100644
--- a/ports/python-static/build.sh
+++ b/ports/python-static/build.sh
@@ -24,7 +24,7 @@ ConfigureStep() {
EXTRA_CONFIGURE_ARGS+=" --with-suffix=${NACL_EXEEXT}"
EXTRA_CONFIGURE_ARGS+=" --build=i686-linux-gnu --disable-shared --enable-static"
export SO=.a
- export MAKEFLAGS="PGEN=${NACL_HOST_PYROOT}/../python-host/build-nacl-host/Parser/pgen"
+ export MAKEFLAGS="PGEN=${NACL_HOST_PYBUILD}/Parser/pgen"
export LIBS="-ltermcap"
export DYNLOADFILE=dynload_ppapi.o
export MACHDEP=ppapi
@@ -63,7 +63,7 @@ ConfigureStep() {
BuildStep() {
SetupCrossEnvironment
export CROSS_COMPILE=true
- export MAKEFLAGS="PGEN=${NACL_HOST_PYROOT}/../python-host/build-nacl-host/Parser/pgen"
+ export MAKEFLAGS="PGEN=${NACL_HOST_PYBUILD}/Parser/pgen"
DefaultBuildStep
ChangeDir ${BUILD_DIR}
Banner "Rebuilding libpython2.7.a"
« README.rst ('K') | « ports/python-host/pkg_info ('k') | ports/python-static/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698