Browse Source

Merge pull request #4623 from BSBandme/fix_kokoro_benchmark_build

Fix python install, cat java error log for kokoro build
Yilun Chong 7 years ago
parent
commit
b83b8e3d44
1 changed files with 3 additions and 2 deletions
  1. 3 2
      kokoro/linux/benchmark/build.sh

+ 3 - 2
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