svn commit: r556651 - in head/devel/intel-graphics-compiler: . files
Jan Beich
jbeich at FreeBSD.org
Mon Nov 30 16:00:21 UTC 2020
Author: jbeich
Date: Mon Nov 30 16:00:20 2020
New Revision: 556651
URL: https://svnweb.freebsd.org/changeset/ports/556651
Log:
devel/intel-graphics-compiler: update to 1.0.5699
Changes: https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.5699
Reported by: GitHub (watch releases)
Added:
head/devel/intel-graphics-compiler/files/patch-llvm11 (contents, props changed)
Modified:
head/devel/intel-graphics-compiler/Makefile (contents, props changed)
head/devel/intel-graphics-compiler/distinfo (contents, props changed)
head/devel/intel-graphics-compiler/files/patch-unix (contents, props changed)
Modified: head/devel/intel-graphics-compiler/Makefile
==============================================================================
--- head/devel/intel-graphics-compiler/Makefile Mon Nov 30 15:44:57 2020 (r556650)
+++ head/devel/intel-graphics-compiler/Makefile Mon Nov 30 16:00:20 2020 (r556651)
@@ -2,7 +2,7 @@
PORTNAME= intel-graphics-compiler
DISTVERSIONPREFIX= igc-
-DISTVERSION= 1.0.5585
+DISTVERSION= 1.0.5699
CATEGORIES= devel
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
Modified: head/devel/intel-graphics-compiler/distinfo
==============================================================================
--- head/devel/intel-graphics-compiler/distinfo Mon Nov 30 15:44:57 2020 (r556650)
+++ head/devel/intel-graphics-compiler/distinfo Mon Nov 30 16:00:20 2020 (r556651)
@@ -1,6 +1,6 @@
-TIMESTAMP = 1605259891
-SHA256 (intel-intel-graphics-compiler-igc-1.0.5585_GH0.tar.gz) = c01535b502a35817886424d6918eec20352ab32fdaa4afa7ff0d7622ecc23c04
-SIZE (intel-intel-graphics-compiler-igc-1.0.5585_GH0.tar.gz) = 7234175
+TIMESTAMP = 1605927132
+SHA256 (intel-intel-graphics-compiler-igc-1.0.5699_GH0.tar.gz) = 9afa912d7671f45e70b2dcea61dde485ed4e16fe6018d27265d98e6680935688
+SIZE (intel-intel-graphics-compiler-igc-1.0.5699_GH0.tar.gz) = 7379486
SHA256 (intel-vc-intrinsics-a08fe5b_GH0.tar.gz) = e57f05d56e385449ed86fdbbb3b5f75ba67537dce137176e371c30081c4fea2f
SIZE (intel-vc-intrinsics-a08fe5b_GH0.tar.gz) = 119121
SHA256 (d878880cbb3b.patch) = f430b2da0d212594ce73f23b279a1435f08dea60f30ec35494411ab0dc0fcf70
Added: head/devel/intel-graphics-compiler/files/patch-llvm11
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/intel-graphics-compiler/files/patch-llvm11 Mon Nov 30 16:00:20 2020 (r556651)
@@ -0,0 +1,18 @@
+IGC/VectorCompiler/lib/GenXCodeGen/GenXThreadPrivateMemory.cpp:462:37: error: no member named 'getMask' in 'llvm::ShuffleVectorInst'
+ NewVec1, NewVec2, ShuffleVec->getMask(), ShuffleVec->getName() + ".tpm");
+ ~~~~~~~~~~ ^
+
+--- IGC/VectorCompiler/lib/GenXCodeGen/GenXThreadPrivateMemory.cpp.orig 2020-11-21 02:52:12 UTC
++++ IGC/VectorCompiler/lib/GenXCodeGen/GenXThreadPrivateMemory.cpp
+@@ -459,7 +459,11 @@ bool GenXThreadPrivateMemory::replaceShuffleVector(
+ Value *NewVec1 = lookForPtrReplacement(Vec1);
+ Value *NewVec2 = lookForPtrReplacement(Vec2);
+ auto NewShuffleVec = new ShuffleVectorInst(
++#if LLVM_VERSION_MAJOR < 11
+ NewVec1, NewVec2, ShuffleVec->getMask(), ShuffleVec->getName() + ".tpm");
++#else
++ NewVec1, NewVec2, ShuffleVec->getShuffleMaskForBitcode(), ShuffleVec->getName() + ".tpm");
++#endif
+ NewShuffleVec->insertAfter(ShuffleVec);
+
+ auto CastToOldTy =
Modified: head/devel/intel-graphics-compiler/files/patch-unix
==============================================================================
--- head/devel/intel-graphics-compiler/files/patch-unix Mon Nov 30 15:44:57 2020 (r556650)
+++ head/devel/intel-graphics-compiler/files/patch-unix Mon Nov 30 16:00:20 2020 (r556651)
@@ -170,6 +170,26 @@ CMake Error at IGC/CMakeLists.txt:1974 (message):
// Linux, Android
#define MY_EXTERN_C extern "C"
+--- IGC/AdaptorOCL/ocl_igc_interface/impl/fcl_ocl_translation_ctx_impl.cpp.orig 2020-11-21 02:52:12 UTC
++++ IGC/AdaptorOCL/ocl_igc_interface/impl/fcl_ocl_translation_ctx_impl.cpp
+@@ -64,7 +64,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+ #include <memory>
+
+-#if defined(__linux__)
++#if defined(__unix__)
+ #include <dlfcn.h>
+ #else
+ #include <Windows.h>
+@@ -132,7 +132,7 @@ llvm::Optional<std::vector<char>> readBinaryFile(const
+ #if !defined(WDDM_LINUX) && (!defined(IGC_VC_DISABLED) || !IGC_VC_DISABLED)
+
+ static std::string detectCmIncludes(llvm::sys::DynamicLibrary &LibInfo) {
+-#if defined(__linux__)
++#if defined(__unix__)
+ #define GetFunctionNameAsStr(s) ((void)s, #s);
+ const char *SymName = GetFunctionNameAsStr(IntelCMClangFECompile);
+ void *FAddr = LibInfo.getAddressOfSymbol(SymName);
--- IGC/GenISAIntrinsics/GenIntrinsics.h.orig 2020-02-10 06:06:31 UTC
+++ IGC/GenISAIntrinsics/GenIntrinsics.h
@@ -67,7 +67,7 @@ namespace GenISAIntrinsic {
More information about the svn-ports-all
mailing list