From 3f3f923bafa1fd085ac6e0e8df01d705163c39ff Mon Sep 17 00:00:00 2001 From: danleifeng <52735331+danleifeng@users.noreply.github.com> Date: Tue, 6 Sep 2022 20:11:44 +0800 Subject: [PATCH] fix cmake download program (#45800) --- paddle/fluid/framework/new_executor/CMakeLists.txt | 5 +++-- paddle/fluid/jit/CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/paddle/fluid/framework/new_executor/CMakeLists.txt b/paddle/fluid/framework/new_executor/CMakeLists.txt index 68312c7bb36..98ec60f8d7f 100644 --- a/paddle/fluid/framework/new_executor/CMakeLists.txt +++ b/paddle/fluid/framework/new_executor/CMakeLists.txt @@ -60,8 +60,9 @@ if(WITH_GPU AND NOT WIN32) add_custom_target( download_program - COMMAND wget -nc https://paddle-ci.gz.bcebos.com/new_exec/lm_main_program - COMMAND wget -nc + COMMAND wget -nc --no-check-certificate + https://paddle-ci.gz.bcebos.com/new_exec/lm_main_program + COMMAND wget -nc --no-check-certificate https://paddle-ci.gz.bcebos.com/new_exec/lm_startup_program) # all operators used in the program diff --git a/paddle/fluid/jit/CMakeLists.txt b/paddle/fluid/jit/CMakeLists.txt index 3ad7b1b16cb..565bd670b98 100644 --- a/paddle/fluid/jit/CMakeLists.txt +++ b/paddle/fluid/jit/CMakeLists.txt @@ -52,7 +52,7 @@ if(WITH_TESTING AND NOT WIN32) add_custom_target( jit_download_program COMMAND - wget -nc -q + wget -nc -q --no-check-certificate https://paddle-ci.gz.bcebos.com/dy2st/multi_program_load_with_property.tar.gz COMMAND tar zxf multi_program_load_with_property.tar.gz) set(JIT_DEPS -- GitLab