[libunwind] 3a6b895 - [libunwind] Fix libunwind library path for runtime test (#110777)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 2 11:53:02 PDT 2024
Author: Haowei
Date: 2024-10-02T14:52:58-04:00
New Revision: 3a6b89540efeb53d3c7e26986a523dc7184aa0f4
URL: https://github.com/llvm/llvm-project/commit/3a6b89540efeb53d3c7e26986a523dc7184aa0f4
DIFF: https://github.com/llvm/llvm-project/commit/3a6b89540efeb53d3c7e26986a523dc7184aa0f4.diff
LOG: [libunwind] Fix libunwind library path for runtime test (#110777)
This patch fixes an issue when test runner cannot find libwind library
when LLVM_ENABLE_PER_TARGET_RUNTIME_DIR is used.
Added:
Modified:
libunwind/test/configs/cmake-bridge.cfg.in
Removed:
################################################################################
diff --git a/libunwind/test/configs/cmake-bridge.cfg.in b/libunwind/test/configs/cmake-bridge.cfg.in
index bd7122bbea32c4..f627f401f9f7b5 100644
--- a/libunwind/test/configs/cmake-bridge.cfg.in
+++ b/libunwind/test/configs/cmake-bridge.cfg.in
@@ -31,4 +31,4 @@ if not @LIBUNWIND_ENABLE_THREADS@:
# Add substitutions for bootstrapping the test suite configuration
config.substitutions.append(('%{install-prefix}', '@LIBUNWIND_TESTING_INSTALL_PREFIX@'))
config.substitutions.append(('%{include}', '@LIBUNWIND_TESTING_INSTALL_PREFIX@/include'))
-config.substitutions.append(('%{lib}', '@LIBUNWIND_TESTING_INSTALL_PREFIX@/lib'))
+config.substitutions.append(('%{lib}', '@LIBUNWIND_TESTING_INSTALL_PREFIX@/@LIBUNWIND_INSTALL_LIBRARY_DIR@'))
More information about the cfe-commits
mailing list