Skip to content

Commit

Permalink
delete the dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
JehandadKhan committed Oct 1, 2024
1 parent 0bf3f5d commit 5a50530
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/rocm/tools/build_wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ def main():
if os.path.basename(whl).startswith("jax-"):
LOG.info("Copying %s into %s" % (whl, wheelhouse_dir))
shutil.copy(whl, wheelhouse_dir)
# delete the 'dist' directory since it causes permissions issues
shutil.rmtree(os.path.join(args.jax_path, "dist"))


if __name__ == "__main__":
Expand Down

0 comments on commit 5a50530

Please sign in to comment.