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

Side by Side Diff: ports/perl/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) 2015 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2015 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 # falling back to cc for generating build time artifacts 5 # falling back to cc for generating build time artifacts
6 export BUILD_CC=cc 6 export BUILD_CC=cc
7 export BUILD_LD=cc 7 export BUILD_LD=cc
8 # use -Wno-return-type to suppress return-type errors encountered 8 # use -Wno-return-type to suppress return-type errors encountered
9 # with pnacl, arm's clang-newlib (microperl) 9 # with pnacl, arm's clang-newlib (microperl)
10 NACLPORTS_CFLAGS_MICRO=$NACLPORTS_CFLAGS 10 NACLPORTS_CFLAGS_MICRO=$NACLPORTS_CFLAGS
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 LogExecute ${BUILD_LD} -o generate_uudmap generate_uudmap.o -lm 149 LogExecute ${BUILD_LD} -o generate_uudmap generate_uudmap.o -lm
150 LogExecute make -j${OS_JOBS} libs="${LIBS}" all 150 LogExecute make -j${OS_JOBS} libs="${LIBS}" all
151 # test_prep prepares the perl for tests, might use this later 151 # test_prep prepares the perl for tests, might use this later
152 LogExecute make -j${OS_JOBS} libs="${LIBS}" test_prep 152 LogExecute make -j${OS_JOBS} libs="${LIBS}" test_prep
153 # clean removes everything, so moving in microperl 153 # clean removes everything, so moving in microperl
154 LogExecute mv -f ${HOST_BUILD}/microperl ${SRC_DIR} 154 LogExecute mv -f ${HOST_BUILD}/microperl ${SRC_DIR}
155 } 155 }
156 156
157 InstallStep() { 157 InstallStep() {
158 # microperl, perl don't require make install 158 # microperl, perl don't require make install
159 return 159 Makefile ${DESTDIR}${PREFIX}${LIB}
bradn 2015/08/19 20:28:50 This seems odd? MakeDir ?
Sam Clegg 2015/08/19 21:31:11 Done.
160 LogExecute cp -rf ${SRC_DIR}/lib ${DESTDIR}${PREFIX}/
160 } 161 }
161
162 PublishStep() {
163 MakeDir ${ARCH_DIR}
164 TAR_DIR=${ARCH_DIR}/perltar
165 MakeDir ${TAR_DIR}
166 ChangeDir ${TAR_DIR}
167 LogExecute cp -rf ${SRC_DIR}/lib ${TAR_DIR}
168 LogExecute tar cf ${ARCH_DIR}/perl.tar .
169 LogExecute shasum ${ARCH_DIR}/perl.tar > ${ARCH_DIR}/perl.tar.hash
170 ChangeDir ${SRC_DIR}
171 LogExecute rm -rf ${TAR_DIR}
172 PublishByArchForDevEnv
173 }
OLDNEW
« ports/emacs/build.sh ('K') | « ports/ninja/build.sh ('k') | ports/subversion/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698