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

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: Responding to comments Created 6 years, 10 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) 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 ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_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"
Kester Tong 2014/01/29 20:38:47 On my machine, the -m32 flag disables SSE instruct
Matthew Turk 2014/01/31 15:56:57 Done.
18 export CXX="g++ -m32"
19 export LD="gcc -m32"
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

Powered by Google App Engine
This is Rietveld 408576698