From 610ec4146a374c9dd07f8dc5e8703fe41b8748d7 Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Tue, 22 May 2018 17:16:14 +0800 Subject: [PATCH] update bcebos url so that it can also be downloaded in inner network --- cmake/external/boost.cmake | 2 +- cmake/external/mklml.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/external/boost.cmake b/cmake/external/boost.cmake index 73713d93d..504150403 100644 --- a/cmake/external/boost.cmake +++ b/cmake/external/boost.cmake @@ -26,7 +26,7 @@ set(BOOST_VER "1.41.0") if((NOT DEFINED BOOST_TAR) OR (NOT DEFINED BOOST_URL)) message(STATUS "use pre defined download url") set(BOOST_TAR "boost_1_41_0" CACHE STRING "" FORCE) - set(BOOST_URL "http://paddlepaddledeps.cdn.bcebos.com/${BOOST_TAR}.tar.gz" CACHE STRING "" FORCE) + set(BOOST_URL "http://paddlepaddledeps.bj.bcebos.com/${BOOST_TAR}.tar.gz" CACHE STRING "" FORCE) endif() MESSAGE(STATUS "BOOST_TAR: ${BOOST_TAR}, BOOST_URL: ${BOOST_URL}") set(BOOST_SOURCES_DIR ${THIRD_PARTY_PATH}/boost) diff --git a/cmake/external/mklml.cmake b/cmake/external/mklml.cmake index 82c424fb7..5f8422ae7 100644 --- a/cmake/external/mklml.cmake +++ b/cmake/external/mklml.cmake @@ -30,7 +30,7 @@ SET(MKLML_PROJECT "extern_mklml") IF((NOT DEFINED MKLML_VER) OR (NOT DEFINED MKLML_URL)) MESSAGE(STATUS "use pre defined download url") SET(MKLML_VER "mklml_lnx_2018.0.3.20180406" CACHE STRING "" FORCE) - SET(MKLML_URL "http://paddlepaddledeps.cdn.bcebos.com/${MKLML_VER}.tgz" CACHE STRING "" FORCE) + SET(MKLML_URL "http://paddlepaddledeps.bj.bcebos.com/${MKLML_VER}.tgz" CACHE STRING "" FORCE) ENDIF() MESSAGE(STATUS "MKLML_VER: ${MKLML_VER}, MKLML_URL: ${MKLML_URL}") SET(MKLML_SOURCE_DIR "${THIRD_PARTY_PATH}/mklml") -- GitLab