aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/initialize_submodule.sh
diff options
context:
space:
mode:
authorYilun Chong <yilunchong@google.com>2017-12-12 12:05:29 -0800
committerYilun Chong <yilunchong@google.com>2017-12-12 12:05:29 -0800
commit5e732e35c1aea3a00903aae50f63cf1cf9166833 (patch)
tree4244785ac739109bdc4c5a211f243d66e81eed6a /benchmarks/initialize_submodule.sh
parent9021f623e1420f513268a01a5ad43a23618a84ba (diff)
downloadprotobuf-5e732e35c1aea3a00903aae50f63cf1cf9166833.tar.gz
protobuf-5e732e35c1aea3a00903aae50f63cf1cf9166833.tar.bz2
protobuf-5e732e35c1aea3a00903aae50f63cf1cf9166833.zip
Add caliper supported to java benchmark
Diffstat (limited to 'benchmarks/initialize_submodule.sh')
-rwxr-xr-xbenchmarks/initialize_submodule.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmarks/initialize_submodule.sh b/benchmarks/initialize_submodule.sh
new file mode 100755
index 00000000..f3456adf
--- /dev/null
+++ b/benchmarks/initialize_submodule.sh
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+oldpwd=`pwd`
+cd "../third_party"
+git submodule update --init -r
+cd benchmark && cmake -DCMAKE_BUILD_TYPE=Release && make && cd ..
+cd "$oldpwd"