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

Side by Side Diff: ports/python_modules/python-host/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
OLDNEW
(Empty)
1 #!/bin/bash
2 # Copyright (c) 2013 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 # Use the same patch here as for the destination tree. This allows us to use
7 # the same tree for both, although some care should be taken to note that our
8 # DYNLOAD will be different between the two builds.
9 BUILD_DIR=${WORK_DIR}/build-nacl-host
10
11 ConfigureStep() {
12 MakeDir ${BUILD_DIR}
13 ChangeDir ${BUILD_DIR}
14 # Reset CFLAGS and LDFLAGS when configuring the host
15 # version of python since they hold values designed for
16 # building for NaCl. Note that we are forcing 32 bits here so
17 # our generated modules use Py_ssize_t of the correct size.
18 export CC="gcc -m32"
19 export CXX="g++ -m32"
20 export LD="gcc -m32"
21 LogExecute \
22 ${SRC_DIR}/configure --prefix=${NACL_HOST_PYROOT}
23 }
24
25 InstallStep() {
26 make install
27 }
OLDNEW
« no previous file with comments | « ports/python_modules/python-dateutil/pkg_info ('k') | ports/python_modules/python-host/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698