mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
devel/intel-graphics-compiler: update to 1.0.8708
Changes: https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.8708 Reported by: GitHub (watch releases)
This commit is contained in:
parent
747f48bdbe
commit
b2e49cc576
@ -1,13 +1,8 @@
|
||||
PORTNAME= intel-graphics-compiler
|
||||
DISTVERSIONPREFIX= igc-
|
||||
DISTVERSION= 1.0.8517
|
||||
DISTVERSION= 1.0.8708
|
||||
CATEGORIES= devel
|
||||
|
||||
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
||||
PATCHFILES+= ef9a69ee4723.patch:-p1 # https://github.com/intel/intel-graphics-compiler/pull/189
|
||||
PATCHFILES+= 8888a28132ac.patch:-p1 # https://github.com/intel/intel-graphics-compiler/pull/189
|
||||
PATCHFILES+= b926d2c2f490.patch:-p1 # https://github.com/intel/intel-graphics-compiler/pull/189
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
COMMENT= Intel Graphics Compiler for OpenCL
|
||||
|
||||
|
@ -1,9 +1,3 @@
|
||||
TIMESTAMP = 1629709130
|
||||
SHA256 (intel-intel-graphics-compiler-igc-1.0.8517_GH0.tar.gz) = b6bcac1e598a51d7ca54a97d746f5f9ddd619d4cd23fd3fa3e63f181fce5de17
|
||||
SIZE (intel-intel-graphics-compiler-igc-1.0.8517_GH0.tar.gz) = 7539946
|
||||
SHA256 (ef9a69ee4723.patch) = 3468a505bff2a3793530f8e14cadcaba33859899855447230c00b8f45476cccd
|
||||
SIZE (ef9a69ee4723.patch) = 1199
|
||||
SHA256 (8888a28132ac.patch) = 74e2be5a81e3ed91286d6f0e7fba07b5eb1542fffbeb4394be40d4585515548b
|
||||
SIZE (8888a28132ac.patch) = 1160
|
||||
SHA256 (b926d2c2f490.patch) = d126535816d8daa42abb480c7a5ae627abe4655e26de84a65daca9c6203f2f32
|
||||
SIZE (b926d2c2f490.patch) = 4441
|
||||
TIMESTAMP = 1631387007
|
||||
SHA256 (intel-intel-graphics-compiler-igc-1.0.8708_GH0.tar.gz) = 08dc2d4b93be77b024a9cf76ebfdc5013c5c756fd9bd73a10e4da78e6b6a560e
|
||||
SIZE (intel-intel-graphics-compiler-igc-1.0.8708_GH0.tar.gz) = 7574517
|
||||
|
23
devel/intel-graphics-compiler/files/patch-strerror_r
Normal file
23
devel/intel-graphics-compiler/files/patch-strerror_r
Normal file
@ -0,0 +1,23 @@
|
||||
POSIX version of strerror_r returns int
|
||||
|
||||
visa/iga/IGALibrary/system.cpp:263:14: error: assigning to 'char *' from incompatible type 'int'
|
||||
errMsg = strerror_r(errCode, buf, sizeof(buf));
|
||||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
--- visa/iga/IGALibrary/system.cpp.orig 2021-09-11 19:03:27 UTC
|
||||
+++ visa/iga/IGALibrary/system.cpp
|
||||
@@ -259,8 +259,13 @@ std::string iga::FormatLastError(unsigned errCode)
|
||||
NULL);
|
||||
if (errMsg)
|
||||
msg = errMsg;
|
||||
-#else
|
||||
+#elif defined(__GLIBC__)
|
||||
errMsg = strerror_r(errCode, buf, sizeof(buf));
|
||||
+#else
|
||||
+ if (strerror_r(errCode, buf, sizeof(buf)))
|
||||
+ errMsg = nullptr;
|
||||
+ else
|
||||
+ errMsg = buf;
|
||||
#endif // _WIN32
|
||||
if (errMsg == nullptr || errMsg[0] == 0)
|
||||
return "???";
|
@ -74,6 +74,7 @@ include/igc/ocl_igc_interface/impl/ocl_translation_output_impl.cpp
|
||||
include/igc/ocl_igc_interface/impl/ocl_translation_output_impl.h
|
||||
include/igc/ocl_igc_interface/impl/platform_impl.cpp
|
||||
include/igc/ocl_igc_interface/impl/platform_impl.h
|
||||
include/igc/ocl_igc_interface/impl/version_in.h
|
||||
include/igc/ocl_igc_interface/ocl_gen_binary.h
|
||||
include/igc/ocl_igc_interface/ocl_translation_output.h
|
||||
include/igc/ocl_igc_interface/platform.h
|
||||
|
Loading…
Reference in New Issue
Block a user