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

Side by Side Diff: ports/clapack/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/civetweb/build.sh ('k') | ports/crypto_ext/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 5
6 source pkg_info
7 source ../../build_tools/common.sh
8
9 export BUILD_CC=cc 6 export BUILD_CC=cc
10 7
11 ConfigureStep() { 8 ConfigureStep() {
12 Banner "Configuring clapack" 9 Banner "Configuring clapack"
13 MakeDir ${NACL_BUILD_SUBDIR} 10 MakeDir ${NACL_BUILD_SUBDIR}
14 ChangeDir ${NACL_BUILD_SUBDIR} 11 ChangeDir ${NACL_BUILD_SUBDIR}
15 # -u: do not rewrite newer with older files 12 # -u: do not rewrite newer with older files
16 cp -u -R ../BLAS ../F2CLIBS ../INSTALL ../TESTING ../INCLUDE ../SRC ./ 13 cp -u -R ../BLAS ../F2CLIBS ../INSTALL ../TESTING ../INCLUDE ../SRC ./
17 cp -u ../Makefile ../make.inc ./ 14 cp -u ../Makefile ../make.inc ./
18 15
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 48 }
52 49
53 # the Makefile does not contain install target 50 # the Makefile does not contain install target
54 InstallStep() { 51 InstallStep() {
55 Banner "Installing clapack" 52 Banner "Installing clapack"
56 LogExecute install libblas.a ${NACLPORTS_LIBDIR} 53 LogExecute install libblas.a ${NACLPORTS_LIBDIR}
57 LogExecute install liblapack.a ${NACLPORTS_LIBDIR} 54 LogExecute install liblapack.a ${NACLPORTS_LIBDIR}
58 LogExecute install tmglib.a ${NACLPORTS_LIBDIR} 55 LogExecute install tmglib.a ${NACLPORTS_LIBDIR}
59 LogExecute install F2CLIBS/libf2c.a ${NACLPORTS_LIBDIR} 56 LogExecute install F2CLIBS/libf2c.a ${NACLPORTS_LIBDIR}
60 } 57 }
61
62 DefaultPackageInstall
63 exit 0
OLDNEW
« no previous file with comments | « ports/civetweb/build.sh ('k') | ports/crypto_ext/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698