[PATCH] D51357: Remove LIT_SITE_CFG_IN_FOOTER.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 30 17:28:04 PDT 2018
MaskRay added a comment.
In https://reviews.llvm.org/D51357#1220230, @MatzeB wrote:
> I currently see on my machine:
>
> [0/1] Running the LLVM regression tests
> llvm-lit: /Users/mbraun/dev/public_llvm/utils/lit/lit/TestingConfig.py:102: fatal: unable to parse config file '/Users/mbraun/dev/public_llvm/build/test/lit.site.cfg.py', traceback: Traceback (most recent call last):
> File "/Users/mbraun/dev/public_llvm/utils/lit/lit/TestingConfig.py", line 89, in load_from_path
> exec(compile(data, path, 'exec'), cfg_globals, None)
> File "/Users/mbraun/dev/public_llvm/build/test/lit.site.cfg.py", line 59, in <module>
> lit.llvm.initialize(lit_config, config)
> AttributeError: 'module' object has no attribute 'llvm'
>
> FAILED: test/CMakeFiles/check-llvm
> cd /Users/mbraun/dev/public_llvm/build/test && /usr/bin/python2.7 /Users/mbraun/dev/public_llvm/build/./bin/llvm-lit -sv /Users/mbraun/dev/public_llvm/build/test
> ninja: build stopped: subcommand failed.
>
- import lit
+ import lit.llvm
I have fixed this
https://reviews.llvm.org/D51357
More information about the llvm-commits
mailing list