Skip to content

Commit ade21a3

Browse files
committed
Fix build of benchmark suite and Linux test
1 parent f71f620 commit ade21a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ function(swift_benchmark_compile)
697697
cmake_parse_arguments(SWIFT_BENCHMARK_COMPILE "" "PLATFORM" "" ${ARGN})
698698

699699
if(NOT SWIFT_BENCHMARK_BUILT_STANDALONE)
700-
set(stdlib_dependencies "swift")
700+
set(stdlib_dependencies "swift-frontend")
701701
foreach(stdlib_dependency ${UNIVERSAL_LIBRARY_NAMES_${SWIFT_BENCHMARK_COMPILE_PLATFORM}})
702702
string(FIND "${stdlib_dependency}" "Unittest" find_output)
703703
if("${find_output}" STREQUAL "-1")

test/Driver/subcommands.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// RUN: %t.dir/usr/bin/swift -### 2>&1 | %FileCheck -check-prefix=CHECK-SWIFT-INVOKES-REPL %s
99
// RUN: %t.dir/usr/bin/swift repl -### 2>&1 | %FileCheck -check-prefix=CHECK-SWIFT-INVOKES-REPL %s
1010

11-
// CHECK-SWIFT-INVOKES-REPL: {{.*}}/swift -frontend -repl
11+
// CHECK-SWIFT-INVOKES-REPL: {{.*}}/swift{{.*}} -repl
1212

1313

1414
// RUN: %empty-directory(%t.dir)

0 commit comments

Comments
 (0)