From 271a19fe49861737e04d293eb3f1b923c0ce0104 Mon Sep 17 00:00:00 2001 From: Chen Xin Date: Tue, 15 Aug 2023 15:04:23 +0800 Subject: [PATCH] Fix wrong RPATH using the absolute path instead of relative one (#239) --- lmdeploy/version.py | 2 +- src/turbomind/python/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lmdeploy/version.py b/lmdeploy/version.py index 385a068c7..dfeb59678 100644 --- a/lmdeploy/version.py +++ b/lmdeploy/version.py @@ -1,7 +1,7 @@ # Copyright (c) OpenMMLab. All rights reserved. from typing import Tuple -__version__ = '0.0.4' +__version__ = '0.0.5' short_version = __version__ diff --git a/src/turbomind/python/CMakeLists.txt b/src/turbomind/python/CMakeLists.txt index 945d4f369..9e007e95f 100644 --- a/src/turbomind/python/CMakeLists.txt +++ b/src/turbomind/python/CMakeLists.txt @@ -19,4 +19,4 @@ target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_14) set_target_properties(${PROJECT_NAME} PROPERTIES BUILD_RPATH "\$ORIGIN" - INSTALL_RPATH "\$ORIGIN;../../nvidia/nccl/lib/") + INSTALL_RPATH "\$ORIGIN;\$ORIGIN/../../nvidia/nccl/lib/")