Beginners might not aware of this variable and wanted to try a new experimental target.
Although this variable mention in Writing a Backend Documentation. But it becomes easy to search when listed in cmake.rst doc where most variables are listed.
Differential D100729
[Docs] Mention LLVM_EXPERIMENTAL_TARGETS_TO_BUILD variable in CMake.rst xgupta on Apr 18 2021, 10:58 AM. Authored by
Details Beginners might not aware of this variable and wanted to try a new experimental target. Although this variable mention in Writing a Backend Documentation. But it becomes easy to search when listed in cmake.rst doc where most variables are listed.
Diff Detail
Event TimelineComment Actions Actually, I don't know/find a way to list all experimental targets, @myhsu might aware of such an option as he is actively working on experimental target M68k. Comment Actions IIRC LLVM doesn't have a list of experimental targets in any of the CMake files (LLVM only has a list of targets built by default). The only way to find out is subtracting all folder names under llvm/lib/Target by the value of LLVM_ALL_TARGETS cmake variable inside llvm/CMakeLists.txt Comment Actions Yeah, I also think this is the only way to know experimental targets. Please accept the revision if it looks good.
|
I don't think we should mention LLVM_ALL_TARGETS here since it's an internal variable.