File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -138,9 +138,6 @@ install(TARGETS gemma DESTINATION bin)
138
138
add_executable (single_benchmark evals/benchmark.cc )
139
139
target_link_libraries (single_benchmark libgemma hwy hwy_contrib nlohmann_json::nlohmann_json )
140
140
141
- add_executable (gemma_batch_bench evals/gemma_batch_bench.cc )
142
- target_link_libraries (gemma_batch_bench libgemma hwy hwy_contrib nlohmann_json::nlohmann_json )
143
-
144
141
add_executable (benchmarks evals/benchmarks.cc )
145
142
target_link_libraries (benchmarks libgemma hwy hwy_contrib nlohmann_json::nlohmann_json benchmark )
146
143
@@ -186,10 +183,14 @@ foreach (TESTFILE IN LISTS GEMMA_TEST_FILES)
186
183
# that include us may set them.
187
184
target_compile_options (${TESTNAME} PRIVATE -DHWY_IS_TEST=1 )
188
185
189
- target_link_libraries (${TESTNAME} PRIVATE libgemma GTest::gtest_main hwy hwy_contrib hwy_test )
186
+ target_link_libraries (${TESTNAME} PRIVATE libgemma GTest::Main hwy hwy_contrib hwy_test )
190
187
191
188
gtest_discover_tests (${TESTNAME} )
192
189
endforeach ()
190
+
191
+ add_executable (gemma_batch_bench evals/gemma_batch_bench.cc )
192
+ target_link_libraries (gemma_batch_bench libgemma GTest::Main hwy hwy_contrib nlohmann_json::nlohmann_json )
193
+
193
194
endif () # GEMMA_ENABLE_TESTS
194
195
195
196
## Tools
You can’t perform that action at this time.
0 commit comments