How to run lit tests on Mac OSX without gcc?

David Nadlinger via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Aug 30 07:37:25 PDT 2017


On 30 Aug 2017, at 9:43, Thomas Mader via digitalmars-d-ldc wrote:
> The thing is that "getenv(envVar)" returns "(null)" even though CC is 
> set to "clang" before "./runlit.py -v ." is called.
> Very strange.

Oh, so it looks like perhaps lit just doesn't forward `CC` by default at 
all. Could you try explicitly adding `config.environment['CC'] = …` to 
lit.site.cfg.in?

  — David


More information about the digitalmars-d-ldc mailing list