Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33116008
D6238.1768486264.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
640 B
Referenced Files
None
Subscribers
None
D6238.1768486264.diff
View Options
diff --git a/native/android/scripts/install_protobuf.sh b/native/android/scripts/install_protobuf.sh
--- a/native/android/scripts/install_protobuf.sh
+++ b/native/android/scripts/install_protobuf.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
+set -euo pipefail
+
git clone \
--recurse-submodules \
--single-branch \
@@ -11,7 +13,11 @@
mkdir build
pushd build || exit
-cmake ../cmake -Dprotobuf_BUILD_SHARED_LIBS=ON -Dprotobuf_ABSL_PROVIDER=package
+cmake ../cmake \
+ -Dprotobuf_BUILD_SHARED_LIBS=ON \
+ -Dprotobuf_ABSL_PROVIDER=package \
+ -DBUILD_TESTING=OFF
+
make install -j "$(nproc)" -l "$(nproc)"
popd || exit # build
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 2:11 PM (17 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5938297
Default Alt Text
D6238.1768486264.diff (640 B)
Attached To
Mode
D6238: [Android] Avoid building protobuf test suite when install protoc
Attached
Detach File
Event Timeline
Log In to Comment