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 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 } |
OLD | NEW |