瀏覽代碼

Merge pull request #4974 from BSBandme/fix_benchmark

fix third_party/benchmark submodule init
Yilun Chong 7 年之前
父節點
當前提交
751bf9783f
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      benchmarks/Makefile.am

+ 1 - 2
benchmarks/Makefile.am

@@ -90,8 +90,7 @@ $(benchmarks_protoc_outputs_proto2_header): protoc_middleman2
 
 
 initialize_submodule:
 initialize_submodule:
 	oldpwd=`pwd`
 	oldpwd=`pwd`
-	cd $(top_srcdir)/third_party
-	git submodule update --init -r
+	cd $(top_srcdir) && git submodule update --init -r third_party/benchmark
 	cd $(top_srcdir)/third_party/benchmark && cmake -DCMAKE_BUILD_TYPE=Release && make
 	cd $(top_srcdir)/third_party/benchmark && cmake -DCMAKE_BUILD_TYPE=Release && make
 	cd $$oldpwd
 	cd $$oldpwd
 	touch initialize_submodule
 	touch initialize_submodule