diff options
author | Yilun Chong <chongyilun250@sina.com> | 2018-05-14 16:14:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 16:14:04 -0700 |
commit | b83b8e3d448fa5395792630a61aad5e09ff74552 (patch) | |
tree | d11a27172b60f213f43eff697f78da9f1212367d | |
parent | 3d9e99b7e0d792abe76c56cfae641370017bfdd6 (diff) | |
parent | c3566c68618b47777f52d2387e0dac9966ae4587 (diff) | |
download | protobuf-b83b8e3d448fa5395792630a61aad5e09ff74552.tar.gz protobuf-b83b8e3d448fa5395792630a61aad5e09ff74552.tar.bz2 protobuf-b83b8e3d448fa5395792630a61aad5e09ff74552.zip |
Merge pull request #4623 from BSBandme/fix_kokoro_benchmark_build
Fix python install, cat java error log for kokoro build
-rwxr-xr-x | kokoro/linux/benchmark/build.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kokoro/linux/benchmark/build.sh b/kokoro/linux/benchmark/build.sh index 750c3e5c..f29a16fd 100755 --- a/kokoro/linux/benchmark/build.sh +++ b/kokoro/linux/benchmark/build.sh @@ -27,8 +27,8 @@ cd $oldpwd ./configure CXXFLAGS="-fPIC -O2" make -j8 cd python -python setup.py -q build --cpp_implementation -pip install . +python setup.py build --cpp_implementation +pip install . --user # build and run Python benchmark @@ -78,6 +78,7 @@ echo "benchmarking go..." make java-benchmark echo "benchmarking java..." ./java-benchmark -Cresults.file.options.file="tmp/java_result.json" $datasets +cat $(find /tmp -name "trail-1.log") # upload result to bq make python_add_init |