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

Side by Side Diff: ports/gforth/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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # NOTE: This build doesn't work in parallel. 5 # NOTE: This build doesn't work in parallel.
6 OS_JOBS=1 6 OS_JOBS=1
7 7
8 # This build relies on certain host binaries. 8 # This build relies on certain host binaries.
9 HOST_BUILD_DIR=${WORK_DIR}/build-nacl-host 9 HOST_BUILD_DIR=${WORK_DIR}/build_host
10 HOST_INSTALL_DIR=${WORK_DIR}/install-nacl-host 10 HOST_INSTALL_DIR=${WORK_DIR}/install_host
11 11
12 EXECUTABLES="gforth-ditc${NACL_EXEEXT}" 12 EXECUTABLES="gforth-ditc${NACL_EXEEXT}"
13 MAKE_TARGETS="${EXECUTABLES}" 13 MAKE_TARGETS="${EXECUTABLES}"
14 14
15 BuildHostGforth() { 15 BuildHostGforth() {
16 MakeDir ${HOST_BUILD_DIR} 16 MakeDir ${HOST_BUILD_DIR}
17 ChangeDir ${HOST_BUILD_DIR} 17 ChangeDir ${HOST_BUILD_DIR}
18 CC="gcc -m32" \ 18 CC="gcc -m32" \
19 LogExecute ${SRC_DIR}/configure --prefix=${HOST_INSTALL_DIR} 19 LogExecute ${SRC_DIR}/configure --prefix=${HOST_INSTALL_DIR}
20 LogExecute make -j${OS_JOBS} 20 LogExecute make -j${OS_JOBS}
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 LogExecute python ${TOOLS_DIR}/create_term.py gforth.nmf 72 LogExecute python ${TOOLS_DIR}/create_term.py gforth.nmf
73 73
74 InstallNaClTerm ${PUBLISH_DIR} 74 InstallNaClTerm ${PUBLISH_DIR}
75 75
76 cp ${START_DIR}/gforth.js ${PUBLISH_DIR}/ 76 cp ${START_DIR}/gforth.js ${PUBLISH_DIR}/
77 77
78 ChangeDir ${PUBLISH_DIR} 78 ChangeDir ${PUBLISH_DIR}
79 Remove gforth.zip 79 Remove gforth.zip
80 LogExecute zip -r gforth.zip . 80 LogExecute zip -r gforth.zip .
81 } 81 }
OLDNEW
« README.rst ('K') | « ports/font-util/build.sh ('k') | ports/python-host/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698