mirror of
https://github.com/ROCm/jax.git
synced 2025-04-18 04:46:06 +00:00
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:
parent
986514eeda
commit
cad36945a2
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user