OLD | NEW |
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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 libs-clean | 452 libs-clean |
453 newlib portable | 453 newlib portable |
454 newlib x86-64 | 454 newlib x86-64 |
455 libs-support | 455 libs-support |
456 for arch in arm x86-32 x86-64 mips32; do | 456 for arch in arm x86-32 x86-64 mips32; do |
457 dummy-irt-shim ${arch} | 457 dummy-irt-shim ${arch} |
458 done | 458 done |
459 compiler-rt-all | 459 compiler-rt-all |
460 libgcc_eh-all | 460 libgcc_eh-all |
461 lib-cpp ${LIB_CXX_NAME} portable | 461 lib-cpp ${LIB_CXX_NAME} portable |
462 # Note: The libc++ build with biased bitcode is disabled because | 462 lib-cpp ${LIB_CXX_NAME} x86-64 |
463 # biased bitcode builds of the C++ standard library are only used to | |
464 # build the IRT, and the default is currently libstdc++ so the biased | |
465 # version of libc++ isn't used. | |
466 # lib-cpp ${LIB_CXX_NAME} x86-64 | |
467 lib-cpp ${LIB_STDCPP_NAME} portable | 463 lib-cpp ${LIB_STDCPP_NAME} portable |
468 lib-cpp ${LIB_STDCPP_NAME} x86-64 | 464 lib-cpp ${LIB_STDCPP_NAME} x86-64 |
469 } | 465 } |
470 | 466 |
471 #@ everything - Build and install untrusted SDK. no translator | 467 #@ everything - Build and install untrusted SDK. no translator |
472 everything() { | 468 everything() { |
473 sync-sources | 469 sync-sources |
474 build-all | 470 build-all |
475 } | 471 } |
476 | 472 |
(...skipping 2958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3435 | 3431 |
3436 if [ "$(type -t $1)" != "function" ]; then | 3432 if [ "$(type -t $1)" != "function" ]; then |
3437 #Usage | 3433 #Usage |
3438 echo "ERROR: unknown function '$1'." >&2 | 3434 echo "ERROR: unknown function '$1'." >&2 |
3439 echo "For help, try:" | 3435 echo "For help, try:" |
3440 echo " $0 help" | 3436 echo " $0 help" |
3441 exit 1 | 3437 exit 1 |
3442 fi | 3438 fi |
3443 | 3439 |
3444 "$@" | 3440 "$@" |
OLD | NEW |