OSDN Git Service

Make lit stop writing pyc files.
authorZachary Turner <zturner@google.com>
Tue, 19 Sep 2017 23:50:28 +0000 (23:50 +0000)
committerZachary Turner <zturner@google.com>
Tue, 19 Sep 2017 23:50:28 +0000 (23:50 +0000)
Many svn-based buildbots seem to be getting stuck continually
in tree conflicts due to the output of pyc files.  I'm disabling
these as a temporary measure in an attempt to get everything
stable again.

I'll try to remove this code once I understand the problem
better.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313698 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit.py
utils/llvm-lit/llvm-lit.in

index 2c5ecfe..22a8e7b 100755 (executable)
@@ -1,4 +1,7 @@
 #!/usr/bin/env python
+import sys
+
+sys.dont_write_bytecode = True
 
 from lit.main import main
 
index a12056d..22e4f6f 100755 (executable)
@@ -3,6 +3,8 @@
 import os
 import sys
 
+sys.dont_write_bytecode = True
+
 config_map = {}
 
 def map_config(source_dir, site_config):