[llvm] r313698 - Make lit stop writing pyc files.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 16:50:28 PDT 2017


Author: zturner
Date: Tue Sep 19 16:50:28 2017
New Revision: 313698

URL: http://llvm.org/viewvc/llvm-project?rev=313698&view=rev
Log:
Make lit stop writing pyc files.

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.

Modified:
    llvm/trunk/utils/lit/lit.py
    llvm/trunk/utils/llvm-lit/llvm-lit.in

Modified: llvm/trunk/utils/lit/lit.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit.py?rev=313698&r1=313697&r2=313698&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit.py (original)
+++ llvm/trunk/utils/lit/lit.py Tue Sep 19 16:50:28 2017
@@ -1,4 +1,7 @@
 #!/usr/bin/env python
+import sys
+
+sys.dont_write_bytecode = True
 
 from lit.main import main
 

Modified: llvm/trunk/utils/llvm-lit/llvm-lit.in
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/llvm-lit/llvm-lit.in?rev=313698&r1=313697&r2=313698&view=diff
==============================================================================
--- llvm/trunk/utils/llvm-lit/llvm-lit.in (original)
+++ llvm/trunk/utils/llvm-lit/llvm-lit.in Tue Sep 19 16:50:28 2017
@@ -3,6 +3,8 @@
 import os
 import sys
 
+sys.dont_write_bytecode = True
+
 config_map = {}
 
 def map_config(source_dir, site_config):




More information about the llvm-commits mailing list