aboutsummaryrefslogtreecommitdiffhomepage
path: root/benchmarks/initialize_submodule.sh
diff options
context:
space:
mode:
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"