File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -56,12 +56,6 @@ cp -r ${CURRENT_DIR}/patches/eigen/Core ../../Paddle/third_party/eigen3/Eigen/Co
5656cp -r ${CURRENT_DIR} /patches/eigen/Tensor ../../Paddle/third_party/eigen3/unsupported/Eigen/CXX11/Tensor || { echo " Error: Failed to copy eigen Tensor!" ; exit 1; }
5757cp -r ${CURRENT_DIR} /patches/eigen/TensorAssign.h ../../Paddle/third_party/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h || { echo " Error: Failed to copy eigen TensorAssign.h!" ; exit 1; }
5858
59- pushd ${PADDLE_SOURCE_DIR} /paddle/phi/core
60- if [[ ! -f " external_error.pb.cc" || ! -f " external_error.pb.h" ]]; then
61- protoc --cpp_out=. external_error.proto || { echo " Error: Failed to generate protobuf files!" ; exit 1; }
62- fi
63- popd
64-
6559if [[ ! -d " build" ]]; then
6660 mkdir build
6761fi
9185pushd ${PADDLE_SOURCE_DIR} /third_party/eigen3
9286git reset --hard || { echo " Error: Failed to reset eigen repository!" ; exit 1; }
9387popd
94-
95- # Script will exit with the status of the last command
96- # If all commands succeeded, it will exit with 0
97- # If any command failed, it will have already exited with 1
You can’t perform that action at this time.
0 commit comments