[PATCH] D16003: [test-suite] Fix for running tests after cmake transition

Chad Rosier via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 8 13:02:14 PST 2016


mcrosier updated this revision to Diff 44366.
mcrosier added a comment.

Update per Matthias' comments.


http://reviews.llvm.org/D16003

Files:
  MultiSource/Benchmarks/Prolangs-C/archie-client/CMakeLists.txt
  MultiSource/Benchmarks/Prolangs-C/plot2fig/CMakeLists.txt

Index: MultiSource/Benchmarks/Prolangs-C/plot2fig/CMakeLists.txt
===================================================================
--- MultiSource/Benchmarks/Prolangs-C/plot2fig/CMakeLists.txt
+++ MultiSource/Benchmarks/Prolangs-C/plot2fig/CMakeLists.txt
@@ -4,6 +4,8 @@
 set(PARALLEL_DIRS)
 
 set(LEVEL ../../../..)
+include(CheckFunctionExists)
+check_function_exists(re_comp HAVE_RE_COMP)
 if(DEFINED HAVE_RE_COMP)
   set(PROG plot2fig)
 endif()
Index: MultiSource/Benchmarks/Prolangs-C/archie-client/CMakeLists.txt
===================================================================
--- MultiSource/Benchmarks/Prolangs-C/archie-client/CMakeLists.txt
+++ MultiSource/Benchmarks/Prolangs-C/archie-client/CMakeLists.txt
@@ -4,6 +4,8 @@
 set(PARALLEL_DIRS)
 
 set(LEVEL ../../../..)
+include(CheckFunctionExists)
+check_function_exists(re_comp HAVE_RE_COMP)
 if(DEFINED HAVE_RE_COMP)
   set(PROG archie)
 endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16003.44366.patch
Type: text/x-patch
Size: 915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160108/b927279e/attachment.bin>


More information about the llvm-commits mailing list