Windows: fix bazelrc file setup in Tensorflow job
}],
"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": []
}
}
]
