[cxx-interop] Enable benchmarks in SwiftPM mode

The C++ interop benchmarks were only running when building with CMake, not with SwiftPM, because of a bug that was only triggering with SwiftPM. That bug seems to be fixed now.
This commit is contained in:
Egor Zhdan
2024-07-24 13:38:38 +01:00
parent 536a88971f
commit 7bdd9dd84a
2 changed files with 0 additions and 19 deletions

View File

@@ -14,14 +14,6 @@
// to a Swift collection.
import TestsUtils
#if SWIFT_PACKAGE
// FIXME: Needs fix for https://github.com/apple/swift/issues/61547.
public let benchmarks = [BenchmarkInfo]()
#else
import CxxStdlibPerformance
import Cxx
import CxxStdlib // FIXME(rdar://128520766): this import should be redundant
@@ -72,5 +64,3 @@ public func run_CxxSetOfU32_forEach(_ n: Int) {
}
}
}
#endif

View File

@@ -14,14 +14,6 @@
// as compared to the C++ implementation of such sum.
import TestsUtils
#if SWIFT_PACKAGE
// FIXME: Needs fix for https://github.com/apple/swift/issues/61547.
public let benchmarks = [BenchmarkInfo]()
#else
import CxxStdlibPerformance
import Cxx
import CxxStdlib // FIXME(rdar://128520766): this import should be redundant
@@ -127,4 +119,3 @@ public func run_CxxVectorOfU32_Sum_Swift_Reduce(_ n: Int) {
}
blackHole(sum)
}
#endif