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

Side by Side Diff: libraries/boost_1_47_0/nacl-boost_1_47_0.sh

Issue 8060015: Update boost to 1.47.0 and, with glibc, build more boost libraries. (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « libraries/boost_1_47_0/boost_1_47_0.sha1 ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
OLDNEW
(Empty)
1 #!/bin/bash
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
4 # found in the LICENSE file.
5 #
6
7 # nacl-boost_1_47_0.sh
8 #
9 # usage: nacl-boost_1_47_0.sh
10 #
11 # this script downloads, patches, and builds boost for Native Client
12 #
13
14 readonly URL=http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/bo ost_1_47_0.tar.bz2
15 #readonly PATCH_FILE=nacl-SDL_net-1.2.7.patch
16 readonly PACKAGE_NAME=boost_1_47_0
17
18 source ../../build_tools/common.sh
19
20 CustomConfigureStep() {
21 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
22 echo "using gcc : 4.4.3 : ${NACLCXX} ;" > tools/build/v2/user-config.jam
23 }
24
25 CustomBuildStep() {
26 ./bootstrap.sh
27
28 # TODO(eugenis): build dynamic libraries, too
29 if [ $NACL_GLIBC = "1" ] ; then
30 ./bjam install \
31 --prefix=${NACL_SDK_USR} \
32 link=static \
33 -d+2 \
34 --without-python \
35 --without-signals \
36 --without-mpi
37 else
38 ./bjam install \
39 --prefix=${NACL_SDK_USR} \
40 -d+2 \
41 --with-date_time \
42 --with-program_options
43 fi
44 }
45
46 CustomPackageInstall() {
47 DefaultPreInstallStep
48 DefaultDownloadBzipStep
49 DefaultExtractBzipStep
50 # No patch needed.
51 CustomConfigureStep
52 CustomBuildStep
53 # Installation is done in the build step.
54 DefaultCleanUpStep
55 }
56
57
58 CustomPackageInstall
59 exit 0
OLDNEW
« no previous file with comments | « libraries/boost_1_47_0/boost_1_47_0.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698