Skip to content

Commit 1f395bb

Browse files
authored
Merge pull request #60452 from apple/5_7-python3-build-script-impl
[5.7] Use Python 3
2 parents f67cc94 + 66bf05b commit 1f395bb

File tree

172 files changed

+105
-348
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+105
-348
lines changed

benchmark/scripts/Benchmark_DTrace.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# ===--- Benchmark_DTrace.in ---------------------------------------------===//
44
#

benchmark/scripts/Benchmark_Driver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
33

44
# ===--- Benchmark_Driver ------------------------------------------------===//

benchmark/scripts/Benchmark_GuardMalloc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# ===--- Benchmark_GuardMalloc.in ----------------------------------------===//
44
#

benchmark/scripts/Benchmark_QuickCheck.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# ===--- Benchmark_QuickCheck.in -----------------------------------------===//
44
#

benchmark/scripts/Benchmark_RuntimeLeaksRunner.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# ===--- Benchmark_RuntimeLeaksRunner.in ---------------------------------===//
44
#

benchmark/scripts/build_linux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
import argparse
44
import os

benchmark/scripts/build_script_helper.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/usr/bin/env python
2-
3-
from __future__ import print_function
1+
#!/usr/bin/env python3
42

53
import argparse
64
import os

benchmark/scripts/compare_perf_tests.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
33

44
# ===--- compare_perf_tests.py -------------------------------------------===//
@@ -27,8 +27,6 @@ class `ReportFormatter` creates the test comparison report in specified format.
2727
2828
"""
2929

30-
from __future__ import print_function
31-
3230
import argparse
3331
import functools
3432
import re

benchmark/scripts/create_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
import argparse
44
import os

benchmark/scripts/generate_harness/generate_harness.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# ===--- generate_harness.py ---------------------------------------------===//
44
#
@@ -14,8 +14,6 @@
1414

1515
# Generate boilerplate, CMakeLists.txt and utils/main.swift from templates.
1616

17-
from __future__ import print_function
18-
1917
import argparse
2018
import os
2119
import subprocess

0 commit comments

Comments
 (0)