[PATCH] XCore target: add support to build MultiSource/Applications/hexxagon

robert lytton robert at xmos.com
Thu Feb 13 11:14:44 PST 2014


srandom() is not part of the xcore distribution.
Added to the testsuitelib.a

http://llvm-reviews.chandlerc.com/D2774

Files:
  MultiSource/Applications/hexxagon/hexxagonmove.cpp

Index: MultiSource/Applications/hexxagon/hexxagonmove.cpp
===================================================================
--- MultiSource/Applications/hexxagon/hexxagonmove.cpp
+++ MultiSource/Applications/hexxagon/hexxagonmove.cpp
@@ -32,6 +32,10 @@
 #endif
 #include <string.h>
 
+#ifdef __XS1B__
+#include "xcoretestsuite.h"
+#endif
+
 using namespace std;
 
 void HexxagonMoveList::addMove(HexxagonMove &move)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2774.1.patch
Type: text/x-patch
Size: 418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140213/a1ce2628/attachment.bin>


More information about the llvm-commits mailing list