mirror of
https://github.com/opencv/opencv.git
synced 2025-07-24 14:06:27 +08:00

Extract all HALs from 3rdparty to dedicated folder. #27252 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [ ] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake
22 lines
826 B
CMake
22 lines
826 B
CMake
function(download_kleidicv root_var)
|
|
set(${root_var} "" PARENT_SCOPE)
|
|
|
|
ocv_update(KLEIDICV_SRC_COMMIT "0.3.0")
|
|
ocv_update(KLEIDICV_SRC_HASH "51a77b0185c2bac2a968a2163869b1ed")
|
|
|
|
set(THE_ROOT "${OpenCV_BINARY_DIR}/3rdparty/kleidicv")
|
|
ocv_download(FILENAME "kleidicv-${KLEIDICV_SRC_COMMIT}.tar.gz"
|
|
HASH ${KLEIDICV_SRC_HASH}
|
|
URL
|
|
"${OPENCV_KLEIDICV_URL}"
|
|
"$ENV{OPENCV_KLEIDICV_URL}"
|
|
"https://gitlab.arm.com/kleidi/kleidicv/-/archive/${KLEIDICV_SRC_COMMIT}/"
|
|
DESTINATION_DIR ${THE_ROOT}
|
|
ID KLEIDICV
|
|
STATUS res
|
|
UNPACK RELATIVE_URL)
|
|
if(res)
|
|
set(${root_var} "${OpenCV_BINARY_DIR}/3rdparty/kleidicv/kleidicv-${KLEIDICV_SRC_COMMIT}" PARENT_SCOPE)
|
|
endif()
|
|
endfunction()
|