Skip to content

[Issue]: patching rpath with patchelf #176

@ksebaz

Description

@ksebaz

I was wondering whether 'patching' the runpath in jax_rocm_plugin/pjrt/tools/build_gpu_plugin_wheel.py and jax_rocm_plugin/jaxlib_ext/tools/build_gpu_kernels_wheel.py is still necessary. Specifically with something as generic as '/opt/rocm/lib/'. To me it seems these patches happen before bazel will append any runpaths and thus it makes any attempt to properly set runpaths to rocm via bazel's linkopt during build useless. In a heterogeneous software environment, this is a real problem since it necessitates setting the build-time rocm version in LD_LIBRARY_PATH which we usually try to avoid.

Metadata

Metadata

Assignees

Labels

status: triageIndicates an issue has been assigned for investigation.

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions