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

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

Issue 495183003: Adding R port. Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: merge Created 6 years, 4 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 | « build_tools/common.sh ('k') | ports/r/nacl.patch » ('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) 2014 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2014 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 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" 6 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
7 7
8 export LIBS+=" -lSM -lICE -lxcb -lXau \ 8 MAKE_TARGETS=R
9
10 EXTRA_CONFIGURE_ARGS+=" --with-x"
11
12 export LIBS+=" -lncurses \
9 -Wl,--undefined=nacl_main ${NACL_CLI_MAIN_LIB} \ 13 -Wl,--undefined=nacl_main ${NACL_CLI_MAIN_LIB} \
10 -lppapi_simple -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" 14 -lppapi_simple -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}"
11 15
12 if [ "${NACL_LIBC}" = "newlib" ]; then
13 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat"
14 LIBS+=" -lglibc-compat"
15 fi
16
17 InstallStep() { 16 InstallStep() {
18 PublishByArchForDevEnv 17 PublishByArchForDevEnv
19 } 18 }
OLDNEW
« no previous file with comments | « build_tools/common.sh ('k') | ports/r/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698