ADD: added new version of protobuf
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
# generate.
|
||||
#
|
||||
# HINT: Flags passed to generate_descriptor_proto.sh will be passed directly
|
||||
# to bazel when building protoc. This is particularly useful for passing
|
||||
# to make when building protoc. This is particularly useful for passing
|
||||
# -j4 to run 4 jobs simultaneously.
|
||||
|
||||
if test ! -e src/google/protobuf/stubs/common.h; then
|
||||
@@ -62,12 +62,12 @@ do
|
||||
PROTOC=$BOOTSTRAP_PROTOC
|
||||
BOOTSTRAP_PROTOC=""
|
||||
else
|
||||
bazel build $@ //:protoc
|
||||
make -j$(nproc) $@ protoc
|
||||
if test $? -ne 0; then
|
||||
echo "Failed to build protoc."
|
||||
exit 1
|
||||
fi
|
||||
PROTOC="../bazel-bin/protoc"
|
||||
PROTOC="./protoc"
|
||||
fi
|
||||
|
||||
$PROTOC --cpp_out=dllexport_decl=PROTOBUF_EXPORT:$TMP ${RUNTIME_PROTO_FILES[@]} && \
|
||||
|
||||
Reference in New Issue
Block a user