|
|
@ -2,37 +2,32 @@ function(download_ippicv root_var) |
|
|
|
set(${root_var} "" PARENT_SCOPE) |
|
|
|
set(${root_var} "" PARENT_SCOPE) |
|
|
|
|
|
|
|
|
|
|
|
# Commit SHA in the opencv_3rdparty repo |
|
|
|
# Commit SHA in the opencv_3rdparty repo |
|
|
|
set(IPPICV_COMMIT "32e315a5b106a7b89dbed51c28f8120a48b368b4") |
|
|
|
set(IPPICV_COMMIT "a56b6ac6f030c312b2dce17430eef13aed9af274") |
|
|
|
# Define actual ICV versions |
|
|
|
# Define actual ICV versions |
|
|
|
if(APPLE) |
|
|
|
if(APPLE) |
|
|
|
set(OPENCV_ICV_PLATFORM "macosx") |
|
|
|
set(OPENCV_ICV_PLATFORM "macosx") |
|
|
|
set(OPENCV_ICV_PACKAGE_SUBDIR "ippicv_mac") |
|
|
|
set(OPENCV_ICV_PACKAGE_SUBDIR "ippicv_mac") |
|
|
|
if(X86_64) |
|
|
|
set(OPENCV_ICV_NAME "ippicv_2020_mac_intel64_20191018_general.tgz") |
|
|
|
set(OPENCV_ICV_NAME "ippicv_2019_mac_intel64_general_20180723.tgz") |
|
|
|
set(OPENCV_ICV_HASH "1c3d675c2a2395d094d523024896e01b") |
|
|
|
set(OPENCV_ICV_HASH "fe6b2bb75ae0e3f19ad3ae1a31dfa4a2") |
|
|
|
|
|
|
|
else() |
|
|
|
|
|
|
|
set(OPENCV_ICV_NAME "ippicv_2019_mac_ia32_general_20180723.tgz") |
|
|
|
|
|
|
|
set(OPENCV_ICV_HASH "b5dfa78c87eb75c64470cbe5ec876f4f") |
|
|
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
elseif((UNIX AND NOT ANDROID) OR (UNIX AND ANDROID_ABI MATCHES "x86")) |
|
|
|
elseif((UNIX AND NOT ANDROID) OR (UNIX AND ANDROID_ABI MATCHES "x86")) |
|
|
|
set(OPENCV_ICV_PLATFORM "linux") |
|
|
|
set(OPENCV_ICV_PLATFORM "linux") |
|
|
|
set(OPENCV_ICV_PACKAGE_SUBDIR "ippicv_lnx") |
|
|
|
set(OPENCV_ICV_PACKAGE_SUBDIR "ippicv_lnx") |
|
|
|
if(X86_64) |
|
|
|
if(X86_64) |
|
|
|
set(OPENCV_ICV_NAME "ippicv_2019_lnx_intel64_general_20180723.tgz") |
|
|
|
set(OPENCV_ICV_NAME "ippicv_2020_lnx_intel64_20191018_general.tgz") |
|
|
|
set(OPENCV_ICV_HASH "c0bd78adb4156bbf552c1dfe90599607") |
|
|
|
set(OPENCV_ICV_HASH "7421de0095c7a39162ae13a6098782f9") |
|
|
|
else() |
|
|
|
else() |
|
|
|
set(OPENCV_ICV_NAME "ippicv_2019_lnx_ia32_general_20180723.tgz") |
|
|
|
set(OPENCV_ICV_NAME "ippicv_2020_lnx_ia32_20191018_general.tgz") |
|
|
|
set(OPENCV_ICV_HASH "4f38432c30bfd6423164b7a24bbc98a0") |
|
|
|
set(OPENCV_ICV_HASH "ad189a940fb60eb71f291321322fe3e8") |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
elseif(WIN32 AND NOT ARM) |
|
|
|
elseif(WIN32 AND NOT ARM) |
|
|
|
set(OPENCV_ICV_PLATFORM "windows") |
|
|
|
set(OPENCV_ICV_PLATFORM "windows") |
|
|
|
set(OPENCV_ICV_PACKAGE_SUBDIR "ippicv_win") |
|
|
|
set(OPENCV_ICV_PACKAGE_SUBDIR "ippicv_win") |
|
|
|
if(X86_64) |
|
|
|
if(X86_64) |
|
|
|
set(OPENCV_ICV_NAME "ippicv_2019_win_intel64_20180723_general.zip") |
|
|
|
set(OPENCV_ICV_NAME "ippicv_2020_win_intel64_20191018_general.zip") |
|
|
|
set(OPENCV_ICV_HASH "1d222685246896fe089f88b8858e4b2f") |
|
|
|
set(OPENCV_ICV_HASH "879741a7946b814455eee6c6ffde2984") |
|
|
|
else() |
|
|
|
else() |
|
|
|
set(OPENCV_ICV_NAME "ippicv_2019_win_ia32_20180723_general.zip") |
|
|
|
set(OPENCV_ICV_NAME "ippicv_2020_win_ia32_20191018_general.zip") |
|
|
|
set(OPENCV_ICV_HASH "0157251a2eb9cd63a3ebc7eed0f3e59e") |
|
|
|
set(OPENCV_ICV_HASH "cd39bdf0c2e1cac9a61101dad7a2413e") |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
else() |
|
|
|
else() |
|
|
|
return() |
|
|
|
return() |
|
|
|