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

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

Issue 132343007: Add top level build script for building packages. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ports/freetype/build.sh ('k') | ports/gdb/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 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 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 source pkg_info
7 source ../../build_tools/common.sh
8 6
9 ConfigureStep() { 7 ConfigureStep() {
10 Banner "Configuring ${PACKAGE_NAME}" 8 Banner "Configuring ${PACKAGE_NAME}"
11 # export the nacl tools 9 # export the nacl tools
12 export CC=${NACLCC} 10 export CC=${NACLCC}
13 export CXX=${NACLCXX} 11 export CXX=${NACLCXX}
14 export AR=${NACLAR} 12 export AR=${NACLAR}
15 export RANLIB=${NACLRANLIB} 13 export RANLIB=${NACLRANLIB}
16 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig 14 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig
17 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR} 15 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR}
18 export PATH=${NACL_BIN_PATH}:${PATH}; 16 export PATH=${NACL_BIN_PATH}:${PATH};
19 MakeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR} 17 MakeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR}
20 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR} 18 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR}
21 ../configure \ 19 ../configure \
22 --host=nacl \ 20 --host=nacl \
23 --prefix=${NACLPORTS_PREFIX} \ 21 --prefix=${NACLPORTS_PREFIX} \
24 --exec-prefix=${NACLPORTS_PREFIX} \ 22 --exec-prefix=${NACLPORTS_PREFIX} \
25 --libdir=${NACLPORTS_LIBDIR} \ 23 --libdir=${NACLPORTS_LIBDIR} \
26 --oldincludedir=${NACLPORTS_INCLUDE} \ 24 --oldincludedir=${NACLPORTS_INCLUDE} \
27 --with-http=off \ 25 --with-http=off \
28 --with-html=off \ 26 --with-html=off \
29 --with-ftp=off \ 27 --with-ftp=off \
30 --enable-threads=pthreads \ 28 --enable-threads=pthreads \
31 --${NACL_OPTION}-mmx \ 29 --${NACL_OPTION}-mmx \
32 --${NACL_OPTION}-sse \ 30 --${NACL_OPTION}-sse \
33 --${NACL_OPTION}-sse2 \ 31 --${NACL_OPTION}-sse2 \
34 --${NACL_OPTION}-asm \ 32 --${NACL_OPTION}-asm \
35 --with-x=no 33 --with-x=no
36 } 34 }
37
38 PackageInstall
39 exit 0
OLDNEW
« no previous file with comments | « ports/freetype/build.sh ('k') | ports/gdb/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698