ports/devel/ispc/files/patch-examples_tasksys.cpp
Alexey Dokuchaev 98b1cc5a9d Add a port of Intel's compiler for high-performance SIMD programming.
Because GitHub releases (tarballs) are not fetched with correct modification
time, set TIMESTAMP to 1467976432 which corresponds to commit 87d0c9a tagged
as this release.

PR:		214543
Submitted by:	Yuri Victorovich
2017-01-19 11:37:44 +00:00

11 lines
392 B
C++

--- examples/tasksys.cpp.orig 2016-07-08 11:13:52 UTC
+++ examples/tasksys.cpp
@@ -90,6 +90,8 @@
#define ISPC_USE_CONCRT
#elif defined(__linux__)
#define ISPC_USE_PTHREADS
+ #elif defined(__FreeBSD__)
+ #define ISPC_USE_TBB_TASK_GROUP // ISPC_USE_PTHREADS fails for some reason, need to investigate
#elif defined(__APPLE__)
#define ISPC_USE_GCD
#endif