Skip to content

Commit

Permalink
fix typo in script
Browse files Browse the repository at this point in the history
  • Loading branch information
JehandadKhan committed Oct 1, 2024
1 parent 47521d0 commit f0125ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/rocm/tools/build_wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,13 @@ def main():
shutil.rmtree(os.path.join(args.jax_path, "jax", "__pycache__"))

# make the wheels delete-abl by the runner
whl_house = os.join(args.jax_path, "wheelhouse")
whl_house = os.path.join(args.jax_path, "wheelhouse")
logging.info(f'Changing permissions for {whl_house}')
mode = (stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR |
stat.S_IRGRP | stat.S_IWGRP | stat.S_IXGRP |
stat.S_IROTH | stat.S_IWOTH | stat.S_IXOTH )
for item in os.listdir(whl_house):
whl_path = os.path.join(path, item)
whl_path = os.path.join(whl_house, item)
if os.path.isfile(whl_path):
os.chmod(whl_path, mode)

Expand Down

0 comments on commit f0125ad

Please sign in to comment.