Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2020 00:48:43 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r536253 - in head/lang/intel-compute-runtime: . files
Message-ID:  <202005230048.04N0mh77008294@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat May 23 00:48:43 2020
New Revision: 536253
URL: https://svnweb.freebsd.org/changeset/ports/536253

Log:
  lang/intel-compute-runtime: update to 20.20.16837
  
  Changes:	https://github.com/intel/compute-runtime/compare/20.19.16754...20.20.16837
  Reported by:	GitHub (watch releases)

Deleted:
  head/lang/intel-compute-runtime/files/patch-getPath
  head/lang/intel-compute-runtime/files/patch-ocloc-no-dlsym
Modified:
  head/lang/intel-compute-runtime/Makefile   (contents, props changed)
  head/lang/intel-compute-runtime/distinfo   (contents, props changed)
  head/lang/intel-compute-runtime/files/patch-backtrace   (contents, props changed)
  head/lang/intel-compute-runtime/files/patch-clock_gettime   (contents, props changed)
  head/lang/intel-compute-runtime/files/patch-no-blitter   (contents, props changed)

Modified: head/lang/intel-compute-runtime/Makefile
==============================================================================
--- head/lang/intel-compute-runtime/Makefile	Sat May 23 00:48:32 2020	(r536252)
+++ head/lang/intel-compute-runtime/Makefile	Sat May 23 00:48:43 2020	(r536253)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	compute-runtime
-DISTVERSION=	20.19.16754
+DISTVERSION=	20.20.16837
 CATEGORIES=	lang
 PKGNAMEPREFIX=	intel-
 
@@ -13,6 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 ONLY_FOR_ARCHS=	amd64 i386
 ONLY_FOR_ARCHS_REASON=	Only Intel GPUs on x86 are supported
+BROKEN_i386=	https://github.com/intel/compute-runtime/issues/316
 
 LIB_DEPENDS=	libigc.so:devel/intel-graphics-compiler \
 		libigdgmm.so:multimedia/gmmlib
@@ -23,9 +24,12 @@ USE_LDCONFIG=	yes
 GH_ACCOUNT=	intel
 CMAKE_ON=	SKIP_UNIT_TESTS
 CMAKE_ARGS=	-DNEO_OCL_DRIVER_VERSION:STRING="${DISTVERSIONFULL}"
-PLIST_FILES=	etc/OpenCL/vendors/intel.icd \
-		bin/ocloc \
-		lib/intel-opencl/libigdrcl.so
+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

Modified: head/lang/intel-compute-runtime/distinfo
==============================================================================
--- head/lang/intel-compute-runtime/distinfo	Sat May 23 00:48:32 2020	(r536252)
+++ head/lang/intel-compute-runtime/distinfo	Sat May 23 00:48:43 2020	(r536253)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1588775595
-SHA256 (intel-compute-runtime-20.19.16754_GH0.tar.gz) = efe934ec037b1a757e3b427ca110ca42aaa2ad21cd7e8cffc3f02f034eea828e
-SIZE (intel-compute-runtime-20.19.16754_GH0.tar.gz) = 3099362
+TIMESTAMP = 1589575000
+SHA256 (intel-compute-runtime-20.20.16837_GH0.tar.gz) = 975787ced1800ea52ece2ca40c23c4cac9267a358957c4a7f5255d22dc6a6d5f
+SIZE (intel-compute-runtime-20.20.16837_GH0.tar.gz) = 3121549

Modified: head/lang/intel-compute-runtime/files/patch-backtrace
==============================================================================
--- head/lang/intel-compute-runtime/files/patch-backtrace	Sat May 23 00:48:32 2020	(r536252)
+++ head/lang/intel-compute-runtime/files/patch-backtrace	Sat May 23 00:48:43 2020	(r536253)
@@ -23,15 +23,14 @@ ld: error: undefined symbol: backtrace_symbols
          callstack = backtrace_symbols(addresses, backtraceSize);
  
          for (int i = 0; i < backtraceSize; ++i) {
---- shared/offline_compiler/source/CMakeLists.txt.orig	2020-02-28 16:16:42 UTC
+--- shared/offline_compiler/source/CMakeLists.txt.orig	2020-05-15 20:36:40 UTC
 +++ shared/offline_compiler/source/CMakeLists.txt
-@@ -161,6 +161,10 @@ endif()
+@@ -140,6 +140,9 @@ endif()
+ 
  if(UNIX)
-   target_link_libraries(ocloc_lib dl pthread)
-   target_link_libraries(ocloc dl pthread)
+   target_link_libraries(${OCLOC_NAME}_lib dl pthread)
 +  if(CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD|NetBSD|OpenBSD")
-+    target_link_libraries(ocloc_lib execinfo)
-+    target_link_libraries(ocloc execinfo)
++    target_link_libraries(${OCLOC_NAME}_lib execinfo)
 +  endif()
  endif()
  

Modified: head/lang/intel-compute-runtime/files/patch-clock_gettime
==============================================================================
--- head/lang/intel-compute-runtime/files/patch-clock_gettime	Sat May 23 00:48:32 2020	(r536252)
+++ head/lang/intel-compute-runtime/files/patch-clock_gettime	Sat May 23 00:48:43 2020	(r536253)
@@ -9,14 +9,18 @@ runtime/os_interface/linux/os_time_linux.cpp:138:24: e
     if (resolutionFunc(CLOCK_MONOTONIC_RAW, &ts)) {
                        ^
 
---- shared/source/os_interface/linux/os_time_linux.cpp.orig	2020-02-28 16:16:42 UTC
+--- shared/source/os_interface/linux/os_time_linux.cpp.orig	2020-05-15 20:36:40 UTC
 +++ shared/source/os_interface/linux/os_time_linux.cpp
-@@ -14,6 +14,10 @@
+@@ -14,6 +14,14 @@
  
  #include <time.h>
  
 +#ifndef CLOCK_MONOTONIC_RAW
-+#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
++# ifdef CLOCK_MONOTONIC_FAST
++#  define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC_FAST
++# else
++#  define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
++# endif
 +#endif
 +
  namespace NEO {

Modified: head/lang/intel-compute-runtime/files/patch-no-blitter
==============================================================================
--- head/lang/intel-compute-runtime/files/patch-no-blitter	Sat May 23 00:48:32 2020	(r536252)
+++ head/lang/intel-compute-runtime/files/patch-no-blitter	Sat May 23 00:48:43 2020	(r536253)
@@ -23,14 +23,15 @@ frame #4: 0x000000000020df59 ze_peak`L0Context::init_x
    185    }
    186    if (verbose)
 
---- level_zero/core/source/device/device_imp.h.orig	2020-04-17 18:43:38 UTC
+--- level_zero/core/source/device/device_imp.h.orig	2020-05-15 20:36:40 UTC
 +++ level_zero/core/source/device/device_imp.h
-@@ -99,9 +99,7 @@ struct DeviceImp : public Device {
-             auto hwInfo = neoDevice->getHardwareInfo();
-             if (hwInfo.capabilityTable.blitterOperationsSupported) {
-                 *useBliter = NEO::DebugManager.flags.EnableCopyOnlyCommandListsAndCommandQueues.get();
+@@ -102,10 +102,7 @@ struct DeviceImp : public Device {
+                 } else {
+                     *useBliter = NEO::DebugManager.flags.EnableCopyOnlyCommandListsAndCommandQueues.get();
+                 }
 -                return ZE_RESULT_SUCCESS;
              }
+-
 -            return ZE_RESULT_ERROR_INVALID_ENUMERATION;
          }
          return ZE_RESULT_SUCCESS;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005230048.04N0mh77008294>