Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
6501cb93
Commit
6501cb93
authored
Mar 20, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14104 from alalek:android_build_sdk_reduce_mem_usage
parents
0d1a0b12
e8a0bc57
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
build_sdk.py
platforms/android/build_sdk.py
+4
-1
No files found.
platforms/android/build_sdk.py
View file @
6501cb93
...
...
@@ -231,7 +231,10 @@ class Builder:
cmd
+=
[
"-D
%
s='
%
s'"
%
(
k
,
v
)
for
(
k
,
v
)
in
cmake_vars
.
items
()
if
v
is
not
None
]
cmd
.
append
(
self
.
opencvdir
)
execute
(
cmd
)
execute
([
self
.
ninja_path
,
"install"
if
self
.
debug
else
"install/strip"
])
# full parallelism for C++ compilation tasks
execute
([
self
.
ninja_path
,
"opencv_modules"
])
# limit parallelism for Gradle steps (avoid huge memory consumption)
execute
([
self
.
ninja_path
,
'-j3'
,
"install"
if
self
.
debug
else
"install/strip"
])
def
build_javadoc
(
self
):
classpaths
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment