diff --git a/paddle/fluid/framework/CMakeLists.txt b/paddle/fluid/framework/CMakeLists.txt index d6cce2540188aa3a29b97472b27b753fd5bf4bdb..361f25d09e70006e0dcba31977379a756ba8c96f 100644 --- a/paddle/fluid/framework/CMakeLists.txt +++ b/paddle/fluid/framework/CMakeLists.txt @@ -157,7 +157,7 @@ if(WITH_PYTHON) #Generate an empty \ #__init__.py to make framework_py_proto as a valid python module. add_custom_target(framework_py_proto_init ALL COMMAND ${CMAKE_COMMAND} -E touch __init__.py) - add_dependencies(framework_py_proto framework_py_proto_init) + add_dependencies(framework_py_proto framework_py_proto_init trainer_py_proto) if (NOT WIN32) add_custom_command(TARGET framework_py_proto POST_BUILD COMMAND ${CMAKE_COMMAND} -E make_directory ${PADDLE_BINARY_DIR}/python/paddle/fluid/proto diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 0c09ba8872778cd75a6097ce8b7ef197dde8691f..c5be5bc142f23b5f6fdfb8062f3be8e5e764e364 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -799,8 +799,6 @@ set +x testcase='' done <<< "$test_cases"; - echo "For UT Random Fail, will delete soon" - find / -name "proto" -type d | xargs ls card_test "$single_card_tests" 1 # run cases with single GPU card_test "$multiple_card_tests" 2 # run cases with two GPUs card_test "$exclusive_tests" # run cases exclusively, in this cases would be run with 4/8 GPUs