403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/graphics/opencv/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/graphics/opencv/files/patch-3rdparty_ippicv_ippicv.cmake
--- 3rdparty/ippicv/ippicv.cmake.orig	2021-07-05 12:03:22 UTC
+++ 3rdparty/ippicv/ippicv.cmake
@@ -34,18 +34,11 @@ function(download_ippicv root_var)
   endif()
 
   set(THE_ROOT "${OpenCV_BINARY_DIR}/3rdparty/ippicv")
-  ocv_download(FILENAME ${OPENCV_ICV_NAME}
-               HASH ${OPENCV_ICV_HASH}
-               URL
-                 "${OPENCV_IPPICV_URL}"
-                 "$ENV{OPENCV_IPPICV_URL}"
-                 "https://raw.githubusercontent.com/opencv/opencv_3rdparty/${IPPICV_COMMIT}/ippicv/"
-               DESTINATION_DIR "${THE_ROOT}"
-               ID IPPICV
-               STATUS res
-               UNPACK RELATIVE_URL)
-
-  if(res)
+  set(FILENAME ${THE_ROOT}/${OPENCV_ICV_PACKAGE_SUBDIR})
+  if(EXISTS ${FILENAME})
+    message("++ ippicv: Using prefetched ${OPENCV_ICV_PACKAGE_SUBDIR}")
     set(${root_var} "${THE_ROOT}/${OPENCV_ICV_PACKAGE_SUBDIR}" PARENT_SCOPE)
+  else()
+    message(WARNING "++ ippicv: Could not find ${OPENCV_ICV_PACKAGE_SUBDIR} in ${FILENAME}")
   endif()
 endfunction()

Youez - 2016 - github.com/yon3zu
LinuXploit