diff options
author | Yilun Chong <yilunchong@google.com> | 2017-12-13 14:34:52 -0800 |
---|---|---|
committer | Yilun Chong <yilunchong@google.com> | 2017-12-13 14:34:52 -0800 |
commit | 34843eddfe65686a86d12780d1ca709a997d83ad (patch) | |
tree | 670a2ed6cd727a214a4f59147c10ce2ee9c375a6 /tests.sh | |
parent | 5e732e35c1aea3a00903aae50f63cf1cf9166833 (diff) | |
download | protobuf-34843eddfe65686a86d12780d1ca709a997d83ad.tar.gz protobuf-34843eddfe65686a86d12780d1ca709a997d83ad.tar.bz2 protobuf-34843eddfe65686a86d12780d1ca709a997d83ad.zip |
Fix bugs
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -44,7 +44,10 @@ build_cpp() { # appears to be missing it: https://github.com/travis-ci/travis-ci/issues/6996 if [[ $(type cmake 2>/dev/null) ]]; then # Verify benchmarking code can build successfully. - cd benchmarks && ./initialize_submodule.sh cpp && make cpp-benchmark && cd .. + git submodule init + git submodule update + cd third_party/benchmark && cmake -DCMAKE_BUILD_TYPE=Release && make && cd ../.. + cd benchmarks && make cpp-benchmark && cd .. else echo "" echo "WARNING: Skipping validation of the bench marking code, cmake isn't installed." |