[llvm-dev] New TableGen backend for debugging

Nicolai Hähnle via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 12 09:31:21 PDT 2020


On Wed, Oct 7, 2020 at 10:53 PM Paul C. Anagnostopoulos
<paul at windfall.com> wrote:
> I certainly agree that there are a boatload of CMake options. I haven't even scratched the surface.
>
> In keeping with your suggestion: Is there a way to tell Ninja to build just one target machine?

There's a cmake variable LLVM_TARGETS_TO_BUILD, is that what you mean?

Cheers,
Nicolai

>
>
> At 10/7/2020 02:58 PM, Nicolai Hähnle wrote:
> >Hi Paul,
> >
> >On Wed, Oct 7, 2020 at 3:33 PM Paul C. Anagnostopoulos via llvm-dev
> ><llvm-dev at lists.llvm.org> wrote:
> >> I'm glad you find it useful. I haven't thought about it being done as part of the build, nor am I any sort of build guru. What do other people think?
> >
> >I think this overloads the build system. Our build configuration is
> >already full of really badly documented options (kind of general
> >disease of large CMake-using projects), and it removes the developer
> >from what's really going on. I think it would be better to
> >
> >- Teach people how to invoke TableGen manually
> >- Teach people how to determine by themselves how TableGen is invoked
> >during the build
> >
> >Teach a person to fish, and all that.
> >
> >Cheers,
> >Nicolai
>


-- 
Lerne, wie die Welt wirklich ist,
aber vergiss niemals, wie sie sein sollte.


More information about the llvm-dev mailing list