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

Side by Side Diff: ports/opencv/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/openal-soft/build.sh ('k') | ports/openssh/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 2013 The Native Client Authors. All rights reserved. 2 # Copyright 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 ConfigureStep() { 7 ConfigureStep() {
10 EXTRA_CMAKE_ARGS="-DBUILD_SHARED_LIBS=OFF \ 8 EXTRA_CMAKE_ARGS="-DBUILD_SHARED_LIBS=OFF \
11 -DWITH_FFMPEG=OFF \ 9 -DWITH_FFMPEG=OFF \
12 -DWITH_OPENEXR=OFF \ 10 -DWITH_OPENEXR=OFF \
13 -DWITH_CUDA=OFF \ 11 -DWITH_CUDA=OFF \
14 -DWITH_JASPER=OFF \ 12 -DWITH_JASPER=OFF \
15 -DWITH_OPENCL=OFF \ 13 -DWITH_OPENCL=OFF \
16 -DWITH_1394=OFF \ 14 -DWITH_1394=OFF \
17 -DWITH_V4L=OFF \ 15 -DWITH_V4L=OFF \
18 -DWITH_TIFF=OFF \ 16 -DWITH_TIFF=OFF \
19 -DBUILD_opencv_apps=OFF \ 17 -DBUILD_opencv_apps=OFF \
20 -DBUILD_opencv_java=OFF \ 18 -DBUILD_opencv_java=OFF \
21 -DBUILD_SHARED_LIBS=OFF \ 19 -DBUILD_SHARED_LIBS=OFF \
22 -DBUILD_TESTS=OFF \ 20 -DBUILD_TESTS=OFF \
23 -DBUILD_PERF_TESTS=OFF \ 21 -DBUILD_PERF_TESTS=OFF \
24 -DBUILD_FAT_JAVA_LIB=OFF" 22 -DBUILD_FAT_JAVA_LIB=OFF"
25 CMakeConfigureStep 23 CMakeConfigureStep
26 } 24 }
27 25
28 BuildStep() { 26 BuildStep() {
29 # opencv build can fail when build with -jN. 27 # opencv build can fail when build with -jN.
30 make 28 make
31 } 29 }
32
33 PackageInstall
34 exit 0
OLDNEW
« no previous file with comments | « ports/openal-soft/build.sh ('k') | ports/openssh/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698