mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
d29ad2fb71
Integrate ARM KleidiCV as OpenCV HAL #25443 The library source code with license: https://gitlab.arm.com/kleidi/kleidicv/ ### 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 - [x] The PR is proposed to the proper branch - [x] 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
24 lines
945 B
CMake
24 lines
945 B
CMake
project(kleidicv_hal)
|
|
|
|
set(KLEIDICV_SOURCE_PATH "" CACHE PATH "Directory containing KleidiCV sources")
|
|
ocv_update(KLEIDICV_SRC_COMMIT "a9971ba8bf1d8b008a32c6ed8fea05cd8eb16748")
|
|
ocv_update(KLEIDICV_SRC_HASH "53d1d80620395a12c7fee91460499368")
|
|
|
|
if(KLEIDICV_SOURCE_PATH)
|
|
set(THE_ROOT "${KLEIDICV_SOURCE_PATH}")
|
|
else()
|
|
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 "${OpenCV_BINARY_DIR}/3rdparty/kleidicv/"
|
|
ID KLEIDICV
|
|
STATUS res
|
|
UNPACK RELATIVE_URL)
|
|
set(THE_ROOT "${OpenCV_BINARY_DIR}/3rdparty/kleidicv/kleidicv-${KLEIDICV_SRC_COMMIT}")
|
|
endif()
|
|
|
|
include("${THE_ROOT}/adapters/opencv/CMakeLists.txt")
|