Skip to content

Commit e904a85

Browse files
Set FORCE_RPATH for ROCm (#1468)
1 parent 2a03668 commit e904a85

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

manywheel/build_rocm.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ export USE_STATIC_NCCL=1
1414
export ATEN_STATIC_CUDA=1
1515
export USE_CUDA_STATIC_LINK=1
1616
export INSTALL_TEST=0 # dont install test binaries into site-packages
17+
# Set RPATH instead of RUNPATH when using patchelf to avoid LD_LIBRARY_PATH override
18+
export FORCE_RPATH="--force-rpath"
1719

1820
# Keep an array of cmake variables to add to
1921
if [[ -z "$CMAKE_ARGS" ]]; then

0 commit comments

Comments
 (0)