[llvm] r313326 - [lit] Remove some code that I forgot to remove.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 17:43:38 PDT 2017


Author: zturner
Date: Thu Sep 14 17:43:38 2017
New Revision: 313326

URL: http://llvm.org/viewvc/llvm-project?rev=313326&view=rev
Log:
[lit] Remove some code that I forgot to remove.

Modified:
    llvm/trunk/utils/lit/lit/llvm/config.py

Modified: llvm/trunk/utils/lit/lit/llvm/config.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/llvm/config.py?rev=313326&r1=313325&r2=313326&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/llvm/config.py (original)
+++ llvm/trunk/utils/lit/lit/llvm/config.py Thu Sep 14 17:43:38 2017
@@ -32,14 +32,6 @@ class LLVMConfig(object):
                                            ['cmp.exe', 'grep.exe', 'sed.exe'])
             self.with_environment('PATH', path, append_path=True)
 
-        if use_lit_shell:
-            # 0 is external, "" is default, and everything else is internal.
-            self.use_lit_shell = (use_lit_shell != "0")
-        else:
-            # Otherwise we default to internal on Windows and external elsewhere, as
-            # bash on Windows is usually very slow.
-            self.use_lit_shell = (sys.platform in ['win32'])
-
         self.use_lit_shell = litsh
         if not self.litsh:
             features.add('shell')




More information about the llvm-commits mailing list