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
9631cb6d
Commit
9631cb6d
authored
Nov 20, 2013
by
Alexander Shishkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for supporting 64-bit architecture
parent
f6283432
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 @
9631cb6d
...
...
@@ -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