Date: Fri, 5 Mar 2021 14:57: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: r567390 - in head/lang/intel-compute-runtime: . files Message-ID: <202103051457.125EvhIQ007717@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Fri Mar 5 14:57:43 2021 New Revision: 567390 URL: https://svnweb.freebsd.org/changeset/ports/567390 Log: lang/intel-compute-runtime: update to 21.09.19150 Changes: https://github.com/intel/compute-runtime/compare/21.08.19096...21.09.19150 Reported by: GitHub (watch releases) Added: head/lang/intel-compute-runtime/files/patch-device_path (contents, props changed) Modified: head/lang/intel-compute-runtime/Makefile (contents, props changed) head/lang/intel-compute-runtime/distinfo (contents, props changed) Modified: head/lang/intel-compute-runtime/Makefile ============================================================================== --- head/lang/intel-compute-runtime/Makefile Fri Mar 5 14:43:35 2021 (r567389) +++ head/lang/intel-compute-runtime/Makefile Fri Mar 5 14:57:43 2021 (r567390) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= compute-runtime -DISTVERSION= 21.08.19096 -PORTREVISION= 1 +DISTVERSION= 21.09.19150 CATEGORIES= lang PKGNAMEPREFIX= intel- Modified: head/lang/intel-compute-runtime/distinfo ============================================================================== --- head/lang/intel-compute-runtime/distinfo Fri Mar 5 14:43:35 2021 (r567389) +++ head/lang/intel-compute-runtime/distinfo Fri Mar 5 14:57:43 2021 (r567390) @@ -1,5 +1,5 @@ -TIMESTAMP = 1613411392 -SHA256 (intel-compute-runtime-21.08.19096_GH0.tar.gz) = 2114918e6990c5be8e0ac5cdfae74cbc7747b73c4cb93adf0210c35edc33f644 -SIZE (intel-compute-runtime-21.08.19096_GH0.tar.gz) = 3765142 +TIMESTAMP = 1614027337 +SHA256 (intel-compute-runtime-21.09.19150_GH0.tar.gz) = c38172bc7460cc3ec104ef29a655788cdd8329a62e894ee1ec116e78ebc451a5 +SIZE (intel-compute-runtime-21.09.19150_GH0.tar.gz) = 3780882 SHA256 (2a423820aaa4.patch) = dd034e856e75d70bc6b63204aa2c67530a3212d111b67a703e4cbeb84e61685b SIZE (2a423820aaa4.patch) = 947 Added: head/lang/intel-compute-runtime/files/patch-device_path ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/intel-compute-runtime/files/patch-device_path Fri Mar 5 14:57:43 2021 (r567390) @@ -0,0 +1,37 @@ +/sys is Linux-specific. FreeBSD has linsysfs(5) but not mounted by default. + +--- shared/source/os_interface/linux/sys_calls_linux.cpp.orig 2021-02-22 20:55:37 UTC ++++ shared/source/os_interface/linux/sys_calls_linux.cpp +@@ -12,7 +12,11 @@ + #include <stdio.h> + #include <sys/ioctl.h> + #include <sys/stat.h> ++#if defined(__linux__) + #include <sys/sysmacros.h> ++#elif defined(__DragonFly__) || defined(__FreeBSD__) ++#include <cstdlib> ++#endif + #include <unistd.h> + + namespace NEO { +@@ -36,6 +40,7 @@ int readlink(const char *path, char *buf, size_t bufsi + } + + int getDevicePath(int deviceFd, char *buf, size_t &bufSize) { ++#if defined(__linux__) + struct stat st; + if (fstat(deviceFd, &st)) { + return -1; +@@ -45,6 +50,12 @@ int getDevicePath(int deviceFd, char *buf, size_t &buf + major(st.st_rdev), minor(st.st_rdev)); + + return 0; ++#elif defined(__DragonFly__) || defined(__FreeBSD__) ++ return fdevname_r(deviceFd, buf, (int)bufSize) ? 0 : -1; ++#else ++ // Extract drmGetDeviceNameFromFd2 from libdrm ++ return -1; ++#endif + } + } // namespace SysCalls + } // namespace NEO
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103051457.125EvhIQ007717>