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

Side by Side Diff: ports/gsl/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/gmp/build.sh ('k') | ports/jpeg6b/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 #
6
7 # nacl-gsl-1.9.sh
8 #
9 # usage: nacl-gsl-1.9.sh
10 #
11 # this script downloads, patches, and builds gsl for Native Client
12 #
13
14 source pkg_info
15 5
16 export LIBS="-lm" 6 export LIBS="-lm"
17 7
18 source ../../build_tools/common.sh
19
20 # TODO: Remove when this is fixed. 8 # TODO: Remove when this is fixed.
21 # https://code.google.com/p/nativeclient/issues/detail?id=3598 9 # https://code.google.com/p/nativeclient/issues/detail?id=3598
22 if [ "$NACL_GLIBC" = "1" ]; then 10 if [ "$NACL_GLIBC" = "1" ]; then
23 export NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS//-O2/}" 11 export NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS//-O2/}"
24 fi 12 fi
25 13
26 # TODO: Remove when this is fixed. 14 # TODO: Remove when this is fixed.
27 # https://code.google.com/p/nativeclient/issues/detail?id=3205 15 # https://code.google.com/p/nativeclient/issues/detail?id=3205
28 if [ "$NACL_ARCH" = "arm" ]; then 16 if [ "$NACL_ARCH" = "arm" ]; then
29 export NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS//-O2/}" 17 export NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS//-O2/}"
30 fi 18 fi
31
32 DefaultPackageInstall
33 exit 0
OLDNEW
« no previous file with comments | « ports/gmp/build.sh ('k') | ports/jpeg6b/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698