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

Side by Side Diff: ports/python3/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/python/build.sh ('k') | ports/python3_ppapi/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) 2013 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2013 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 6
9 EXECUTABLES=python${NACL_EXEEXT} 7 EXECUTABLES=python${NACL_EXEEXT}
10 8
11 # Currently this package only builds on linux. 9 # Currently this package only builds on linux.
12 # The build relies on certain host binaries and python's configure 10 # The build relies on certain host binaries and python's configure
13 # requires us to set --build= as well as --host=. 11 # requires us to set --build= as well as --host=.
14 12
15 HOST_BUILD_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}/build-nacl-host 13 HOST_BUILD_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}/build-nacl-host
16 14
17 BuildHostPython() { 15 BuildHostPython() {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 48 }
51 49
52 TestStep() { 50 TestStep() {
53 if [ ${NACL_ARCH} != "pnacl" ]; then 51 if [ ${NACL_ARCH} != "pnacl" ]; then
54 WriteSelLdrScript python python${NACL_EXEEXT} 52 WriteSelLdrScript python python${NACL_EXEEXT}
55 else 53 else
56 local pexe=python${NACL_EXEEXT} 54 local pexe=python${NACL_EXEEXT}
57 TranslateAndWriteSelLdrScript ${pexe} x86-64 python.x86-64.nexe python 55 TranslateAndWriteSelLdrScript ${pexe} x86-64 python.x86-64.nexe python
58 fi 56 fi
59 } 57 }
60
61 PackageInstall
62 exit 0
OLDNEW
« no previous file with comments | « ports/python/build.sh ('k') | ports/python3_ppapi/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698