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

Side by Side Diff: ports/lua5.3/build.sh

Issue 1285953002: Switch devenv to use pkg packages (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@toolchain_install
Patch Set: Created 5 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
OLDNEW
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 BUILD_DIR=${SRC_DIR} 5 BUILD_DIR=${SRC_DIR}
6 EXECUTABLES="src/lua${NACL_EXEEXT} src/luac${NACL_EXEEXT}" 6 EXECUTABLES="src/lua${NACL_EXEEXT} src/luac${NACL_EXEEXT}"
7 7
8 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" 8 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
9 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}" 9 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}"
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 LogExecute tar zxf ${NACL_PACKAGES_CACHE}/${TEST_FILE} 57 LogExecute tar zxf ${NACL_PACKAGES_CACHE}/${TEST_FILE}
58 ChangeDir lua-5.3.0-tests 58 ChangeDir lua-5.3.0-tests
59 LogExecute patch -p1 < ${START_DIR}/lua_tests.patch 59 LogExecute patch -p1 < ${START_DIR}/lua_tests.patch
60 LogExecute ../src/lua -e"_U=true" all.lua 60 LogExecute ../src/lua -e"_U=true" all.lua
61 } 61 }
62 62
63 InstallStep() { 63 InstallStep() {
64 LogExecute make PLAT=${PLAT} EXEEXT=${NACL_EXEEXT} \ 64 LogExecute make PLAT=${PLAT} EXEEXT=${NACL_EXEEXT} \
65 INSTALL_TOP=${DESTDIR}/${PREFIX} install 65 INSTALL_TOP=${DESTDIR}/${PREFIX} install
66 } 66 }
67
68 PublishStep() {
69 PublishByArchForDevEnv
70 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698