Clean more thoroughly to ensure cmake reconfigures

This commit is contained in:
murgatroid99 2019-02-21 10:43:17 -08:00
parent b1007177db
commit 0a7b53e8e0
1 changed files with 2 additions and 3 deletions

View File

@ -35,9 +35,8 @@ for arch in "${arch_list[@]}"; do
toolchain_flag=-DCMAKE_TOOLCHAIN_FILE=linux_64bit.toolchain.cmake
;;
esac
rm -f $base/build/bin/protoc
rm -f $base/build/bin/grpc_node_plugin
rm -f CMakeCache.txt
git clean -xdf
git submodule foreach --recursive git clean -xdf;
cmake $toolchain_flag . && cmake --build . --target clean && cmake --build . -- -j 12
cp -L $protobuf_base/protoc $base/build/bin/protoc
cp $base/grpc_node_plugin $base/build/bin/