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

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

Issue 1556933002: Remove redundant pnacl translations (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: Created 4 years, 11 months 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
OLDNEW
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2011 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="tools/fftw-wisdom${NACL_EXEEXT} tests/bench${NACL_EXEEXT}" 5 EXECUTABLES="tools/fftw-wisdom${NACL_EXEEXT} tests/bench${NACL_EXEEXT}"
6 6
7 # Without these CFLAGS fftw fails to build for ARM 7 # Without these CFLAGS fftw fails to build for ARM
8 if [ "${NACL_ARCH}" = "arm" ]; then 8 if [ "${NACL_ARCH}" = "arm" ]; then
9 NACLPORTS_CPPFLAGS+=" -fomit-frame-pointer -fstrict-aliasing \ 9 NACLPORTS_CPPFLAGS+=" -fomit-frame-pointer -fstrict-aliasing \
10 -fno-schedule-insns -ffast-math" 10 -fno-schedule-insns -ffast-math"
(...skipping 12 matching lines...) Expand all
23 fi 23 fi
24 24
25 LogExecute ${SRC_DIR}/configure \ 25 LogExecute ${SRC_DIR}/configure \
26 --host=nacl \ 26 --host=nacl \
27 --prefix=${PREFIX} \ 27 --prefix=${PREFIX} \
28 --enable-threads \ 28 --enable-threads \
29 ${EXTRA_CONFIGURE_ARGS:-} 29 ${EXTRA_CONFIGURE_ARGS:-}
30 } 30 }
31 31
32 TestStep() { 32 TestStep() {
33 LogExecute make check EXEEXT=
34
33 if [ ${NACL_ARCH} = "pnacl" ]; then 35 if [ ${NACL_ARCH} = "pnacl" ]; then
34 for arch in x86-32 x86-64; do 36 for arch in x86-32 arm; do
35 for exe in ${EXECUTABLES}; do 37 for exe in ${EXECUTABLES}; do
36 local exe_noext=${exe%.*} 38 local exe_noext=${exe%.*}
37 WriteLauncherScriptPNaCl ${exe_noext} \ 39 WriteLauncherScript ${exe_noext} $(basename ${exe_noext}.${arch}.nexe)
38 $(basename ${exe_noext}.${arch}.nexe) ${arch}
39 done 40 done
40 make check EXEEXT= 41 LogExecute make check EXEEXT=
41 done 42 done
42 else
43 make check EXEEXT=
44 fi 43 fi
45 } 44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698