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
2d28bb41
Commit
2d28bb41
authored
Nov 28, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipp: disable compilation with IPP 9+
parent
3d8395ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
OpenCVFindIPP.cmake
cmake/OpenCVFindIPP.cmake
+8
-9
internal.hpp
modules/core/include/opencv2/core/internal.hpp
+4
-0
No files found.
cmake/OpenCVFindIPP.cmake
View file @
2d28bb41
...
...
@@ -85,8 +85,6 @@ function(get_ipp_version _ROOT_DIR)
message
(
STATUS
"found IPP:
${
_MAJOR
}
.
${
_MINOR
}
.
${
_BUILD
}
[
${
_VERSION_STR
}
]"
)
message
(
STATUS
"at:
${
_ROOT_DIR
}
"
)
return
()
endfunction
()
...
...
@@ -129,8 +127,6 @@ function(set_ipp_old_libraries)
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCORE
}${
IPP_ARCH
}${
IPP_SUFFIX
}${
IPP_LIB_SUFFIX
}
PARENT_SCOPE
)
return
()
endfunction
()
...
...
@@ -173,7 +169,6 @@ function(set_ipp_new_libraries _LATEST_VERSION)
${
IPP_LIB_PREFIX
}
svml
${
CMAKE_SHARED_LIBRARY_SUFFIX
}
)
endif
()
set
(
IPP_LIBRARIES
${
IPP_LIBRARIES
}
PARENT_SCOPE
)
return
()
endfunction
()
...
...
@@ -208,7 +203,7 @@ function(set_ipp_variables _LATEST_VERSION)
set
(
IPP_LIBRARIES
${
IPP_LIBRARIES
}
PARENT_SCOPE
)
message
(
STATUS
"IPP libs:
${
IPP_LIBRARIES
}
"
)
else
(
)
else
if
(
${
_LATEST_VERSION
}
VERSION_LESS
"9.0"
)
# message(STATUS "new")
# set INCLUDE and LIB folders
...
...
@@ -229,7 +224,10 @@ function(set_ipp_variables _LATEST_VERSION)
endif
()
if
(
UNIX
)
get_filename_component
(
INTEL_COMPILER_LIBRARY_DIR
${
IPP_ROOT_DIR
}
/../lib REALPATH
)
get_filename_component
(
INTEL_COMPILER_LIBRARY_DIR
${
IPP_ROOT_DIR
}
/../compiler/lib REALPATH
)
if
(
NOT EXISTS
"
${
INTEL_COMPILER_LIBRARY_DIR
}
"
)
get_filename_component
(
INTEL_COMPILER_LIBRARY_DIR
${
IPP_ROOT_DIR
}
/../lib REALPATH
)
endif
()
if
(
IPP_X64
)
if
(
NOT EXISTS
${
INTEL_COMPILER_LIBRARY_DIR
}
/intel64
)
message
(
SEND_ERROR
"Intel compiler EM64T libraries not found"
)
...
...
@@ -253,10 +251,11 @@ function(set_ipp_variables _LATEST_VERSION)
set
(
IPP_LIBRARIES
${
IPP_LIBRARIES
}
PARENT_SCOPE
)
message
(
STATUS
"IPP libs:
${
IPP_LIBRARIES
}
"
)
else
()
message
(
STATUS
"IPP: version
${
_LATEST_VERSION
}
is not supported (
${
IPP_ROOT_DIR
}
)"
)
set
(
IPP_FOUND 0 PARENT_SCOPE
)
endif
()
return
()
endfunction
()
...
...
modules/core/include/opencv2/core/internal.hpp
View file @
2d28bb41
...
...
@@ -104,6 +104,10 @@ CV_INLINE IppiSize ippiSize(const cv::Size & _size)
return
size
;
}
#if IPP_VERSION_MAJOR >= 9 // IPP 9+ is not supported
#undef HAVE_IPP
#undef IPP_VERSION_MAJOR
#endif
#endif
#ifndef IPPI_CALL
...
...
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