llvm: ensure runtimes set rpaths (#39641)
Ensure that CMAKE_INSTALL_RPATH_USE_LINK_PATH is propagated to sub-make when building runtimes.
This commit is contained in:
parent
95f78440f1
commit
0eb22ef770
1 changed files with 8 additions and 1 deletions
|
@ -914,7 +914,14 @@ def cmake_args(self):
|
||||||
|
|
||||||
# Semicolon seperated list of runtimes to enable
|
# Semicolon seperated list of runtimes to enable
|
||||||
if runtimes:
|
if runtimes:
|
||||||
cmake_args.append(define("LLVM_ENABLE_RUNTIMES", runtimes))
|
cmake_args.extend(
|
||||||
|
[
|
||||||
|
define("LLVM_ENABLE_RUNTIMES", runtimes),
|
||||||
|
define(
|
||||||
|
"RUNTIMES_CMAKE_ARGS", [define("CMAKE_INSTALL_RPATH_USE_LINK_PATH", True)]
|
||||||
|
),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
return cmake_args
|
return cmake_args
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue