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.
2 parents 51751bf + 9848c03 commit bc5bed6Copy full SHA for bc5bed6
llvm/runtimes/CMakeLists.txt
@@ -34,6 +34,13 @@ function(get_compiler_rt_path path)
34
return()
35
endif()
36
endforeach()
37
+
38
+ # If LLVM_BUILTIN_TARGETS is specified, we still need
39
+ # to locate the compiler-rt runtime to be able to build builtins.
40
+ # This supports bootstrapping builtins without compiler-rt.
41
+ if (LLVM_BUILTIN_TARGETS)
42
+ set(${path} "${CMAKE_CURRENT_SOURCE_DIR}/../../compiler-rt" PARENT_SCOPE)
43
+ endif()
44
endfunction()
45
46
include(LLVMExternalProjectUtils)
0 commit comments