Fix build of benchmark suite and Linux test

This commit is contained in:
Doug Gregor
2019-11-01 09:30:15 -07:00
parent f71f6207b5
commit ade21a33fd
2 changed files with 2 additions and 2 deletions

View File

@@ -697,7 +697,7 @@ function(swift_benchmark_compile)
cmake_parse_arguments(SWIFT_BENCHMARK_COMPILE "" "PLATFORM" "" ${ARGN})
if(NOT SWIFT_BENCHMARK_BUILT_STANDALONE)
set(stdlib_dependencies "swift")
set(stdlib_dependencies "swift-frontend")
foreach(stdlib_dependency ${UNIVERSAL_LIBRARY_NAMES_${SWIFT_BENCHMARK_COMPILE_PLATFORM}})
string(FIND "${stdlib_dependency}" "Unittest" find_output)
if("${find_output}" STREQUAL "-1")

View File

@@ -8,7 +8,7 @@
// RUN: %t.dir/usr/bin/swift -### 2>&1 | %FileCheck -check-prefix=CHECK-SWIFT-INVOKES-REPL %s
// RUN: %t.dir/usr/bin/swift repl -### 2>&1 | %FileCheck -check-prefix=CHECK-SWIFT-INVOKES-REPL %s
// CHECK-SWIFT-INVOKES-REPL: {{.*}}/swift -frontend -repl
// CHECK-SWIFT-INVOKES-REPL: {{.*}}/swift{{.*}} -repl
// RUN: %empty-directory(%t.dir)