From 4530206445c1a5e6825fbd2b29dd99dbb0f1f4de Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov <2536374+asmorkalov@users.noreply.github.com> Date: Wed, 21 May 2025 10:24:13 +0300 Subject: [PATCH] Merge pull request #27340 from asmorkalov:apreetam_5thPost Update hash for the fastcv libs for both Linux and Android #27340 Replaces https://github.com/opencv/opencv/pull/27290 Updated libs PR: https://github.com/opencv/opencv_3rdparty/pull/95 ### 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 --- 3rdparty/fastcv/fastcv.cmake | 14 +++++++------- cmake/OpenCVFindLibsPerf.cmake | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/3rdparty/fastcv/fastcv.cmake b/3rdparty/fastcv/fastcv.cmake index 6fee4ce4ce..8a82995bf3 100644 --- a/3rdparty/fastcv/fastcv.cmake +++ b/3rdparty/fastcv/fastcv.cmake @@ -1,23 +1,23 @@ function(download_fastcv root_dir) # Commit SHA in the opencv_3rdparty repo - set(FASTCV_COMMIT "8d86e68dad8b80b8575a8d3cf401d3ee96c24148") + set(FASTCV_COMMIT "abe340d0fb7f19fa9315080e3c8616642e98a296") # Define actual FastCV versions if(ANDROID) if(AARCH64) message(STATUS "Download FastCV for Android aarch64") - set(FCV_PACKAGE_NAME "fastcv_android_aarch64_2025_04_08.tgz") - set(FCV_PACKAGE_HASH "e028966a1d1b2f3f0bc5967d316e8b64") + set(FCV_PACKAGE_NAME "fastcv_android_aarch64_2025_04_29.tgz") + set(FCV_PACKAGE_HASH "d9172a9a3e5d92d080a4192cc5691001") else() message(STATUS "Download FastCV for Android armv7") - set(FCV_PACKAGE_NAME "fastcv_android_arm32_2025_04_08.tgz") - set(FCV_PACKAGE_HASH "6fc1e812a4b3ef392469d2283e037ffe") + set(FCV_PACKAGE_NAME "fastcv_android_arm32_2025_04_29.tgz") + set(FCV_PACKAGE_HASH "246b5253233391cd2c74d01d49aee9c3") endif() elseif(UNIX AND NOT APPLE AND NOT IOS AND NOT XROS) if(AARCH64) - set(FCV_PACKAGE_NAME "fastcv_linux_aarch64_2025_04_08.tgz") - set(FCV_PACKAGE_HASH "062a26639cd2788beee2e0dd8743d680") + set(FCV_PACKAGE_NAME "fastcv_linux_aarch64_2025_04_29.tgz") + set(FCV_PACKAGE_HASH "e2ce60e25c8e4113a7af2bd243118f4c") else() message("FastCV: fastcv lib for 32-bit Linux is not supported for now!") endif() diff --git a/cmake/OpenCVFindLibsPerf.cmake b/cmake/OpenCVFindLibsPerf.cmake index 6d1d786517..1061baa1af 100644 --- a/cmake/OpenCVFindLibsPerf.cmake +++ b/cmake/OpenCVFindLibsPerf.cmake @@ -199,7 +199,7 @@ if(WITH_FASTCV) ocv_install_3rdparty_licenses(FastCV "${OpenCV_BINARY_DIR}/3rdparty/fastcv/LICENSE") add_library(fastcv STATIC IMPORTED) set_target_properties(fastcv PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES "" + IMPORTED_LINK_INTERFACE_LIBRARIES "dl" IMPORTED_LOCATION "${FastCV_LIB_PATH}/libfastcv.a" ) if (NOT BUILD_SHARED_LIBS)