Skip to content

Commit f6f88f4

Browse files
authored
[LLVM] Silence compiler-rt warning in runtimes build (#99525)
Summary: The `compiler-rt` project wants `LLVM_CMAKE_DIR` but the `llvm_ExternalProject_add` interface sets the `LLVM_CONFIG_PATH`. This patch just makes the utility pass that as well.
1 parent 9527d77 commit f6f88f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/cmake/modules/LLVMExternalProjectUtils.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ function(llvm_ExternalProject_Add name source_dir)
350350
${sysroot_arg}
351351
-DLLVM_BINARY_DIR=${PROJECT_BINARY_DIR}
352352
-DLLVM_CONFIG_PATH=${llvm_config_path}
353+
-DLLVM_CMAKE_DIR=${LLVM_CMAKE_DIR}
353354
-DLLVM_ENABLE_WERROR=${LLVM_ENABLE_WERROR}
354355
-DLLVM_HOST_TRIPLE=${LLVM_HOST_TRIPLE}
355356
-DLLVM_HAVE_LINK_VERSION_SCRIPT=${LLVM_HAVE_LINK_VERSION_SCRIPT}

0 commit comments

Comments
 (0)