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

Side by Side Diff: ports/opencv/build.sh

Issue 76153002: OpenCV 2.4.7 porting to PNaCl (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Last nits and patch extended for all toolchains. Created 7 years, 1 month 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
« no previous file with comments | « Makefile ('k') | ports/opencv/nacl.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
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
4 # found in the LICENSE file.
5
6 source pkg_info
7 source ../../build_tools/common.sh
8
9 ConfigureStep() {
10 Banner "Configuring ${PACKAGE_NAME}"
11 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
12 Remove ${NACL_BUILD_SUBDIR}
13 MakeDir ${NACL_BUILD_SUBDIR}
14 cd ${NACL_BUILD_SUBDIR}
15 echo "Directory: $(pwd)"
16
17 CC="${NACLCC}" CXX="${NACLCXX}" cmake ..\
18 -DCMAKE_TOOLCHAIN_FILE=../XCompile-nacl.txt \
19 -DNACLAR=${NACLAR} \
20 -DNACLLD=${NACLLD} \
21 -DNACL_CROSS_PREFIX=${NACL_CROSS_PREFIX} \
22 -DNACL_SDK_ROOT=${NACL_SDK_ROOT} \
23 -DCMAKE_INSTALL_PREFIX=${NACLPORTS_PREFIX} \
24 -DCMAKE_BUILD_TYPE=RELEASE \
25 -DBUILD_SHARED_LIBS=OFF \
26 -DWITH_FFMPEG=OFF \
27 -DWITH_OPENEXR=OFF \
28 -DWITH_CUDA=OFF \
29 -DWITH_JASPER=OFF \
30 -DWITH_JPEG=OFF \
31 -DWITH_OPENCL=OFF \
32 -DBUILD_opencv_apps=OFF \
33 -DBUILD_TESTS=OFF \
34 -DBUILD_PERF_TESTS=OFF
35 }
36
37 BuildStep() {
38 make clean
39 # opencv build can fail when build with -jN.
40 make
41 }
42
43 PackageInstall
44 exit 0
OLDNEW
« no previous file with comments | « Makefile ('k') | ports/opencv/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698