Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2021 13:29:51 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3ec80876f4ef - main - lang/intel-compute-runtime: update to 21.28.20343
Message-ID:  <202107161329.16GDTpDG036640@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ec80876f4ef5065f75d97a7ce659ee70e5317b6

commit 3ec80876f4ef5065f75d97a7ce659ee70e5317b6
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-06-29 21:16:19 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-07-16 13:28:03 +0000

    lang/intel-compute-runtime: update to 21.28.20343
    
    Changes:        https://github.com/intel/compute-runtime/compare/21.26.20194...21.28.20343
    Reported by:    GitHub (watch releases)
---
 lang/intel-compute-runtime/Makefile             |  4 ++--
 lang/intel-compute-runtime/distinfo             |  6 +++---
 lang/intel-compute-runtime/files/patch-max_freq | 17 +++++++++++------
 3 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/lang/intel-compute-runtime/Makefile b/lang/intel-compute-runtime/Makefile
index 5e651f6c09c3..63f05e23d43f 100644
--- a/lang/intel-compute-runtime/Makefile
+++ b/lang/intel-compute-runtime/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	compute-runtime
-DISTVERSION=	21.26.20194
+DISTVERSION=	21.28.20343
 CATEGORIES=	lang
 PKGNAMEPREFIX=	intel-
 
@@ -10,7 +10,7 @@ MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	OpenCL implementation for Intel HD 5000 (Gen8) or newer
 
 LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 ONLY_FOR_ARCHS=	amd64 i386
 ONLY_FOR_ARCHS_REASON=	Only Intel GPUs on x86 are supported
diff --git a/lang/intel-compute-runtime/distinfo b/lang/intel-compute-runtime/distinfo
index 99580dd554f9..982f267b4996 100644
--- a/lang/intel-compute-runtime/distinfo
+++ b/lang/intel-compute-runtime/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1624469270
-SHA256 (intel-compute-runtime-21.26.20194_GH0.tar.gz) = 6bcc4490056ed19daf855522dad27477895592f904c9d826ef8e74b43a510fae
-SIZE (intel-compute-runtime-21.26.20194_GH0.tar.gz) = 4118495
+TIMESTAMP = 1625585536
+SHA256 (intel-compute-runtime-21.28.20343_GH0.tar.gz) = 96df25eaea7b414f0a23237b36c16f1d1c029e2abbda08883cec7a98f9cd7fbb
+SIZE (intel-compute-runtime-21.28.20343_GH0.tar.gz) = 4248628
 SHA256 (4a926516c3ea.patch) = 1a9c4694dbe892f01a7d3be5c5229b6b3bb34222848d61054f7bdf91134ca60f
 SIZE (4a926516c3ea.patch) = 1691
diff --git a/lang/intel-compute-runtime/files/patch-max_freq b/lang/intel-compute-runtime/files/patch-max_freq
index f1789e82aaa4..8f1d8c50571b 100644
--- a/lang/intel-compute-runtime/files/patch-max_freq
+++ b/lang/intel-compute-runtime/files/patch-max_freq
@@ -3,9 +3,9 @@
   $ clinfo | fgrep clock
     Max clock frequency                             0MHz
 
---- shared/source/os_interface/linux/drm_query.cpp.orig	2020-04-17 18:43:38 UTC
+--- shared/source/os_interface/linux/drm_query.cpp.orig	2021-07-16 13:20:44 UTC
 +++ shared/source/os_interface/linux/drm_query.cpp
-@@ -11,10 +11,37 @@
+@@ -15,6 +15,13 @@
  
  #include <fstream>
  
@@ -18,6 +18,9 @@
 +
  namespace NEO {
  
+ namespace IoctlHelper {
+@@ -35,6 +42,26 @@ std::string getIoctlParamStringRemaining(int param) {
+ 
  int Drm::getMaxGpuFrequency(HardwareInfo &hwInfo, int &maxGpuFrequency) {
      maxGpuFrequency = 0;
 +#if defined(__FreeBSD__)
@@ -43,7 +46,7 @@
      std::string clockSysFsPath = getSysFsPciPath();
  
      clockSysFsPath += "/gt_max_freq_mhz";
-@@ -26,6 +53,7 @@ int Drm::getMaxGpuFrequency(HardwareInfo &hwInfo, int 
+@@ -46,6 +73,7 @@ int Drm::getMaxGpuFrequency(HardwareInfo &hwInfo, int 
  
      ifs >> maxGpuFrequency;
      ifs.close();
@@ -51,9 +54,9 @@
      return 0;
  }
  
---- shared/source/os_interface/linux/drm_query_dg1.cpp.orig	2020-11-07 13:04:57 UTC
+--- shared/source/os_interface/linux/drm_query_dg1.cpp.orig	2021-07-16 13:20:44 UTC
 +++ shared/source/os_interface/linux/drm_query_dg1.cpp
-@@ -13,11 +13,38 @@
+@@ -16,6 +16,13 @@
  
  #include <fstream>
  
@@ -67,6 +70,8 @@
  namespace NEO {
  class OsContext;
  
+@@ -37,6 +44,26 @@ std::string getIoctlParamStringRemaining(int param) {
+ 
  int Drm::getMaxGpuFrequency(HardwareInfo &hwInfo, int &maxGpuFrequency) {
      maxGpuFrequency = 0;
 +#if defined(__FreeBSD__)
@@ -92,7 +97,7 @@
      std::string clockSysFsPath = getSysFsPciPath();
  
      clockSysFsPath += "/gt_max_freq_mhz";
-@@ -29,6 +56,7 @@ int Drm::getMaxGpuFrequency(HardwareInfo &hwInfo, int 
+@@ -48,6 +75,7 @@ int Drm::getMaxGpuFrequency(HardwareInfo &hwInfo, int 
  
      ifs >> maxGpuFrequency;
      ifs.close();



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