[PATCH] D56252: python compat - no explicit reference to python version

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 3 07:48:08 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL350327: Python compat - no explicit reference to Python version (authored by serge_sans_paille, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D56252?vs=180015&id=180079#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56252/new/

https://reviews.llvm.org/D56252

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


Index: llvm/trunk/tools/opt-viewer/opt-diff.py
===================================================================
--- llvm/trunk/tools/opt-viewer/opt-diff.py
+++ llvm/trunk/tools/opt-viewer/opt-diff.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 from __future__ import print_function
 
Index: llvm/trunk/tools/opt-viewer/optrecord.py
===================================================================
--- llvm/trunk/tools/opt-viewer/optrecord.py
+++ llvm/trunk/tools/opt-viewer/optrecord.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 from __future__ import print_function
 
Index: llvm/trunk/tools/opt-viewer/opt-viewer.py
===================================================================
--- llvm/trunk/tools/opt-viewer/opt-viewer.py
+++ llvm/trunk/tools/opt-viewer/opt-viewer.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 from __future__ import print_function
 
Index: llvm/trunk/tools/opt-viewer/opt-stats.py
===================================================================
--- llvm/trunk/tools/opt-viewer/opt-stats.py
+++ llvm/trunk/tools/opt-viewer/opt-stats.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 from __future__ import print_function
 
Index: llvm/trunk/utils/update_analyze_test_checks.py
===================================================================
--- llvm/trunk/utils/update_analyze_test_checks.py
+++ llvm/trunk/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.
 
Index: llvm/trunk/utils/update_test_checks.py
===================================================================
--- llvm/trunk/utils/update_test_checks.py
+++ llvm/trunk/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.
 
Index: llvm/trunk/utils/update_llc_test_checks.py
===================================================================
--- llvm/trunk/utils/update_llc_test_checks.py
+++ llvm/trunk/utils/update_llc_test_checks.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 """A test case update script.
 
Index: llvm/trunk/utils/update_mca_test_checks.py
===================================================================
--- llvm/trunk/utils/update_mca_test_checks.py
+++ llvm/trunk/utils/update_mca_test_checks.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 
 """A test case update script.
 
Index: llvm/trunk/docs/TestSuiteGuide.md
===================================================================
--- llvm/trunk/docs/TestSuiteGuide.md
+++ llvm/trunk/docs/TestSuiteGuide.md
@@ -17,7 +17,7 @@
 
    ```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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56252.180079.patch
Type: text/x-patch
Size: 3001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190103/6b4cf9bc/attachment.bin>


More information about the llvm-commits mailing list