[libcxx-commits] [PATCH] D81846: [libc++] Allow specifying custom Lit config files

Dominik Montada via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 15 23:58:08 PDT 2020

gargaroff added a comment.

Thanks for this patch. This definitely gets rid of one of the most annoying shortcomings we have at the moment, which is the need to run lit directly when we want to use a custom config.
So with this patch, if I want to use a custom config, I would simply copy-paste all the settings I care about from `lit.site.cfg.in`, add my own configuration logic and I'd be ready to go?

I would be okay with this as this solves my exact use-case, even though in a slightly different manner. I'm not a huge fan of having to copy-paste the config I'm interested in, because then I'd be concerned that the default config might change without me noticing. Would it be possible to load the default config from a custom config or is copy-pasting the stuff we're interested in the recommended way of setting up tests in this case?

By the way, I know this isn't directly related to this patch, but is there a minimum list of required configuration parameters for the new format?

  rG LLVM Github Monorepo



More information about the libcxx-commits mailing list