[PATCH] XCore target: add support to build MultiSource/Benchmarks/Prolangs-C++/ocean
robert lytton
robert at xmos.com
Thu Feb 13 11:30:13 PST 2014
random() is not part of the xcore distribution.
Added via the xcoretestsuite.h and testsuitelib.a
http://llvm-reviews.chandlerc.com/D2777
Files:
MultiSource/Benchmarks/Prolangs-C++/ocean/ocean.cpp
Index: MultiSource/Benchmarks/Prolangs-C++/ocean/ocean.cpp
===================================================================
--- MultiSource/Benchmarks/Prolangs-C++/ocean/ocean.cpp
+++ MultiSource/Benchmarks/Prolangs-C++/ocean/ocean.cpp
@@ -9,6 +9,10 @@
#include <cstdlib>
+#if defined(__XS1B__)
+#include "xcoretestsuite.h"
+#endif
+
//cell.cc
Cell *Cell::getCellAt(Coordinate aCoord) {
return cells[aCoord.getY()][aCoord.getX()];
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2777.1.patch
Type: text/x-patch
Size: 444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140213/f596cafe/attachment.bin>
More information about the llvm-commits
mailing list