aboutsummaryrefslogtreecommitdiff
path: root/External/SPEC/SpecCPU95.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'External/SPEC/SpecCPU95.cmake')
-rw-r--r--External/SPEC/SpecCPU95.cmake9
1 files changed, 8 insertions, 1 deletions
diff --git a/External/SPEC/SpecCPU95.cmake b/External/SPEC/SpecCPU95.cmake
index e9f872ef..36adeed6 100644
--- a/External/SPEC/SpecCPU95.cmake
+++ b/External/SPEC/SpecCPU95.cmake
@@ -18,8 +18,15 @@ if(TEST_SUITE_SPEC95_ROOT)
macro(cint95_subdir BENCHMARK)
set(BENCHMARK_DIR ${TEST_SUITE_SPEC95_ROOT}/benchspec/CINT95/${BENCHMARK})
- set(PROG ${BENCHMARK})
file(GLOB Source ${BENCHMARK_DIR}/src/*.c ${BENCHMARK_DIR}/src/*.cpp)
add_subdirectory(${BENCHMARK})
endmacro()
+
+ function(llvm_test_data_spec target)
+ llvm_test_data(${target} SOURCE_DIR ${BENCHMARK_DIR} ${ARGN})
+ endfunction()
+
+ function(llvm_test_data_spec_default target)
+ llvm_test_data_spec(${target} data)
+ endfunction()
endif()