[PATCH] D19692: [CMake] NFC. Add support for testing the compiler without testing the linker

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 30 11:47:59 PDT 2016


compnerd added inline comments.

================
Comment at: cmake/Modules/BuiltinTests.cmake:9
@@ +8,3 @@
+  execute_process(
+    COMMAND ${CMAKE_C_COMPILER} ${CMAKE_C_FLAGS} ${ARGN} -c ${SIMPLE_C}
+    RESULT_VARIABLE result
----------------
Is there an assumption that we will only use a GNU style driver?  What is insufficient about `CMAKE_C_COMPILE_OBJECT`?


http://reviews.llvm.org/D19692





More information about the llvm-commits mailing list