llvm-project/llvm/cmake
Nikita Popov 686bd6dd2b [MLIR] Fix build with make
https://reviews.llvm.org/D124075 causes MLIR to no longer build
when using make rather than ninja, due to a tablegen-generated
header being used before it is created.

It seems that this is related to the use of LLVM_ENABLE_OBJLIB when
using add_tablgen with a non-Ninja/Xcode generator. In that case an
intermediate objlib target is generated.

This patch fixes the issue by a) declaring dependencies in
add_tablegen for mlir-pdll and b) making sure those dependencies
are added to the objlib target.

Differential Revision: https://reviews.llvm.org/D125010
2022-05-06 14:52:35 +02:00
..
modules [MLIR] Fix build with make 2022-05-06 14:52:35 +02:00
platforms [cmake] Use CMAKE_TRY_COMPILE_PLATFORM_VARIABLES 2022-03-08 15:25:03 -08:00
README
config-ix.cmake [CMake] Check for problematic MSVC + /arch:AVX configuration 2022-04-21 09:46:44 +02:00
config.guess [PowerPC] Add the LLVM triple for powerpcle [1/5] 2021-01-02 12:17:22 -06: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.