forked from Samsung/ONE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[infra] Update cmsis-nn version (Samsung#13723)
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
1 parent
4bdbe3d
commit c6c8c0d
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
10
infra/cmake/packages/CMSIS-NN-6.0.0/CMSIS-NNConfigVersion.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |