From ffbd83947c23cda36a5371d466f3f8a4ea87ac78 Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Thu, 28 Feb 2019 19:03:23 +0800 Subject: [PATCH] update build --- paddle/scripts/paddle_build.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 74d7250471..260a9e4061 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -756,7 +756,9 @@ EOF ./clean.sh } -function traivs_check_api() { +function travis_check_api() { + mkdir -p ${PADDLE_ROOT}/build + cd ${PADDLE_ROOT}/build cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DWITH_GPU=OFF \ @@ -767,7 +769,9 @@ function traivs_check_api() { pip uninstall paddlepaddle } -function traivs_check_api_py35() { +function travis_check_api_py35() { + mkdir -p ${PADDLE_ROOT}/build + cd ${PADDLE_ROOT}/build cmake .. \ -DPY_VERSION=3.5 \ -DCMAKE_BUILD_TYPE=Release \ @@ -863,7 +867,7 @@ function main() { test_fluid_lib) test_fluid_lib ;; - travis_check_api) + check_api) traivs_check_api traivs_check_api_py35 ;; -- GitLab