mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[cxx-interop] Add initial benchmark to compare vector<uint32_t> sum in C++ vs Swift
This commit is contained in:
@@ -484,6 +484,8 @@ function (swift_benchmark_compile_archopts)
|
||||
set(cxx_options "")
|
||||
if ("${module_name_path}" MATCHES ".*cxx-source/.*")
|
||||
list(APPEND cxx_options "-Xfrontend" "-enable-experimental-cxx-interop" "-I" "${srcdir}/utils/CxxTests/")
|
||||
# FIXME: https://github.com/apple/swift/issues/61453
|
||||
list(APPEND cxx_options "-Xfrontend" "-validate-tbd-against-ir=none")
|
||||
endif()
|
||||
|
||||
if ("${bench_flags}" MATCHES "-whole-module.*")
|
||||
|
||||
Reference in New Issue
Block a user