llvm-project/llvm/cmake
Louis Dionne f28e48f3ef [cmake] Don't try creating an executable when detecting the linker
On most platforms, the linker detection command that we run ends up being
something like `clang++ -Wl,-v` or `clang++ -Wl,--version`. This usually
fails with a missing reference to `_main` because we don't have any input
file. However, when compiling for a target that is implicitly freestanding,
the invocation actually succeeds and a dummy `a.out` file is created in
the current working directory. This is extremely annoying because it
creates a `a.out` file at the root of the monorepo when running CMake
configuration from the root.

Differential Revision: https://reviews.llvm.org/D125827
2022-06-08 14:36:54 -04:00
..
modules [cmake] Don't try creating an executable when detecting the linker 2022-06-08 14:36:54 -04:00
platforms [cmake] Use CMAKE_TRY_COMPILE_PLATFORM_VARIABLES 2022-03-08 15:25:03 -08:00
README
config-ix.cmake [config] Remove RETSIGTYPE from config.h.cmake, NFC 2022-06-07 11:35:25 -07:00
config.guess [PowerPC] Add the LLVM triple for powerpcle [1/5] 2021-01-02 12:17:22 -06:00
driver-template.cpp.in LLVM Driver Multicall tool 2022-06-06 04:27:32 +00:00
dummy.cpp
nsis_icon.ico
nsis_logo.bmp
unwind.h [ExecutionEngine] Check for libunwind before calling __register_frame 2021-08-15 13:35:53 +01:00

README

See docs/CMake.html for instructions on how to build LLVM with CMake.