Page MenuHomePhabricator

D6525.id21856.diff
No OneTemporary

D6525.id21856.diff

diff --git a/scripts/install_protobuf.sh b/scripts/install_protobuf.sh
--- a/scripts/install_protobuf.sh
+++ b/scripts/install_protobuf.sh
@@ -18,7 +18,7 @@
-Dprotobuf_ABSL_PROVIDER=package \
-Dprotobuf_BUILD_TESTS=OFF
-make install -j "$(nproc)" -l "$(nproc)"
+make install -j "$(nproc || sysctl -n hw.physicalcpu)"
popd || exit # cmake-build
popd || exit # protobuf

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 11:45 PM (20 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2678859
Default Alt Text
D6525.id21856.diff (381 B)

Event Timeline