forked from mindspore-Ecosystem/mindspore
!32013 onednn matser 0326
Merge pull request !32013 from mindspore_ding/onednn_master_0326
This commit is contained in:
commit
72ac0e601e
|
@ -5,6 +5,14 @@ if(USE_MS_THREADPOOL_FOR_DNNL)
|
|||
else()
|
||||
set(USE_MS_THREADPOOL "")
|
||||
endif()
|
||||
if(ENABLE_GITEE_EULER)
|
||||
set(GIT_REPOSITORY "git@gitee.com:src-openeuler/onednn.git")
|
||||
set(GIT_TAG "0d726f1")
|
||||
set(MD5 "6a062e36ea1bee03ff55bf44ee243e27")
|
||||
__download_pkg_with_git(ONEDNN ${GIT_REPOSITORY} ${GIT_TAG} ${MD5})
|
||||
set(ONE_DNN_SRC "${TOP_DIR}/mindspore/lite/build/_deps/onednn-src")
|
||||
execute_process(COMMAND tar -xf ${ONE_DNN_SRC}/v2.2.tar.gz --strip-components 1 -C ${ONE_DNN_SRC})
|
||||
endif()
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||
mindspore_add_pkg(onednn
|
||||
VER 2.2
|
||||
|
|
Loading…
Reference in New Issue