Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 } | |
| OLD | NEW |