[PATCH] D122578: [cmake] fill `cmake_args` when crosscompiling external project with non-clang compiler
Saleem Abdulrasool via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 2 14:03:35 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4e1b89064f62: cmake fill `cmake_args` when cross-compiling external project with non-clang… (authored by lxbndr, committed by compnerd).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122578/new/
https://reviews.llvm.org/D122578
Files:
llvm/cmake/modules/LLVMExternalProjectUtils.cmake
Index: llvm/cmake/modules/LLVMExternalProjectUtils.cmake
===================================================================
--- llvm/cmake/modules/LLVMExternalProjectUtils.cmake
+++ llvm/cmake/modules/LLVMExternalProjectUtils.cmake
@@ -278,6 +278,8 @@
foreach(type ${flag_types})
list(APPEND cmake_args ${${type}_flag})
endforeach()
+ else()
+ set(cmake_args ${ARG_CMAKE_ARGS})
endif()
else()
set(llvm_config_path "$<TARGET_FILE:llvm-config>")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122578.433882.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220602/4725fae0/attachment.bin>
More information about the llvm-commits
mailing list