Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
conda
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
conda
Commits
c52e1372
Commit
c52e1372
authored
Nov 18, 2020
by
Vincent POLLET
Committed by
Amir MOHAMMADI
Nov 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove -dead_strip_dylibs from LDFLAGS when building on mac to solve linking issue with mkl.
parent
3f0b45ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
conda/opencv/build.sh
conda/opencv/build.sh
+3
-0
No files found.
conda/opencv/build.sh
View file @
c52e1372
...
...
@@ -34,6 +34,9 @@ if [ "${SHORT_OS_STR}" == "Darwin" ]; then
# The default flag as of OpenCV 3.4.4 are:
# CPU_DISPATCH:STRING=SSE4_1;SSE4_2;AVX;FP16;AVX2;AVX512_SKX
CPU_DISPATCH_FLAGS
=
"-DCPU_DISPATCH=SSE4_1;SSE4_2;AVX;FP16"
# remove -dead_strip_dylibs from LDFLAGS if it exists
export
LDFLAGS:
=
$(
filter-out
"-dead_strip_dylibs"
,
$(
LDFLAGS
))
fi
if
[
"
${
MACHINE_STR
}
"
==
"aarch64"
]
||
[
"
${
MACHINE_STR
:0:3
}
"
==
"arm"
]
||
[
"
${
MACHINE_STR
:0:3
}
"
==
"ppc"
]
;
then
...
...
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