summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-01-29 14:38:13 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-01-29 14:38:13 +0000
commit8db4725025d76e95fdb555f2d65a03aff14022ca (patch)
tree31718f9e78eebe781587de476c9bedb1d8d487e5
parent.gitauthors: Add Nuno Eduardo Simões Leal Teixeira (eduardo) (diff)
lang/intel-compute-runtime: update to 21.04.18912
Changes: https://github.com/intel/compute-runtime/compare/21.03.18857...21.04.18912 Reported by: GitHub (watch releases)
Notes
Notes: svn path=/head/; revision=563212
-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-glibc17
-rw-r--r--lang/intel-compute-runtime/files/patch-includes30
4 files changed, 34 insertions, 21 deletions
diff --git a/lang/intel-compute-runtime/Makefile b/lang/intel-compute-runtime/Makefile
index e5c93124bca1..50080d7cb666 100644
--- a/lang/intel-compute-runtime/Makefile
+++ b/lang/intel-compute-runtime/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= compute-runtime
-DISTVERSION= 21.03.18857
+DISTVERSION= 21.04.18912
CATEGORIES= lang
PKGNAMEPREFIX= intel-
diff --git a/lang/intel-compute-runtime/distinfo b/lang/intel-compute-runtime/distinfo
index 54f07db7e025..d408ee12b7a4 100644
--- a/lang/intel-compute-runtime/distinfo
+++ b/lang/intel-compute-runtime/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1610388716
-SHA256 (intel-compute-runtime-21.03.18857_GH0.tar.gz) = 0460164c682fa257d1f8b94637eaf4fd8bc656e28a4a07d5554e1c5397183f98
-SIZE (intel-compute-runtime-21.03.18857_GH0.tar.gz) = 3712126
+TIMESTAMP = 1611166927
+SHA256 (intel-compute-runtime-21.04.18912_GH0.tar.gz) = 1394f7d222d0446ac40aeb1470355d2bf31ec6c792555f4584ee269ae51c7f46
+SIZE (intel-compute-runtime-21.04.18912_GH0.tar.gz) = 3721532
SHA256 (2a423820aaa4.patch) = dd034e856e75d70bc6b63204aa2c67530a3212d111b67a703e4cbeb84e61685b
SIZE (2a423820aaa4.patch) = 947
diff --git a/lang/intel-compute-runtime/files/patch-glibc b/lang/intel-compute-runtime/files/patch-glibc
deleted file mode 100644
index 50dc4418cf62..000000000000
--- a/lang/intel-compute-runtime/files/patch-glibc
+++ /dev/null
@@ -1,17 +0,0 @@
-major/minor/makedev aren't used, so drop Linux-specific header.
-
-In file included from level_zero/tools/source/sysman/linux/os_sysman_imp.h:12:
-level_zero/tools/source/sysman/linux/fs_access.h:19:10: fatal error: 'sys/sysmacros.h' file not found
-#include <sys/sysmacros.h>
- ^~~~~~~~~~~~~~~~~
-
---- level_zero/tools/source/sysman/linux/fs_access.h.orig 2020-03-27 09:53:58 UTC
-+++ level_zero/tools/source/sysman/linux/fs_access.h
-@@ -16,7 +16,6 @@
- #include <sstream>
- #include <string>
- #include <sys/stat.h>
--#include <sys/sysmacros.h>
- #include <sys/types.h>
- #include <unistd.h>
- #include <vector>
diff --git a/lang/intel-compute-runtime/files/patch-includes b/lang/intel-compute-runtime/files/patch-includes
index 21c4d692be2e..47e8087e7238 100644
--- a/lang/intel-compute-runtime/files/patch-includes
+++ b/lang/intel-compute-runtime/files/patch-includes
@@ -1,5 +1,13 @@
Adjust includes in various places.
+level_zero/tools/source/metrics/linux/os_metric_enumeration_imp_linux.cpp:14:10: fatal error: 'sys/sysmacros.h' file not found
+#include <sys/sysmacros.h>
+ ^~~~~~~~~~~~~~~~~
+In file included from level_zero/tools/source/sysman/linux/os_sysman_imp.h:12:
+level_zero/tools/source/sysman/linux/fs_access.h:19:10: fatal error: 'sys/sysmacros.h' file not found
+#include <sys/sysmacros.h>
+ ^~~~~~~~~~~~~~~~~
+
core/os_interface/linux/drm_neo.cpp:21:10: fatal error: 'linux/limits.h' file not found
#include <linux/limits.h>
^~~~~~~~~~~~~~~~
@@ -15,6 +23,28 @@ runtime/tbx/tbx_sockets_imp.cpp:107:9: error: unknown type name 'sockaddr_in'; d
struct sockaddr {
^
+--- level_zero/tools/source/metrics/linux/os_metric_enumeration_imp_linux.cpp.orig 2021-01-20 18:22:07 UTC
++++ level_zero/tools/source/metrics/linux/os_metric_enumeration_imp_linux.cpp
+@@ -11,7 +11,9 @@
+ #include "level_zero/tools/source/metrics/metric_enumeration_imp.h"
+
+ #include <sys/stat.h>
++#if defined(__linux__)
+ #include <sys/sysmacros.h>
++#endif
+
+ namespace L0 {
+
+--- level_zero/tools/source/sysman/linux/fs_access.h.orig 2020-03-27 09:53:58 UTC
++++ level_zero/tools/source/sysman/linux/fs_access.h
+@@ -16,7 +16,6 @@
+ #include <sstream>
+ #include <string>
+ #include <sys/stat.h>
+-#include <sys/sysmacros.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <vector>
--- shared/source/os_interface/linux/drm_neo.cpp.orig 2020-04-17 18:43:38 UTC
+++ shared/source/os_interface/linux/drm_neo.cpp
@@ -19,9 +19,9 @@