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

Side by Side Diff: ports/python-static/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/physfs/build.sh ('k') | ports/python/build.sh » ('j') | 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) 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
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 }
OLDNEW
« no previous file with comments | « ports/physfs/build.sh ('k') | ports/python/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698