diff --git a/lang/intel-compute-runtime/Makefile b/lang/intel-compute-runtime/Makefile index d61288755591..bb181ad04477 100644 --- a/lang/intel-compute-runtime/Makefile +++ b/lang/intel-compute-runtime/Makefile @@ -1,61 +1,61 @@ PORTNAME= compute-runtime -DISTVERSION= 22.12.22749 +DISTVERSION= 22.13.22789 CATEGORIES= lang PKGNAMEPREFIX= intel- PKGNAMESUFFIX= -${FLAVOR} MAINTAINER= jbeich@FreeBSD.org COMMENT= OpenCL implementation for Intel HD 5000 (Gen8) or newer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= only Intel GPUs on x86 are supported LIB_DEPENDS= libigc.so:devel/intel-graphics-compiler@${FLAVOR} \ libigdgmm.so:multimedia/gmmlib FLAVORS= ${12 11:L:S/^/llvm/} CONFLICTS_INSTALL= ${PORTNAME}-* USES= cmake compiler:c++17-lang localbase:ldflags pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= intel CMAKE_ON= RELEASE_WITH_REGKEYS 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= L0 VAAPI OPTIONS_DEFAULT=L0 VAAPI 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.3.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 diff --git a/lang/intel-compute-runtime/distinfo b/lang/intel-compute-runtime/distinfo index 298fab8360b7..c39b8f6c3246 100644 --- a/lang/intel-compute-runtime/distinfo +++ b/lang/intel-compute-runtime/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647450522 -SHA256 (intel-compute-runtime-22.12.22749_GH0.tar.gz) = eda2a77d14554ee116097b6365f8ef9449a903de5724d0f05fff13d408865d13 -SIZE (intel-compute-runtime-22.12.22749_GH0.tar.gz) = 5234659 +TIMESTAMP = 1647954805 +SHA256 (intel-compute-runtime-22.13.22789_GH0.tar.gz) = b6edbbeb72e7173a4d6ae78871c8a6f65563160661dd21224c9a0e2bb7286421 +SIZE (intel-compute-runtime-22.13.22789_GH0.tar.gz) = 5252140 diff --git a/lang/intel-compute-runtime/files/patch-includes b/lang/intel-compute-runtime/files/patch-includes index 67a4794645c0..0dd7b3117e6c 100644 --- a/lang/intel-compute-runtime/files/patch-includes +++ b/lang/intel-compute-runtime/files/patch-includes @@ -1,70 +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_oa_enumeration_imp_linux.cpp.orig 2021-01-20 18:22:07 UTC +++ level_zero/tools/source/metrics/linux/os_metric_oa_enumeration_imp_linux.cpp @@ -13,7 +13,9 @@ #include "level_zero/tools/source/metrics/metric_oa_source.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.orig 2022-03-22 13:13:25 UTC +++ shared/source/os_interface/linux/drm_neo.cpp -@@ -19,9 +19,9 @@ +@@ -34,9 +34,9 @@ #include "shared/source/os_interface/os_interface.h" #include "shared/source/utilities/directory.h" +#include #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