OLD | NEW |
1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 EXECUTABLES=python${NACL_EXEEXT} | 5 EXECUTABLES=python${NACL_EXEEXT} |
6 | 6 |
| 7 # Workaround for arm-gcc bug: |
| 8 # https://code.google.com/p/nativeclient/issues/detail?id=3205 |
| 9 # TODO(sbc): remove this once the issue is fixed |
| 10 if [ "${NACL_ARCH}" = "arm" ]; then |
| 11 NACLPORTS_CPPFLAGS+=" -mfpu=vfp" |
| 12 fi |
| 13 |
7 # Currently this package only builds on linux. | 14 # Currently this package only builds on linux. |
8 # The build relies on certain host binaries and python's configure | 15 # The build relies on certain host binaries and python's configure |
9 # requires us to set --build= as well as --host=. | 16 # requires us to set --build= as well as --host=. |
10 # | 17 # |
11 # The module downloader is patterned after the Bochs image downloading step. | 18 # The module downloader is patterned after the Bochs image downloading step. |
12 | 19 |
13 ConfigureStep() { | 20 ConfigureStep() { |
14 SetupCrossEnvironment | 21 SetupCrossEnvironment |
15 export CROSS_COMPILE=true | 22 export CROSS_COMPILE=true |
16 # We pre-seed configure with certain results that it cannot determine | 23 # We pre-seed configure with certain results that it cannot determine |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 # To avoid rebuilding python.nexe with the new libpython2.7.a and duplicating | 79 # To avoid rebuilding python.nexe with the new libpython2.7.a and duplicating |
73 # symbols | 80 # symbols |
74 LogExecute touch python${NACL_EXEEXT} | 81 LogExecute touch python${NACL_EXEEXT} |
75 # The modules get built with SO=so, but they need to be SO=a inside the | 82 # The modules get built with SO=so, but they need to be SO=a inside the |
76 # destination filesystem. | 83 # destination filesystem. |
77 for fn in $(find ${NACL_DEST_PYROOT}/${SITE_PACKAGES} -name "*.so"); do | 84 for fn in $(find ${NACL_DEST_PYROOT}/${SITE_PACKAGES} -name "*.so"); do |
78 LogExecute touch ${fn%%so}a | 85 LogExecute touch ${fn%%so}a |
79 LogExecute rm -v ${fn} | 86 LogExecute rm -v ${fn} |
80 done | 87 done |
81 } | 88 } |
OLD | NEW |