File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ function(add_libc_multi_impl_benchmark name)
126
126
target_link_libraries (${benchmark_name} PUBLIC json ${entrypoint_object_file} )
127
127
string (TOUPPER ${name} name_upper )
128
128
target_compile_definitions (${benchmark_name} PRIVATE "-DLIBC_BENCHMARK_FUNCTION_${name_upper} =__llvm_libc::${name} " "-DLIBC_BENCHMARK_FUNCTION_NAME=\" ${fq_config_name} \" " )
129
+ llvm_update_compile_flags (${benchmark_name} )
129
130
else ()
130
131
message (STATUS "Skipping benchmark for '${fq_config_name} ' insufficient host cpu features '${required_cpu_features} '" )
131
132
endif ()
@@ -151,7 +152,6 @@ add_executable(libc.benchmarks.memory_functions.opt_host
151
152
LibcMemoryGoogleBenchmarkMain.cpp
152
153
LibcDefaultImplementations.cpp
153
154
)
154
-
155
155
target_link_libraries (libc.benchmarks.memory_functions.opt_host
156
156
PRIVATE
157
157
libc-memory-benchmark
@@ -163,5 +163,6 @@ target_link_libraries(libc.benchmarks.memory_functions.opt_host
163
163
libc.src.string.memmove_opt_host
164
164
benchmark_main
165
165
)
166
+ llvm_update_compile_flags (libc.benchmarks.memory_functions.opt_host )
166
167
167
168
add_subdirectory (automemcpy )
You can’t perform that action at this time.
0 commit comments