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
2509b795
Commit
2509b795
authored
Nov 21, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Nov 21, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1838 from alekcac:ios64_fix
parents
6b23cb5b
9631cb6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
build_framework.py
platforms/ios/build_framework.py
+4
-4
No files found.
platforms/ios/build_framework.py
View file @
2509b795
...
...
@@ -52,8 +52,8 @@ def build_opencv(srcroot, buildroot, target, arch):
if
os
.
path
.
isfile
(
wlib
):
os
.
remove
(
wlib
)
os
.
system
(
"xcodebuild -parallelizeTargets ARCHS=
%
s -jobs 8 -sdk
%
s -configuration Release -target ALL_BUILD"
%
(
arch
,
target
.
lower
()))
os
.
system
(
"xcodebuild ARCHS=
%
s -sdk
%
s -configuration Release -target install install"
%
(
arch
,
target
.
lower
()))
os
.
system
(
"xcodebuild
IPHONEOS_DEPLOYMENT_TARGET=6.0
-parallelizeTargets ARCHS=
%
s -jobs 8 -sdk
%
s -configuration Release -target ALL_BUILD"
%
(
arch
,
target
.
lower
()))
os
.
system
(
"xcodebuild
IPHONEOS_DEPLOYMENT_TARGET=6.0
ARCHS=
%
s -sdk
%
s -configuration Release -target install install"
%
(
arch
,
target
.
lower
()))
os
.
chdir
(
currdir
)
def
put_framework_together
(
srcroot
,
dstroot
):
...
...
@@ -96,8 +96,8 @@ def put_framework_together(srcroot, dstroot):
def
build_framework
(
srcroot
,
dstroot
):
"main function to do all the work"
targets
=
[
"iPhoneOS"
,
"iPhoneOS"
,
"iPhoneSimulator"
]
archs
=
[
"armv7"
,
"armv7s"
,
"
i386
"
]
targets
=
[
"iPhoneOS"
,
"iPhoneOS"
,
"iPhone
OS"
,
"iPhoneSimulator"
,
"iPhone
Simulator"
]
archs
=
[
"armv7"
,
"armv7s"
,
"
arm64"
,
"i386"
,
"x86_64
"
]
for
i
in
range
(
len
(
targets
)):
build_opencv
(
srcroot
,
os
.
path
.
join
(
dstroot
,
"build"
),
targets
[
i
],
archs
[
i
])
...
...
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