mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[cxx-interop] Re-enable benchmarks
This adds an `import CxxStdlib` statement which fixes compilation. It should be redundant, but it works around a bug that got exposed by an change in explicit modules (rdar://128520766). This will bring back the performance numbers while the underlying issue is being investigated.
This commit is contained in:
@@ -209,11 +209,9 @@ set(SWIFT_BENCH_MODULES
|
|||||||
single-source/WordCount
|
single-source/WordCount
|
||||||
single-source/XorLoop
|
single-source/XorLoop
|
||||||
cxx-source/CreateObjects
|
cxx-source/CreateObjects
|
||||||
# Disabled for rdar://128520766
|
cxx-source/CxxSetToCollection
|
||||||
# cxx-source/CxxSetToCollection
|
|
||||||
cxx-source/CxxStringConversion
|
cxx-source/CxxStringConversion
|
||||||
# Disabled for rdar://128520766
|
cxx-source/CxxVectorSum
|
||||||
# cxx-source/CxxVectorSum
|
|
||||||
# TODO: rdar://92120528
|
# TODO: rdar://92120528
|
||||||
# cxx-source/ReadAccessor
|
# cxx-source/ReadAccessor
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ public let benchmarks = [BenchmarkInfo]()
|
|||||||
|
|
||||||
import CxxStdlibPerformance
|
import CxxStdlibPerformance
|
||||||
import Cxx
|
import Cxx
|
||||||
|
import CxxStdlib // FIXME(rdar://128520766): this import should be redundant
|
||||||
|
|
||||||
public let benchmarks = [
|
public let benchmarks = [
|
||||||
BenchmarkInfo(
|
BenchmarkInfo(
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ public let benchmarks = [BenchmarkInfo]()
|
|||||||
|
|
||||||
import CxxStdlibPerformance
|
import CxxStdlibPerformance
|
||||||
import Cxx
|
import Cxx
|
||||||
|
import CxxStdlib // FIXME(rdar://128520766): this import should be redundant
|
||||||
|
|
||||||
public let benchmarks = [
|
public let benchmarks = [
|
||||||
BenchmarkInfo(
|
BenchmarkInfo(
|
||||||
|
|||||||
Reference in New Issue
Block a user