diff --git a/utils/lit/lit.py b/utils/lit/lit.py index 2c5ecfe1d40..22a8e7b016a 100755 --- a/utils/lit/lit.py +++ b/utils/lit/lit.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +import sys + +sys.dont_write_bytecode = True from lit.main import main diff --git a/utils/llvm-lit/llvm-lit.in b/utils/llvm-lit/llvm-lit.in index a12056dcc55..22e4f6f57fc 100755 --- a/utils/llvm-lit/llvm-lit.in +++ b/utils/llvm-lit/llvm-lit.in @@ -3,6 +3,8 @@ import os import sys +sys.dont_write_bytecode = True + config_map = {} def map_config(source_dir, site_config):