mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Fix llvm-lit.in corresponding to r283710.
Traceback (most recent call last): File "bin/llvm-lit", line 44, in <module> lit.main(builtin_parameters) AttributeError: 'module' object has no attribute 'main' Suggested by Artem Belevich. llvm-svn: 283816
This commit is contained in:
parent
861bb221e9
commit
f7d2c2c56c
@ -40,5 +40,5 @@ if os.path.exists(compilerrt_obj_root):
|
|||||||
os.path.join(compilerrt_obj_root, 'test')
|
os.path.join(compilerrt_obj_root, 'test')
|
||||||
|
|
||||||
if __name__=='__main__':
|
if __name__=='__main__':
|
||||||
import lit
|
from lit.main import main
|
||||||
lit.main(builtin_parameters)
|
main(builtin_parameters)
|
||||||
|
Loading…
Reference in New Issue
Block a user