Skip to content

Commit 4a6154b

Browse files
committed
[build-script] Rename ToolchainBenchmarks -> Benchmarks.
This is a better name for the internal interface. The outside option is still --toolchain-benchmarks to distinguish it from the normal --benchmarks which is part of swift's cmake.
1 parent 6ea773e commit 4a6154b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

utils/build-script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ class BuildScriptInvocation(object):
897897
if self.args.build_sourcekitlsp:
898898
product_classes.append(products.SourceKitLSP)
899899
if self.args.build_toolchainbenchmarks:
900-
product_classes.append(products.ToolchainBenchmarks)
900+
product_classes.append(products.Benchmarks)
901901
return product_classes
902902

903903
def execute(self):

utils/swift_build_support/swift_build_support/products/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# ----------------------------------------------------------------------------
1212

13-
from .benchmarks import ToolchainBenchmarks
13+
from .benchmarks import Benchmarks
1414
from .cmark import CMark
1515
from .foundation import Foundation
1616
from .indexstoredb import IndexStoreDB
@@ -48,5 +48,5 @@
4848
'SwiftEvolve',
4949
'IndexStoreDB',
5050
'SourceKitLSP',
51-
'ToolchainBenchmarks',
51+
'Benchmarks',
5252
]

utils/swift_build_support/swift_build_support/products/benchmarks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

2121
# Build against the current installed toolchain.
22-
class ToolchainBenchmarks(product.Product):
22+
class Benchmarks(product.Product):
2323
@classmethod
2424
def product_source_name(cls):
2525
return "benchmarks"

0 commit comments

Comments
 (0)