Windows: fix bazelrc file setup in Tensorflow job
Change-Id: I7b03280ccd64a96aa213859357eb782a4652561d
diff --git a/jenkins/jobs/configs/tensorflow.json b/jenkins/jobs/configs/tensorflow.json
index b650d6d..7290b28 100644
--- a/jenkins/jobs/configs/tensorflow.json
+++ b/jenkins/jobs/configs/tensorflow.json
@@ -28,14 +28,21 @@
}],
"parameters": {
"configure": [
- "SET TMPDIR=c:/tmp", // Use a short output root to avoid potential long path issue
+ "if not exist C:\\tmp md C:\\tmp",
+ "echo.>>bazel.bazelrc",
+ "echo import .bazelrc>>bazel.bazelrc",
+ "echo.>>.bazelrc",
"yes '' | python ./configure.py"
],
+ "startup_opts": [
+ "--output_base=c:/tmp" // Use a short output root to avoid potential long path issue
+ ],
"build_opts": [
"-c opt",
"--define=override_eigen_strong_inline=true" // speed up the compiling, see https://github.com/tensorflow/tensorflow/issues/10521
],
- "targets": ["//tensorflow/tools/pip_package:build_pip_package"]
+ "targets": ["//tensorflow/tools/pip_package:build_pip_package"],
+ "tests": []
}
}
]