Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
281 B
16 lines
281 B
5 years ago
|
#!/bin/bash
|
||
|
|
||
|
set -ex
|
||
|
CXXFLAGS_COMMON="-std=c++14 -DNDEBUG -mmacosx-version-min=10.9"
|
||
|
|
||
|
cd github/protobuf
|
||
|
./autogen.sh
|
||
|
|
||
|
mkdir build64 && cd build64
|
||
|
export CXXFLAGS="$CXXFLAGS_COMMON -m64"
|
||
|
../configure --disable-shared
|
||
|
make -j4
|
||
|
file src/protoc
|
||
|
otool -L src/protoc | grep dylib
|
||
|
cd ..
|