We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d95fb commit ee85a1cCopy full SHA for ee85a1c
compiler-rt/cmake/Modules/CompilerRTUtils.cmake
@@ -510,6 +510,11 @@ function(get_compiler_rt_target arch variable)
510
endfunction()
511
512
function(get_compiler_rt_install_dir arch install_dir)
513
+ if (NOT LLVM_ENABLE_PER_TARGET_RUNTIME_DIR)
514
+ if (LLVM_TARGET_TRIPLE MATCHES "ohos")
515
+ message(FATAL_ERROR "${LLVM_TARGET_TRIPLE} requires LLVM_ENABLE_PER_TARGET_RUNTIME_DIR")
516
+ endif()
517
518
if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE)
519
get_compiler_rt_target(${arch} target)
520
set(${install_dir} ${COMPILER_RT_INSTALL_LIBRARY_DIR}/${target} PARENT_SCOPE)
0 commit comments