From: Serge Guelton Date: Thu, 3 Jan 2019 15:44:24 +0000 (+0000) Subject: Python compat - no explicit reference to Python version X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6da47bee848304d215e3ca08b2a4a4dc9c954310;p=llvm Python compat - no explicit reference to Python version 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 --- diff --git a/docs/TestSuiteGuide.md b/docs/TestSuiteGuide.md index fe7a2785c85..0d9bbacb0d9 100644 --- a/docs/TestSuiteGuide.md +++ b/docs/TestSuiteGuide.md @@ -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 diff --git a/tools/opt-viewer/opt-diff.py b/tools/opt-viewer/opt-diff.py index f3bfd1860b9..36e81a5d569 100755 --- a/tools/opt-viewer/opt-diff.py +++ b/tools/opt-viewer/opt-diff.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python from __future__ import print_function diff --git a/tools/opt-viewer/opt-stats.py b/tools/opt-viewer/opt-stats.py index 03de23bdb27..f4ee3a7d44e 100755 --- a/tools/opt-viewer/opt-stats.py +++ b/tools/opt-viewer/opt-stats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python from __future__ import print_function diff --git a/tools/opt-viewer/opt-viewer.py b/tools/opt-viewer/opt-viewer.py index b660fe360f7..f6582506311 100755 --- a/tools/opt-viewer/opt-viewer.py +++ b/tools/opt-viewer/opt-viewer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python from __future__ import print_function diff --git a/tools/opt-viewer/optrecord.py b/tools/opt-viewer/optrecord.py index 8cf22ee3f05..0193d25704c 100644 --- a/tools/opt-viewer/optrecord.py +++ b/tools/opt-viewer/optrecord.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python from __future__ import print_function diff --git a/utils/update_analyze_test_checks.py b/utils/update_analyze_test_checks.py index 0463bc01982..64e64e090af 100755 --- a/utils/update_analyze_test_checks.py +++ b/utils/update_analyze_test_checks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python """A script to generate FileCheck statements for 'opt' analysis tests. diff --git a/utils/update_llc_test_checks.py b/utils/update_llc_test_checks.py index d85fed56c18..960fee232dc 100755 --- a/utils/update_llc_test_checks.py +++ b/utils/update_llc_test_checks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python """A test case update script. diff --git a/utils/update_mca_test_checks.py b/utils/update_mca_test_checks.py index 54d1cb443c3..06fd655ab79 100755 --- a/utils/update_mca_test_checks.py +++ b/utils/update_mca_test_checks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python """A test case update script. diff --git a/utils/update_test_checks.py b/utils/update_test_checks.py index f878d478114..6d0bf0479c0 100755 --- a/utils/update_test_checks.py +++ b/utils/update_test_checks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python """A script to generate FileCheck statements for 'opt' regression tests.