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

fix compiler error in paddle:latest-dev image #9907

Merged
merged 1 commit into from
Apr 13, 2018
Merged

fix compiler error in paddle:latest-dev image #9907

merged 1 commit into from
Apr 13, 2018

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented Apr 13, 2018

fix #9906
The reason is that original file(GLOB_RECURSE FLUID_PY_FILES ./paddle/fluid/ *.py) will add paddle/v2 files.

After fix #9906, there is compile error:

Error copying directory from "/Paddle/python/paddle" to 
"/Paddle/docker_build/python/paddle".
python/CMakeFiles/paddle_python.dir/build.make:352: recipe for target 
'python/build/.timestamp' failed
make[2]: *** [python/build/.timestamp] Error 1
CMakeFiles/Makefile2:30120: recipe for target 'python/CMakeFiles/paddle_python.dir/all' 
failed
make[1]: *** [python/CMakeFiles/paddle_python.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

Thus, change COMMAND ${CMAKE_COMMAND} -E copy_directory to COMMAND cp -r

Copy link
Collaborator

@wangkuiyi wangkuiyi left a comment

Choose a reason for hiding this comment

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

Thanks for this fix!

@wangkuiyi wangkuiyi merged commit f22da58 into PaddlePaddle:develop Apr 13, 2018
@luotao1 luotao1 deleted the compile branch June 11, 2018 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compile error in docker.paddlepaddlehub.com/paddle:latest-dev images
2 participants