Paul C. Anagnostopoulos via llvm-dev
2020-Oct-07 20:49 UTC
[llvm-dev] New TableGen backend for debugging
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? 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
Nicolai Hähnle via llvm-dev
2020-Oct-12 16:31 UTC
[llvm-dev] New TableGen backend for debugging
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.
Paul C. Anagnostopoulos via llvm-dev
2020-Oct-12 16:35 UTC
[llvm-dev] New TableGen backend for debugging
Yes, I guess that's what I have to use. I was hoping I could tell Ninja rather than having to edit the CMake file. No biggie. At 10/12/2020 12:31 PM, Nicolai Hähnle wrote:>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