mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
Add --config=cuda_libraries_from_stubs
in the end of all additional bazel options for CUDA wheels.
Build.py shouldn't be used for building the wheels with real CUDA libraries in the dependencies. This change prevents overriding the default configuration. PiperOrigin-RevId: 725326252
This commit is contained in:
parent
b7d012281e
commit
e64650e2ba
@ -588,6 +588,8 @@ async def main():
|
||||
)
|
||||
for option in args.bazel_options:
|
||||
wheel_build_command_base.append(option)
|
||||
if "cuda" in args.wheels:
|
||||
wheel_build_command_base.append("--config=cuda_libraries_from_stubs")
|
||||
|
||||
with open(".jax_configure.bazelrc", "w") as f:
|
||||
jax_configure_options = utils.get_jax_configure_bazel_options(wheel_build_command_base.get_command_as_list())
|
||||
|
Loading…
x
Reference in New Issue
Block a user