Skip to content

Commit 255718a

Browse files
authored
[Iluvatar] Fix build script (#2326)
* fix build script * 移除 build_paddle.sh 末尾无用注释
1 parent 3c1e1f3 commit 255718a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

backends/iluvatar_gpu/build_paddle.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ cp -r ${CURRENT_DIR}/patches/eigen/Core ../../Paddle/third_party/eigen3/Eigen/Co
5656
cp -r ${CURRENT_DIR}/patches/eigen/Tensor ../../Paddle/third_party/eigen3/unsupported/Eigen/CXX11/Tensor || { echo "Error: Failed to copy eigen Tensor!"; exit 1; }
5757
cp -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-
6559
if [[ ! -d "build" ]]; then
6660
mkdir build
6761
fi
@@ -91,7 +85,3 @@ fi
9185
pushd ${PADDLE_SOURCE_DIR}/third_party/eigen3
9286
git reset --hard || { echo "Error: Failed to reset eigen repository!"; exit 1; }
9387
popd
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

0 commit comments

Comments
 (0)