[PATCH] D56252: python compat - no explicit reference to python version
serge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 3 03:21:44 PST 2019
serge-sans-paille created this revision.
serge-sans-paille added a reviewer: michaelplatings.
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D56252
Files:
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: utils/update_test_checks.py
===================================================================
--- utils/update_test_checks.py
+++ 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: utils/update_mca_test_checks.py
===================================================================
--- utils/update_mca_test_checks.py
+++ 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: utils/update_llc_test_checks.py
===================================================================
--- utils/update_llc_test_checks.py
+++ 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: utils/update_analyze_test_checks.py
===================================================================
--- utils/update_analyze_test_checks.py
+++ 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: tools/opt-viewer/optrecord.py
===================================================================
--- tools/opt-viewer/optrecord.py
+++ tools/opt-viewer/optrecord.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
from __future__ import print_function
Index: tools/opt-viewer/opt-viewer.py
===================================================================
--- tools/opt-viewer/opt-viewer.py
+++ 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: tools/opt-viewer/opt-stats.py
===================================================================
--- tools/opt-viewer/opt-stats.py
+++ 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: tools/opt-viewer/opt-diff.py
===================================================================
--- tools/opt-viewer/opt-diff.py
+++ 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: docs/TestSuiteGuide.md
===================================================================
--- docs/TestSuiteGuide.md
+++ 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.180015.patch
Type: text/x-patch
Size: 2704 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190103/ee16ec83/attachment.bin>
More information about the llvm-commits
mailing list