[PATCH] D106844: [test-suite] Fix CMakeLists.txt of MultiSource/Applications/viterbi to enable small data file
Zixuan Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 26 19:12:03 PDT 2021
zixuan-wu created this revision.
zixuan-wu added reviewers: void, MatzeB.
Herald added a subscriber: mgorny.
zixuan-wu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When SMALL_PROBLEM_SIZE macro is enable, the input data set is required to be small.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D106844
Files:
MultiSource/Applications/viterbi/CMakeLists.txt
Index: MultiSource/Applications/viterbi/CMakeLists.txt
===================================================================
--- MultiSource/Applications/viterbi/CMakeLists.txt
+++ 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})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106844.361884.patch
Type: text/x-patch
Size: 512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210727/2797574b/attachment.bin>
More information about the llvm-commits
mailing list