We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8477580 commit d449f12Copy full SHA for d449f12
build/build.py
@@ -598,10 +598,12 @@ async def main():
598
wheel_build_command.append(f"--jaxlib_git_hash={git_hash}")
599
600
result = await executor.run(wheel_build_command.get_command_as_string(), args.dry_run)
601
+ # Exit with error if any wheel build fails.
602
if result.return_code != 0:
603
raise RuntimeError(f"Command failed with return code {result.return_code}")
- else:
604
- sys.exit(0)
+
605
+ # Exit with success if all wheels in the list were built successfully.
606
+ sys.exit(0)
607
608
609
if __name__ == "__main__":
0 commit comments