From 1239493ed791a4a25c7726de266dc2dd279ecb9c Mon Sep 17 00:00:00 2001 From: qiuzhongya Date: Wed, 12 Oct 2022 20:29:00 +0800 Subject: [PATCH] enable robin download from gitee --- cmake/external_libs/robin.cmake | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cmake/external_libs/robin.cmake b/cmake/external_libs/robin.cmake index 91e42dd34d2..74180ed0d11 100644 --- a/cmake/external_libs/robin.cmake +++ b/cmake/external_libs/robin.cmake @@ -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