How to run lit tests on Mac OSX without gcc?
Thomas Mader via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Wed Aug 30 11:29:51 PDT 2017
On Wednesday, 30 August 2017 at 14:37:25 UTC, David Nadlinger
wrote:
> 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
"config.environmen['CC'] = 'clang'" added to
"tests/lit.site.cfg.in" gets it going. :-)
More information about the digitalmars-d-ldc
mailing list