Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add make clean in docker/build.sh #8076

Merged
merged 3 commits into from
Feb 5, 2018
Merged

Add make clean in docker/build.sh #8076

merged 3 commits into from
Feb 5, 2018

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented Feb 2, 2018

fix #8075
As the elapsed time of teamcity is 36 min, make clean will not increase the elapsed time of teamcity.
.

@luotao1
Copy link
Contributor Author

luotao1 commented Feb 5, 2018

make clean后,boost会出现以下错误:

[14:23:39]	CMakeFiles/extern_boost.dir/build.make:88: recipe for target 'third_party/boost/src/extern_boost-stamp/extern_boost-download' failed
[14:23:39]	CMakeFiles/Makefile2:653: recipe for target 'CMakeFiles/extern_boost.dir/all' failed
[14:23:39]	make[2]: *** [third_party/boost/src/extern_boost-stamp/extern_boost-download] Error 8
[14:23:39]	make[1]: *** [CMakeFiles/extern_boost.dir/all] Error 2
[14:23:39]	make[1]: *** Waiting for unfinished jobs....

原因是build/third_party/boost/src/extern_boost-stamp下的文件被删了:

  • make clean
[extern_boost-stamp]  -> $ ls
extern_boost-build      extern_boost-done      extern_boost-install  extern_boost-patch
extern_boost-configure  extern_boost-download  extern_boost-mkdir    extern_boost-update
  • make clean
[lextern_boost-stamp] -> $ ls
extern_boost-done  extern_boost-mkdir

而下载的boost_1_41_0在make clean前后都不变。

Copy link
Collaborator

@reyoung reyoung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent works

@luotao1 luotao1 merged commit be815dd into PaddlePaddle:develop Feb 5, 2018
@luotao1 luotao1 deleted the make_clean branch February 5, 2018 05:41
@Xreki Xreki added the 预测 原名Inference,包含Capi预测问题等 label Feb 5, 2018
@Xreki Xreki added this to DONE in Inference Framework Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
预测 原名Inference,包含Capi预测问题等
Projects
No open projects
Inference Framework
Basic Usage (DONE)
Development

Successfully merging this pull request may close these issues.

Add make clean in docker/build.sh to avoid link problem among different environment
3 participants