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

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 if [ $NACL_GLIBC = "1" ] ; then
29 ./bjam install \
30 --prefix=${NACL_SDK_USR} \
31 link=static \
khim 2011/09/27 18:17:54 Hmm... This is kind of strange? Why are we install
Evgeniy Stepanov 2011/09/27 18:38:28 That's a historic artifact. I think everything I u
Evgeniy Stepanov 2011/09/28 00:38:07 I'd like to point out that DefaultConfigureStep()
32 -d+2 \
33 --without-python \
34 --without-signals \
35 --without-mpi
36 else
37 ./bjam install \
38 --prefix=${NACL_SDK_USR} \
39 -d+2 \
40 --with-date_time \
41 --with-program_options
42 fi
43 }
44
45 CustomPackageInstall() {
46 DefaultPreInstallStep
47 DefaultDownloadBzipStep
48 DefaultExtractBzipStep
49 # No patch needed.
50 CustomConfigureStep
51 CustomBuildStep
52 # Installation is done in the build step.
53 DefaultCleanUpStep
54 }
55
56
57 CustomPackageInstall
58 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