mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
devel/ispc: Update 1.12.0-116 -> 1.12.0-118
The upstream adopted the "Add FreeBSD support" pull request from greg@unrelenting.technology. Thanks a lot to Greg for his help! Testing: The "Mandelbrot" testcase works with the 'sse4' target.
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@
|
||||
|
||||
PORTNAME= ispc
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.12.0-116
|
||||
DISTVERSIONSUFFIX= -g98cd1326
|
||||
DISTVERSION= 1.12.0-118
|
||||
DISTVERSIONSUFFIX= -gf2948221
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
||||
+3
-3
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1580092092
|
||||
SHA256 (ispc-ispc-v1.12.0-116-g98cd1326_GH0.tar.gz) = 4fda17a161cac14e32667a1f5f6e1a10f504dbe6fa6e06872794d9df6996a649
|
||||
SIZE (ispc-ispc-v1.12.0-116-g98cd1326_GH0.tar.gz) = 19158442
|
||||
TIMESTAMP = 1580348425
|
||||
SHA256 (ispc-ispc-v1.12.0-118-gf2948221_GH0.tar.gz) = 304bc73f883c9839b17e101027bcfcef74ead37e5ab716caba55f0268ede7292
|
||||
SIZE (ispc-ispc-v1.12.0-118-gf2948221_GH0.tar.gz) = 19158387
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
--- examples/tasksys.cpp.orig 2019-04-20 16:09:47 UTC
|
||||
+++ examples/tasksys.cpp
|
||||
@@ -88,6 +88,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
|
||||
@@ -101,6 +103,8 @@
|
||||
#define ISPC_IS_WINDOWS
|
||||
#elif defined(__linux__)
|
||||
#define ISPC_IS_LINUX
|
||||
+#elif defined(__FreeBSD__)
|
||||
+#define ISPC_IS_FREEBSD
|
||||
#elif defined(__APPLE__)
|
||||
#define ISPC_IS_APPLE
|
||||
#endif
|
||||
@@ -1,11 +0,0 @@
|
||||
--- src/ispc.h.orig 2020-01-25 02:15:35 UTC
|
||||
+++ src/ispc.h
|
||||
@@ -49,6 +49,8 @@
|
||||
#define ISPC_HOST_IS_WINDOWS
|
||||
#elif defined(__linux__)
|
||||
#define ISPC_HOST_IS_LINUX
|
||||
+#elif defined(__FreeBSD__)
|
||||
+#define ISPC_HOST_FREEBSD
|
||||
#elif defined(__APPLE__)
|
||||
#define ISPC_HOST_IS_APPLE
|
||||
#endif
|
||||
@@ -1,11 +0,0 @@
|
||||
--- src/util.cpp.orig 2020-01-25 02:15:35 UTC
|
||||
+++ src/util.cpp
|
||||
@@ -41,6 +41,8 @@
|
||||
#ifdef ISPC_HOST_IS_LINUX
|
||||
#include <alloca.h>
|
||||
#include <unistd.h>
|
||||
+#elif defined(ISPC_HOST_IS_FREEBSD)
|
||||
+#include <unistd.h>
|
||||
#elif defined(ISPC_HOST_IS_WINDOWS)
|
||||
#include <malloc.h>
|
||||
#include <shlwapi.h>
|
||||
Reference in New Issue
Block a user