]> granicus.if.org Git - llvm/commitdiff
Python compat - no explicit reference to Python version
authorSerge Guelton <sguelton@quarkslab.com>
Thu, 3 Jan 2019 15:44:24 +0000 (15:44 +0000)
committerSerge Guelton <sguelton@quarkslab.com>
Thu, 3 Jan 2019 15:44:24 +0000 (15:44 +0000)
Update documentation and shebang.

Differential Revision: https://reviews.llvm.org/D56252

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

docs/TestSuiteGuide.md
tools/opt-viewer/opt-diff.py
tools/opt-viewer/opt-stats.py
tools/opt-viewer/opt-viewer.py
tools/opt-viewer/optrecord.py
utils/update_analyze_test_checks.py
utils/update_llc_test_checks.py
utils/update_mca_test_checks.py
utils/update_test_checks.py

index fe7a2785c857016fcdde74571d188fcf9d07a793..0d9bbacb0d9171d96f1703ad1d47a20faa1b30b7 100644 (file)
@@ -17,7 +17,7 @@ Quickstart
 
    ```bash
    % mkdir venv
-   % virtualenv -p python2.7 venv
+   % virtualenv venv
    % . venv/bin/activate
    % pip install svn+http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit
    % lit --version
index f3bfd1860b911d8beb11be885073d5184dabbc8d..36e81a5d569a746567776da4f1aa57cbd5fc8570 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 from __future__ import print_function
 
index 03de23bdb2757c9a256cd87df125c1bd59fce261..f4ee3a7d44e63958dffc6ed7add97e5797a66f7c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 from __future__ import print_function
 
index b660fe360f7de228a739f3d036d2ed8d5fdb5863..f6582506311cca9fdf4695fceab364ea9921497c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 from __future__ import print_function
 
index 8cf22ee3f05c38163e597e6fa091dc4a484fb27b..0193d25704c528eecc120a06d3ee16786b96350e 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 from __future__ import print_function
 
index 0463bc01982d5dfedb25e6e61cabb0baeb138a11..64e64e090afa617b7c43e8b48438f37d5dbdef71 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 """A script to generate FileCheck statements for 'opt' analysis tests.
 
index d85fed56c18c41b4ce695a65aa2495041d2a3257..960fee232dc8eff9500e9db900f2b17cf8c8899a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 """A test case update script.
 
index 54d1cb443c359986add2246e871d6231bc849457..06fd655ab795e9d31e650fd16701c3789bf3ecbc 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 """A test case update script.
 
index f878d47811499ef260aa20a94c1b0588b049a10e..6d0bf0479c05c19c6417b123730d76aa15449b3e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 """A script to generate FileCheck statements for 'opt' regression tests.