Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 96a063d

Browse files
committed
sha256 calculation
1 parent 355d69c commit 96a063d

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

build/dldt/dependencies.patch

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--- dependencies.cmake 2021-04-03 17:40:16.673904026 +0300
2-
+++ dependencies_new.cmake 2021-04-03 17:53:53.238931759 +0300
1+
--- dependencies.cmake 2021-04-03 18:23:11.340188275 +0300
2+
+++ dependencies_new.cmake 2021-04-03 18:24:04.660642524 +0300
33
@@ -186,8 +186,8 @@
44
if (ENABLE_OPENCV)
55
reset_deps_cache(OpenCV_DIR)
@@ -11,3 +11,12 @@
1111
set(OPENCV_BUILD_YOCTO "337")
1212

1313
if (AARCH64)
14+
@@ -246,7 +246,7 @@
15+
set(OPENCV_HASH "cd46831b4d8d1c0891d8d22ff5b2670d0a465a8a8285243059659a50ceeae2c3")
16+
elseif (LINUX_OS_NAME STREQUAL "Ubuntu 18.04" AND X86_64)
17+
set(OPENCV_SUFFIX "ubuntu18")
18+
- set(OPENCV_HASH "8ec3e3552500dee334162386b98cc54a5608de1f1a18f283523fc0cc13ee2f83")
19+
+ set(OPENCV_HASH "db087dfd412eedb8161636ec083ada85ff278109948d1d62a06b0f52e1f04202")
20+
elseif ((LINUX_OS_NAME STREQUAL "Ubuntu 20.04" OR LINUX_OS_NAME STREQUAL "LinuxMint 20.1") AND X86_64)
21+
set(OPENCV_SUFFIX "ubuntu20")
22+
set(OPENCV_HASH "2b7808d002864acdc5fc0b19cd30dadc31a37cc267931cad605f23f2383bfc21")

build/dldt/dldt_setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ fi
1616

1717
# <https://github.com/openvinotoolkit/openvino/issues/4527>
1818
# look for proper values at <https://download.01.org/opencv/master/openvinotoolkit/thirdparty/linux/opencv/>
19+
# calculate hash256 manually
1920
patch ../../dldt/inference-engine/cmake/dependencies.cmake dependencies.patch
2021

2122

0 commit comments

Comments
 (0)