[PATCH] D107898: [CMake] Fix recompile all .inc files with LLVM_OPTIMIZED_TABLEGEN in Visual Studio.

Daniil Fukalov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 13 01:27:54 PDT 2021


dfukalov added a comment.

In D107898#2941701 <https://reviews.llvm.org/D107898#2941701>, @beanz wrote:

> Here's a little terrible blurb of CMake that should actually be a very portable solution to this:
> ...
> If you add this blurb into llvm's `config-ix.cmake`, you can use `LLVM_HOST_EXECUTABLE_SUFFIX` the same way you just updated the patch to use `CMAKE_EXECUTABLE_SUFFIX`, and it should be portable for cross-compilation too.

Thanks for the code, the variables look helpful for future use in cross-compile.
Am I right that two `message()` are just temporary traces and should be removed?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107898/new/

https://reviews.llvm.org/D107898



More information about the llvm-commits mailing list