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

Side by Side Diff: ports/python_modules/numpy/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_modules/nose/pkg_info ('k') | ports/python_modules/numpy/modules.list » ('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 NACL_PYSETUP_ARGS="build --fcompiler=fake"
7
8 BuildStep() {
9 export ATLAS=None
10 export LAPACK=None
11 export BLAS=None
12 ChangeDir ${SRC_DIR}
13 if ! CheckStamp install_host_${PACKAGE_NAME} ; then
14 LogExecute rm -rf build dist
15 export NACL_PORT_BUILD=host
16 # Force 32 bits here for Py_ssize_t correctness.
17 export CC="gcc -m32 -msse"
18 export CXX="g++ -m32 -msse"
19 export LD="gcc -m32 -msse"
20 LogExecute ${NACL_HOST_PYTHON} setup.py \
21 ${NACL_PYSETUP_ARGS} \
22 install --prefix=${NACL_HOST_PYROOT}
23 TouchStamp install_host_${PACKAGE_NAME}
24 fi
25 DefaultPythonModuleBuildStep bootstrap
26 }
27
28 InstallStep() {
29 DefaultPythonModuleInstallStep
30 }
31
32 ConfigureStep() {
33 return
34 }
OLDNEW
« no previous file with comments | « ports/python_modules/nose/pkg_info ('k') | ports/python_modules/numpy/modules.list » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698