<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Dataset configure in CMakeLists.txt of MultiSource/Applications/viterbi is not correct when small_problem_size is enable"
href="https://bugs.llvm.org/show_bug.cgi?id=50024">50024</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Dataset configure in CMakeLists.txt of MultiSource/Applications/viterbi is not correct when small_problem_size is enable
</td>
</tr>
<tr>
<th>Product</th>
<td>Test Suite
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Programs Tests
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>zixuan.wu@linux.alibaba.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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})</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>