Update build.py to write its .bazelrc in the root directory of the repository, next to the workspace.

Fixes build breakage caused by workspace move.
This commit is contained in:
Peter Hawkins 2018-12-12 15:55:55 -05:00
parent 986514eeda
commit cad36945a2

View File

@ -171,7 +171,7 @@ build:opt --host_copt=-march=native
def write_bazelrc(**kwargs):
f = open(".bazelrc", "w")
f = open("../.bazelrc", "w")
f.write(BAZELRC_TEMPLATE.format(**kwargs))
f.close()