[PATCH] D46857: [CMake] Detect the compiler runtime and standard library

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 17 14:30:12 PDT 2018


phosek marked an inline comment as done.
phosek added inline comments.


================
Comment at: compiler-rt/cmake/config-ix.cmake:129
 # abilities.
-set(SIMPLE_SOURCE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/simple.cc)
+set(SIMPLE_SOURCE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/simple.c)
 file(WRITE ${SIMPLE_SOURCE} "#include <stdlib.h>\n#include <stdio.h>\nint main() { printf(\"hello, world\"); }\n")
----------------
beanz wrote:
> This is also just a generally good fix. Can you also commit this separately?
https://reviews.llvm.org/D47031


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D46857





More information about the llvm-commits mailing list