Skip to content

Commit 0e4b7b6

Browse files
committed
[benchmark][cmake] "swift_benchmark_library" => "add_swift_benchmark_library".
This matches the names used in the rest of our cmake. rdar://34556274
1 parent a82945e commit 0e4b7b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function(runcmd)
1919
set(${RUNCMD_VARIABLE} ${${RUNCMD_VARIABLE}} PARENT_SCOPE)
2020
endfunction(runcmd)
2121

22-
function (swift_benchmark_library objfile_out sibfile_out)
22+
function (add_swift_benchmark_library objfile_out sibfile_out)
2323
cmake_parse_arguments(BENCHLIB "" "MODULE_PATH;SOURCE_DIR;OBJECT_DIR" "SOURCES;LIBRARY_FLAGS" ${ARGN})
2424

2525
precondition(BENCHLIB_MODULE_PATH)
@@ -126,7 +126,7 @@ function (swift_benchmark_compile_archopts)
126126

127127
set(objfile_out)
128128
set(sibfile_out)
129-
swift_benchmark_library(objfile_out sibfile_out
129+
add_swift_benchmark_library(objfile_out sibfile_out
130130
MODULE_PATH "${module_name_path}"
131131
SOURCE_DIR "${srcdir}"
132132
OBJECT_DIR "${objdir}"
@@ -143,7 +143,7 @@ function (swift_benchmark_compile_archopts)
143143
foreach(module_name_path ${BENCH_LIBRARY_MODULES})
144144
set(sources "${srcdir}/${module_name_path}.swift")
145145

146-
swift_benchmark_library(objfile_out sibfile_out
146+
add_swift_benchmark_library(objfile_out sibfile_out
147147
MODULE_PATH "${module_name_path}"
148148
SOURCE_DIR "${srcdir}"
149149
OBJECT_DIR "${objdir}"

0 commit comments

Comments
 (0)