Skip to content

Commit 1914225

Browse files
committed
[benchmark] When building the benchmark suite via subcmake specify CLANG_EXEC.
Given that we already know the clang that we want the benchmark suite to use, just specify it explicitly. rdar://40541972
1 parent 24abeca commit 1914225

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/modules/SwiftExternalBenchmarkBuild.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ function (add_external_benchmark_suite)
8484
-DSWIFT_LIBRARY_PATH=${SWIFT_BINARY_DIR}/lib/swift
8585
-DCMAKE_C_COMPILER=${PATH_TO_CLANG_BUILD}/bin/clang
8686
-DCMAKE_CXX_COMPILER=${PATH_TO_CLANG_BUILD}/bin/clang++
87+
-DCLANG_EXEC=${PATH_TO_CLANG_BUILD}/bin/clang
8788
-DSWIFT_BENCHMARK_SUBCMAKE_BUILD=TRUE
8889
PASSTHROUGH_PREFIXES SWIFT_BENCHMARK
8990
)

0 commit comments

Comments
 (0)