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

Side by Side Diff: pnacl/build.sh

Issue 1201483005: Subzero. Adds x86-64 to the list of supported Subzero targets. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | toolchain_build/toolchain_build_pnacl.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 #@ PNaCl toolchain build script 6 #@ PNaCl toolchain build script
7 #@------------------------------------------------------------------- 7 #@-------------------------------------------------------------------
8 #@ This script builds the ARM and PNaCl untrusted toolchains. 8 #@ This script builds the ARM and PNaCl untrusted toolchains.
9 #@ It MUST be run from the native_client/ directory. 9 #@ It MUST be run from the native_client/ directory.
10 ###################################################################### 10 ######################################################################
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 x86_64) 314 x86_64)
315 targets=x86 315 targets=x86
316 subzero_targets=X8664 316 subzero_targets=X8664
317 ;; 317 ;;
318 armv7) 318 armv7)
319 targets=arm 319 targets=arm
320 subzero_targets=ARM32 320 subzero_targets=ARM32
321 ;; 321 ;;
322 universal) 322 universal)
323 targets=x86,arm,mips 323 targets=x86,arm,mips
324 subzero_targets=X8632,ARM32,MIPS32 324 subzero_targets=ARM32,MIPS32,X8632,X8664
325 ;; 325 ;;
326 esac 326 esac
327 327
328 spushd "${objdir}" 328 spushd "${objdir}"
329 # TODO(jvoung): remove ac_cv_func_getrusage=no once newlib has getrusage 329 # TODO(jvoung): remove ac_cv_func_getrusage=no once newlib has getrusage
330 # in its headers. Otherwise, configure thinks that we can link in 330 # in its headers. Otherwise, configure thinks that we can link in
331 # getrusage (stub is in libnacl), but we can't actually compile code 331 # getrusage (stub is in libnacl), but we can't actually compile code
332 # that uses ::getrusage because it's not in headers: 332 # that uses ::getrusage because it's not in headers:
333 # https://code.google.com/p/nativeclient/issues/detail?id=3657 333 # https://code.google.com/p/nativeclient/issues/detail?id=3657
334 # Similar with getrlimit/setrlimit where struct rlimit isn't defined. 334 # Similar with getrlimit/setrlimit where struct rlimit isn't defined.
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 1023
1024 if [ "$(type -t $1)" != "function" ]; then 1024 if [ "$(type -t $1)" != "function" ]; then
1025 #Usage 1025 #Usage
1026 echo "ERROR: unknown function '$1'." >&2 1026 echo "ERROR: unknown function '$1'." >&2
1027 echo "For help, try:" 1027 echo "For help, try:"
1028 echo " $0 help" 1028 echo " $0 help"
1029 exit 1 1029 exit 1
1030 fi 1030 fi
1031 1031
1032 "$@" 1032 "$@"
OLDNEW
« no previous file with comments | « no previous file | toolchain_build/toolchain_build_pnacl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698