From owner-dev-commits-ports-all@freebsd.org Fri Aug 20 18:12:59 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EB2BE664E30; Fri, 20 Aug 2021 18:12:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GrqVz4Fr7z4lR5; Fri, 20 Aug 2021 18:12:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7B37F1DB96; Fri, 20 Aug 2021 18:12:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17KICxbM012843; Fri, 20 Aug 2021 18:12:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17KICx9G012842; Fri, 20 Aug 2021 18:12:59 GMT (envelope-from git) Date: Fri, 20 Aug 2021 18:12:59 GMT Message-Id: <202108201812.17KICx9G012842@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: b9cf35bb209a - main - lang/intel-compute-runtime: update to 21.33.20678 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b9cf35bb209a1a7e25aa39e8295e26c02af40971 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 18:13:00 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=b9cf35bb209a1a7e25aa39e8295e26c02af40971 commit b9cf35bb209a1a7e25aa39e8295e26c02af40971 Author: Jan Beich AuthorDate: 2021-08-11 16:12:33 +0000 Commit: Jan Beich CommitDate: 2021-08-20 18:10:46 +0000 lang/intel-compute-runtime: update to 21.33.20678 Changes: https://github.com/intel/compute-runtime/compare/21.32.20609...21.33.20678 Reported by: GitHub (watch releases) --- lang/intel-compute-runtime/Makefile | 3 +-- lang/intel-compute-runtime/distinfo | 6 ++--- lang/intel-compute-runtime/files/patch-no-rebar | 32 ++++++++++++++++++------- 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/lang/intel-compute-runtime/Makefile b/lang/intel-compute-runtime/Makefile index ed4b2dfe5be1..17ae4bcf6727 100644 --- a/lang/intel-compute-runtime/Makefile +++ b/lang/intel-compute-runtime/Makefile @@ -1,6 +1,5 @@ PORTNAME= compute-runtime -DISTVERSION= 21.32.20609 -PORTREVISION= 1 +DISTVERSION= 21.33.20678 CATEGORIES= lang PKGNAMEPREFIX= intel- diff --git a/lang/intel-compute-runtime/distinfo b/lang/intel-compute-runtime/distinfo index b4dae1fa6732..42867b20d58f 100644 --- a/lang/intel-compute-runtime/distinfo +++ b/lang/intel-compute-runtime/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1628075862 -SHA256 (intel-compute-runtime-21.32.20609_GH0.tar.gz) = afe17b1f65bde7361f71cd051925ca382f8652b29549ed3527a95d801401ba67 -SIZE (intel-compute-runtime-21.32.20609_GH0.tar.gz) = 4462286 +TIMESTAMP = 1628698353 +SHA256 (intel-compute-runtime-21.33.20678_GH0.tar.gz) = 3569aceb3088b1c1674196097419e701b2070e80375c974f38706ceaacdae1db +SIZE (intel-compute-runtime-21.33.20678_GH0.tar.gz) = 4534884 SHA256 (4a926516c3ea.patch) = 1a9c4694dbe892f01a7d3be5c5229b6b3bb34222848d61054f7bdf91134ca60f SIZE (4a926516c3ea.patch) = 1691 diff --git a/lang/intel-compute-runtime/files/patch-no-rebar b/lang/intel-compute-runtime/files/patch-no-rebar index 16b5ece68112..10941205ad28 100644 --- a/lang/intel-compute-runtime/files/patch-no-rebar +++ b/lang/intel-compute-runtime/files/patch-no-rebar @@ -34,7 +34,7 @@ level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp:204:55: error: use of un this->preadFunction(fdConfig, configMemory.get(), PCI_CFG_SPACE_EXP_SIZE, 0); ^ ---- level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp.orig 2021-07-27 12:47:48 UTC +--- level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp.orig 2021-08-11 16:12:33 UTC +++ level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp @@ -12,7 +12,9 @@ @@ -46,23 +46,39 @@ level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp:204:55: error: use of un namespace L0 { -@@ -154,6 +156,7 @@ ze_result_t LinuxPciImp::initializeBarProperties(std:: +@@ -153,6 +155,7 @@ ze_result_t LinuxPciImp::initializeBarProperties(std:: + } - // Parse PCIe configuration space to see if resizable Bar is supported - bool LinuxPciImp::resizableBarSupported() { + uint32_t LinuxPciImp::getRebarCapabilityPos() { +#ifdef __linux__ uint32_t pos = PCI_CFG_SPACE_SIZE; uint32_t header = 0; -@@ -180,6 +183,7 @@ bool LinuxPciImp::resizableBarSupported() { +@@ -179,6 +182,7 @@ uint32_t LinuxPciImp::getRebarCapabilityPos() { } header = getDwordFromConfig(pos); } +#endif - return false; + return 0; + } + +@@ -197,6 +201,7 @@ bool LinuxPciImp::resizableBarEnabled(uint32_t barInde + if (!rebarCapabilityPos) { + return false; + } ++#ifdef __linux__ + + // As per PCI spec, resizable BAR's capability structure's 52 byte length could be represented as: + // -------------------------------------------------------------- +@@ -249,6 +254,7 @@ bool LinuxPciImp::resizableBarEnabled(uint32_t barInde + + // If current size is equal to larget possible BAR size, it indicates resizable BAR is enabled. + return (currentSize == largestPossibleBarSize); ++#endif } -@@ -192,6 +196,7 @@ ze_result_t LinuxPciImp::getState(zes_pci_state_t *sta + ze_result_t LinuxPciImp::getState(zes_pci_state_t *state) { +@@ -256,6 +262,7 @@ ze_result_t LinuxPciImp::getState(zes_pci_state_t *sta } void LinuxPciImp::pciExtendedConfigRead() { @@ -70,7 +86,7 @@ level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp:204:55: error: use of un std::string pciConfigNode; pSysfsAccess->getRealPath("device/config", pciConfigNode); int fdConfig = -1; -@@ -203,6 +208,7 @@ void LinuxPciImp::pciExtendedConfigRead() { +@@ -267,6 +274,7 @@ void LinuxPciImp::pciExtendedConfigRead() { memset(configMemory.get(), 0, PCI_CFG_SPACE_EXP_SIZE); this->preadFunction(fdConfig, configMemory.get(), PCI_CFG_SPACE_EXP_SIZE, 0); this->closeFunction(fdConfig);