Skip to content

Commit 2c7ef03

Browse files
authored
Merge pull request #449 from Xilinx/jrickert.perf_benchmark
Only include perf tests if LLVM_INCLUDE_BENCHMARKS is enabled, as it has dependencies that are only available if this option is set
2 parents f1e99a8 + ded645a commit 2c7ef03

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ add_subdirectory(numerical)
7474
add_subdirectory(backend-cpp)
7575
add_subdirectory(unit)
7676
add_subdirectory(compilerlib)
77-
add_subdirectory(perf)
77+
if(LLVM_INCLUDE_BENCHMARKS)
78+
add_subdirectory(perf)
79+
endif()
7880
add_subdirectory(multiple-models)
7981

0 commit comments

Comments
 (0)