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

Side by Side Diff: ports/python/build.sh

Issue 730193002: Fix more compile failures caused by recent ARM toolchain upgrade. (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « ports/python-static/build.sh ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2013 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 # This build relies on certain host binaries and python's configure 7 # This build relies on certain host binaries and python's configure
8 # requires us to set --build= as well as --host=. 8 # requires us to set --build= as well as --host=.
9 HOST_BUILD_DIR=${WORK_DIR}/build_host 9 HOST_BUILD_DIR=${WORK_DIR}/build_host
10 10
11 # Workaround for arm-gcc bug:
12 # https://code.google.com/p/nativeclient/issues/detail?id=3205
13 # TODO(sbc): remove this once the issue is fixed
14 if [ "${NACL_ARCH}" = "arm" ]; then
15 NACLPORTS_CPPFLAGS+=" -mfpu=vfp"
16 fi
17
11 ConfigureStep() { 18 ConfigureStep() {
12 # We pre-seed configure with certain results that it cannot determine 19 # We pre-seed configure with certain results that it cannot determine
13 # since we are doing a cross compile. The $CONFIG_SITE file is sourced 20 # since we are doing a cross compile. The $CONFIG_SITE file is sourced
14 # by configure early on. 21 # by configure early on.
15 export CROSS_COMPILE=true 22 export CROSS_COMPILE=true
16 export CONFIG_SITE=${START_DIR}/config.site 23 export CONFIG_SITE=${START_DIR}/config.site
17 # Disable ipv6 since configure claims it requires a working getaddrinfo 24 # Disable ipv6 since configure claims it requires a working getaddrinfo
18 # which we do not provide. TODO(sbc): remove this once nacl_io supports 25 # which we do not provide. TODO(sbc): remove this once nacl_io supports
19 # getaddrinfo. 26 # getaddrinfo.
20 EXTRA_CONFIGURE_ARGS="--disable-ipv6" 27 EXTRA_CONFIGURE_ARGS="--disable-ipv6"
(...skipping 27 matching lines...) Expand all
48 local pexe=python${NACL_EXEEXT} 55 local pexe=python${NACL_EXEEXT}
49 local script=python 56 local script=python
50 # on Mac/Windows the folder called Python prevents us from creating a 57 # on Mac/Windows the folder called Python prevents us from creating a
51 # script called python (lowercase). 58 # script called python (lowercase).
52 if [ ${OS_NAME} != "Linux" ]; then 59 if [ ${OS_NAME} != "Linux" ]; then
53 script+=".sh" 60 script+=".sh"
54 fi 61 fi
55 TranslateAndWriteSelLdrScript ${pexe} x86-64 python.x86-64.nexe ${script} 62 TranslateAndWriteSelLdrScript ${pexe} x86-64 python.x86-64.nexe ${script}
56 fi 63 fi
57 } 64 }
OLDNEW
« no previous file with comments | « ports/python-static/build.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698