Index: head/lang/intel-compute-runtime/Makefile =================================================================== --- head/lang/intel-compute-runtime/Makefile (revision 563211) +++ head/lang/intel-compute-runtime/Makefile (revision 563212) @@ -1,63 +1,63 @@ # $FreeBSD$ PORTNAME= compute-runtime -DISTVERSION= 21.03.18857 +DISTVERSION= 21.04.18912 CATEGORIES= lang PKGNAMEPREFIX= intel- PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 2a423820aaa4.patch:-p1 # https://github.com/intel/compute-runtime/pull/361 MAINTAINER= jbeich@FreeBSD.org COMMENT= OpenCL implementation for Intel HD 5000 (Gen8) or newer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= Only Intel GPUs on x86 are supported LIB_DEPENDS= libigc.so:devel/intel-graphics-compiler \ libigdgmm.so:multimedia/gmmlib USES= cmake compiler:c++17-lang localbase:ldflags pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= intel CMAKE_ON= SKIP_UNIT_TESTS SUPPORT_DG1 CMAKE_ARGS= -DNEO_OCL_DRIVER_VERSION:STRING="${DISTVERSIONFULL}" PLIST_FILES= bin/ocloc \ etc/OpenCL/vendors/intel.icd \ include/ocloc_api.h \ lib/intel-opencl/libigdrcl.so \ lib/libocloc.so \ ${NULL} OPTIONS_DEFINE= VAAPI OPTIONS_DEFAULT=VAAPI OPTIONS_DEFINE_amd64= L0 OPTIONS_DEFAULT_amd64= L0 L0_DESC= oneAPI Level Zero support L0_BUILD_DEPENDS= level-zero>=1.0:devel/level-zero L0_CMAKE_BOOL= BUILD_WITH_L0 L0_CMAKE_ON= -DNEO_VERSION_BUILD:STRING="0" L0_PLIST_FILES= lib/libze_intel_gpu.so.1 \ lib/libze_intel_gpu.so.1.0.0 VAAPI_BUILD_DEPENDS= ${LOCALBASE}/include/va/va.h:multimedia/libva VAAPI_CMAKE_BOOL_OFF= DISABLE_LIBVA post-patch: @${REINPLACE_CMD} -e '/-Werror/d' \ -e '/FORCE_RESPONSE_FILE/d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/OCL_ICD_VENDORDIR/s,/etc,${PREFIX}&,' \ ${WRKSRC}/package.cmake post-install: # install/strip has no effect on install(FILES), so strip manually ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/intel-opencl/*.so .include Index: head/lang/intel-compute-runtime/distinfo =================================================================== --- head/lang/intel-compute-runtime/distinfo (revision 563211) +++ head/lang/intel-compute-runtime/distinfo (revision 563212) @@ -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 Index: head/lang/intel-compute-runtime/files/patch-glibc =================================================================== --- head/lang/intel-compute-runtime/files/patch-glibc (revision 563211) +++ head/lang/intel-compute-runtime/files/patch-glibc (nonexistent) @@ -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 - ^~~~~~~~~~~~~~~~~ - ---- 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 - #include - #include --#include - #include - #include - #include Property changes on: head/lang/intel-compute-runtime/files/patch-glibc ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/lang/intel-compute-runtime/files/patch-includes =================================================================== --- head/lang/intel-compute-runtime/files/patch-includes (revision 563211) +++ head/lang/intel-compute-runtime/files/patch-includes (revision 563212) @@ -1,40 +1,70 @@ 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 + ^~~~~~~~~~~~~~~~~ +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 + ^~~~~~~~~~~~~~~~~ + core/os_interface/linux/drm_neo.cpp:21:10: fatal error: 'linux/limits.h' file not found #include ^~~~~~~~~~~~~~~~ runtime/tbx/tbx_sockets_imp.cpp:74:51: error: use of undeclared identifier 'IPPROTO_TCP' m_socket = ::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); ^ runtime/tbx/tbx_sockets_imp.cpp:107:9: error: unknown type name 'sockaddr_in'; did you mean 'sockaddr'? sockaddr_in clientService; ^~~~~~~~~~~ sockaddr /usr/include/sys/socket.h:328:8: note: 'sockaddr' declared here 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 ++#if defined(__linux__) + #include ++#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 + #include + #include +-#include + #include + #include + #include --- 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 @@ #include "shared/source/os_interface/os_interface.h" #include "shared/source/utilities/directory.h" +#include #include #include -#include namespace NEO { --- shared/source/tbx/tbx_sockets_imp.cpp.orig 2020-10-23 15:44:19 UTC +++ shared/source/tbx/tbx_sockets_imp.cpp @@ -18,6 +18,7 @@ typedef int socklen_t; #else #include #include +#include #include #include #include