Skip to content

Commit

Permalink
[infra] Update cmsis-nn version (Samsung#13723)
Browse files Browse the repository at this point in the history
This pr updates cmsis-nn version.

ONE-DCO-1.0-Signed-off-by: Artem Balyshev <[email protected]>

Co-authored-by: Artem Balyshev <[email protected]>
  • Loading branch information
BalyshevArtem and Artem Balyshev authored Nov 29, 2024
1 parent 4bdbe3d commit c6c8c0d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions infra/cmake/packages/CMSIS-NN-6.0.0/CMSIS-NNConfig.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
function(_CMSIS_NN_import)
nnas_include(ExternalSourceTools)
nnas_include(OptionTools)

envoption(EXTERNAL_DOWNLOAD_SERVER "https://github.com")
envoption(CMSIS_NN_6_0_0_URL ${EXTERNAL_DOWNLOAD_SERVER}/ARM-software/CMSIS-NN/archive/refs/tags/v6.0.0.tar.gz)

ExternalSource_Download(CMSIS_NN DIRNAME CMSIS-NN-6.0.0 ${CMSIS_NN_6_0_0_URL})

set(CMSIS_NNSource_DIR ${CMSIS_NN_SOURCE_DIR} PARENT_SCOPE)
set(CMSIS_NNSource_FOUND TRUE PARENT_SCOPE)
endfunction(_CMSIS_NN_import)

_CMSIS_NN_import()
10 changes: 10 additions & 0 deletions infra/cmake/packages/CMSIS-NN-6.0.0/CMSIS-NNConfigVersion.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set(PACKAGE_VERSION "6.0.0")
set(PACKAGE_VERSION_EXACT FALSE)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
set(PACKAGE_VERSION_UNSUITABLE TRUE)

if(PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
set(PACKAGE_VERSION_EXACT TRUE)
set(PACKAGE_VERSION_COMPATIBLE TRUE)
set(PACKAGE_VERSION_UNSUITABLE FALSE)
endif(PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)

0 comments on commit c6c8c0d

Please sign in to comment.