From 8dc0ace6f92e9a8e3b28135f88c06eb55e79f5da Mon Sep 17 00:00:00 2001 From: superjomn Date: Sat, 15 Jun 2019 08:07:18 +0000 Subject: [PATCH] update --- .gitlab-ci.yml | 4 ++++ CMakeLists.txt | 1 + 2 files changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index adc6c89824..a6f900a4d1 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,9 @@ build:server: key: server_thirdparty paths: - build/third_party + - /root/.ccache script: + - apt install ccache - export http_proxy=http://172.19.57.45:3128 - export https_proxy=http://172.19.57.45:3128 #- export http_proxy=http://agent.baidu.com:8118 @@ -62,7 +64,9 @@ build:mobile: paths: - $MOBILE_LITE_CACHE0 - $MOBILE_LITE_CACHE1 + - /root/.ccache script: + - apt install ccache - export http_proxy=http://172.19.57.45:3128 - export https_proxy=http://172.19.57.45:3128 - ./paddle/fluid/lite/tools/build.sh build_test_arm diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ef4a4c351..312bdb7f1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -166,6 +166,7 @@ if (WITH_LITE AND LITE_WITH_LIGHT_WEIGHT_FRAMEWORK) #include(external/zlib) # download, build, install gtest include(external/protobuf) # download, build, install protobuf include(external/eigen) # download eigen3 + include(ccache) # set ccache for compilation include(generic) # simplify cmake module include(configure) # add paddle env configuration -- GitLab