summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/intel-compute-runtime/Makefile2
-rw-r--r--lang/intel-compute-runtime/distinfo6
-rw-r--r--lang/intel-compute-runtime/files/patch-includes20
-rw-r--r--lang/intel-compute-runtime/files/patch-userptr4
4 files changed, 25 insertions, 7 deletions
diff --git a/lang/intel-compute-runtime/Makefile b/lang/intel-compute-runtime/Makefile
index e1524293eaef..b2963bbd87dd 100644
--- a/lang/intel-compute-runtime/Makefile
+++ b/lang/intel-compute-runtime/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= compute-runtime
-DISTVERSION= 20.06.15619
+DISTVERSION= 20.07.15711
CATEGORIES= lang
PKGNAMEPREFIX= intel-
diff --git a/lang/intel-compute-runtime/distinfo b/lang/intel-compute-runtime/distinfo
index cff9f2c6c13a..90795721c44a 100644
--- a/lang/intel-compute-runtime/distinfo
+++ b/lang/intel-compute-runtime/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1581073900
-SHA256 (intel-compute-runtime-20.06.15619_GH0.tar.gz) = 6fdd5171204796eca7bd626e7108cd7b80f7e00c99426876d93d1154b97d933b
-SIZE (intel-compute-runtime-20.06.15619_GH0.tar.gz) = 2726254
+TIMESTAMP = 1581677898
+SHA256 (intel-compute-runtime-20.07.15711_GH0.tar.gz) = d4539d19703394b5208cefeaea3b874586fa465d85affb099d10bfe80b08a58a
+SIZE (intel-compute-runtime-20.07.15711_GH0.tar.gz) = 2757921
diff --git a/lang/intel-compute-runtime/files/patch-includes b/lang/intel-compute-runtime/files/patch-includes
index da46c97d99cd..eeb1a6217c38 100644
--- a/lang/intel-compute-runtime/files/patch-includes
+++ b/lang/intel-compute-runtime/files/patch-includes
@@ -1,4 +1,8 @@
-Add missing includes in various places.
+Adjust includes in various places.
+
+core/os_interface/linux/drm_neo.cpp:21:10: fatal error: 'linux/limits.h' file not found
+#include <linux/limits.h>
+ ^~~~~~~~~~~~~~~~
runtime/tbx/tbx_sockets_imp.cpp:74:51: error: use of undeclared identifier 'IPPROTO_TCP'
m_socket = ::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
@@ -11,6 +15,20 @@ runtime/tbx/tbx_sockets_imp.cpp:107:9: error: unknown type name 'sockaddr_in'; d
struct sockaddr {
^
+--- core/os_interface/linux/drm_neo.cpp.orig 2020-02-14 10:58:18 UTC
++++ core/os_interface/linux/drm_neo.cpp
+@@ -15,10 +15,10 @@
+ #include "core/os_interface/linux/sys_calls.h"
+ #include "core/utilities/directory.h"
+
++#include <climits>
+ #include <cstdio>
+ #include <cstring>
+ #include <fstream>
+-#include <linux/limits.h>
+
+ namespace NEO {
+
--- runtime/tbx/tbx_sockets_imp.cpp.orig 2019-11-22 15:41:47 UTC
+++ runtime/tbx/tbx_sockets_imp.cpp
@@ -18,6 +18,7 @@ typedef int socklen_t;
diff --git a/lang/intel-compute-runtime/files/patch-userptr b/lang/intel-compute-runtime/files/patch-userptr
index 2f3bbadbaeb2..b328b58f7dc1 100644
--- a/lang/intel-compute-runtime/files/patch-userptr
+++ b/lang/intel-compute-runtime/files/patch-userptr
@@ -38,8 +38,8 @@ frame #5: 0x000000080104b4e5 libigdrcl.so`NEO::DrmMemoryManager::DrmMemoryManage
60 }
61 }
---- runtime/os_interface/linux/drm_memory_manager.cpp.orig 2020-01-15 11:27:15 UTC
-+++ runtime/os_interface/linux/drm_memory_manager.cpp
+--- core/os_interface/linux/drm_memory_manager.cpp.orig 2020-02-14 10:58:18 UTC
++++ core/os_interface/linux/drm_memory_manager.cpp
@@ -141,7 +141,17 @@ NEO::BufferObject *DrmMemoryManager::allocUserptr(uint
userptr.flags = static_cast<uint32_t>(flags);