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

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

Issue 1804293003: Add support for new pnacl native toolchain driver (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: Fix according to Brad's comments Created 4 years, 7 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 BUILD_DIR=${SRC_DIR} 5 BUILD_DIR=${SRC_DIR}
6 6 NACLPORTS_CPPFLAGS+=" ${NACL_EXCEPTIONS_FLAG}"
7 EnableGlibcCompat 7 EnableGlibcCompat
8 8
9 if [ "${TOOLCHAIN}" = "pnacl" -o "${TOOLCHAIN}" = "clang-newlib" ]; then 9 if [ "${TOOLCHAIN}" = "pnacl" -o "${TOOLCHAIN}" = "clang-newlib" ]; then
10 # TODO(sbc): Should probably use clang here 10 # TODO(sbc): Should probably use clang here
11 COMPILER=gcc 11 COMPILER=gcc
12 else 12 else
13 COMPILER=gcc 13 COMPILER=gcc
14 fi 14 fi
15 15
16 if [ "${TOOLCHAIN}" = "pnacl" -o "${TOOLCHAIN}" = "clang-newlib" ]; then 16 if [ "${TOOLCHAIN}" = "pnacl" -o "${TOOLCHAIN}" = "clang-newlib" ]; then
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 LogExecute ./bootstrap.sh --prefix=${NACL_PREFIX} 63 LogExecute ./bootstrap.sh --prefix=${NACL_PREFIX}
64 } 64 }
65 65
66 BuildStep() { 66 BuildStep() {
67 LogExecute ./b2 stage -j ${OS_JOBS} ${BUILD_ARGS} 67 LogExecute ./b2 stage -j ${OS_JOBS} ${BUILD_ARGS}
68 } 68 }
69 69
70 InstallStep() { 70 InstallStep() {
71 LogExecute ./b2 install -d0 --prefix=${DESTDIR}/${PREFIX} ${BUILD_ARGS} 71 LogExecute ./b2 install -d0 --prefix=${DESTDIR}/${PREFIX} ${BUILD_ARGS}
72 } 72 }
OLDNEW
« make_all.sh ('K') | « ports/blis/pkg_info ('k') | ports/bullet/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698