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

Side by Side Diff: ports/python_modules/cython/build.sh

Issue 138913004: Build system for statically-linked Python. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Final update with merge against current naclports.py Created 6 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « ports/python-static/pkg_info ('k') | ports/python_modules/cython/pkg_info » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2 # Copyright (c) 2014 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 BuildStep() {
7 ChangeDir ${SRC_DIR}
8 # No destination installation
9 if ! CheckStamp install_host_${PACKAGE_NAME} ; then
10 LogExecute rm -rf build dist
11 export NACL_PORT_BUILD=host
12 # Force 32 bits here for Py_ssize_t correctness.
13 export CC="gcc -m32"
14 export CXX="g++ -m32"
15 export LD="gcc -m32"
16 LogExecute ${NACL_HOST_PYTHON} setup.py \
17 ${NACL_PYSETUP_ARGS:-} \
18 install --prefix=${NACL_HOST_PYROOT}
19 TouchStamp install_host_${PACKAGE_NAME}
20 fi
21 }
22
23 InstallStep() {
24 return
25 }
26
27 ConfigureStep() {
28 return
29 }
OLDNEW
« no previous file with comments | « ports/python-static/pkg_info ('k') | ports/python_modules/cython/pkg_info » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698