https://bugs.llvm.org/show_bug.cgi?id=50024
Bug ID: 50024
Summary: Dataset configure in CMakeLists.txt of
MultiSource/Applications/viterbi is not correct when
small_problem_size is enable
Product: Test Suite
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Programs Tests
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
When SMALL_PROBLEM_SIZE is enable, the dataset should be small one. Following
diff is needed.
diff --git a/MultiSource/Applications/viterbi/CMakeLists.txt
b/MultiSource/Applications/viterbi/CMakeLists.txt
index 7c5adf3..dd71ba4 100644
--- a/MultiSource/Applications/viterbi/CMakeLists.txt
+++ b/MultiSource/Applications/viterbi/CMakeLists.txt
@@ -1,3 +1,8 @@
list(APPEND CPPFLAGS -I${CMAKE_CURRENT_SOURCE_DIR} -DPROJ_SRC_DIR=".")
+if(SMALL_PROBLEM_SIZE)
+ set(INPUTS Dist_demux_small)
+else()
+ set(INPUTS Dist_demux)
+endif()
llvm_multisource(viterbi)
-llvm_test_data(viterbi Dist_demux)
+llvm_test_data(viterbi ${INPUTS})
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs