forked from huawei/mindspore2022
Set the version number to opensource thirdparty software filename
This commit is contained in:
parent
fd3a8919ee
commit
0680e74ae9
|
|
@ -244,7 +244,7 @@ function(mindspore_add_pkg pkg_name)
|
|||
|
||||
message("${pkg_name} config hash: ${${pkg_name}_CONFIG_HASH}")
|
||||
|
||||
set(${pkg_name}_BASE_DIR ${_MS_LIB_CACHE}/${pkg_name}_${${pkg_name}_CONFIG_HASH})
|
||||
set(${pkg_name}_BASE_DIR ${_MS_LIB_CACHE}/${pkg_name}_${PKG_VER}_${${pkg_name}_CONFIG_HASH})
|
||||
set(${pkg_name}_DIRPATH ${${pkg_name}_BASE_DIR} CACHE STRING INTERNAL)
|
||||
|
||||
if(EXISTS ${${pkg_name}_BASE_DIR}/options.txt AND PKG_HEAD_ONLY)
|
||||
|
|
|
|||
Loading…
Reference in New Issue