!43765 support compile in msvc, enable download robin from gitee

Merge pull request !43765 from qiuzhongya/qiuzhongya_msvc9
This commit is contained in:
i-robot 2022-10-13 01:25:21 +00:00 committed by Gitee
commit c937113df8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
set(REQ_URL "https://github.com/martinus/robin-hood-hashing/archive/3.11.5.zip")
set(MD5 "35154dc71e47762d9b56b2114bc906ca")
if(ENABLE_GITEE)
set(REQ_URL "https://gitee.com/mirrors/robin-hood-hashing/repository/archive/3.11.5.zip")
set(MD5 "b1f36d958f0bd75671b43ccf4685a5be")
else()
set(REQ_URL "https://github.com/martinus/robin-hood-hashing/archive/3.11.5.zip")
set(MD5 "35154dc71e47762d9b56b2114bc906ca")
endif()
set(INCLUDE "./src")
mindspore_add_pkg(robin_hood_hashing