OSDN Git Service

[lit] Remove some code that I forgot to remove.
authorZachary Turner <zturner@google.com>
Fri, 15 Sep 2017 00:43:38 +0000 (00:43 +0000)
committerZachary Turner <zturner@google.com>
Fri, 15 Sep 2017 00:43:38 +0000 (00:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313326 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/llvm/config.py

index edceba6..63f85ed 100644 (file)
@@ -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')