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

Side by Side Diff: deps/third_party/ragel/build.sh

Issue 10383152: Add ragel to third_party. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/third_party/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « deps/third_party/ragel/README.nacl ('k') | deps/third_party/ragel/ragel.linux » ('j') | 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
+ *
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 #!/bin/bash
2 # Copyright (c) 2012 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 set -x
7 set -e
8 set -u
9
10 declare -r RAGEL_VERSION=6.7
11
12 if [[ "$(uname -s)" = "Darwin" ]] ; then
13 PLATFORM=mac
14 else
15 case "$(uname -o)" in
16 *cygwin* )
17 PLATFORM=cygwin ;;
18 *Linux* )
19 PLATFORM=linux ;;
20 esac
21 fi
22
23 cd "$(dirname "$0")"
24 rm -rf ragel-${RAGEL_VERSION}
25 tar xSvpf ragel-${RAGEL_VERSION}.tar.gz
26 (
27 cd ragel-${RAGEL_VERSION}
28 for patch in ../??-ragel-${RAGEL_VERSION}.*.patch ; do
29 patch -p0 < $patch
30 done
31 ./configure
32 make -j16 \
33 CXXFLAGS="-m32 -O3" \
34 CXXLD='gcc -s' \
35 LIBS='-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic'
36 cp -fv ragel/ragel ../ragel.${PLATFORM}
37 )
38 rm -rf ragel-6.7
OLDNEW
« no previous file with comments | « deps/third_party/ragel/README.nacl ('k') | deps/third_party/ragel/ragel.linux » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698