Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2020 20:33:26 +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: r555048 - in head/devel/intel-graphics-compiler: . files
Message-ID:  <202011132033.0ADKXQxd095531@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Nov 13 20:33:26 2020
New Revision: 555048
URL: https://svnweb.freebsd.org/changeset/ports/555048

Log:
  devel/intel-graphics-compiler: update to 1.0.5435
  
  Changes:	https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.5435
  Reported by:	GitHub (watch releases)

Added:
  head/devel/intel-graphics-compiler/files/patch-clang   (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	Fri Nov 13 20:33:15 2020	(r555047)
+++ head/devel/intel-graphics-compiler/Makefile	Fri Nov 13 20:33:26 2020	(r555048)
@@ -2,8 +2,7 @@
 
 PORTNAME=	intel-graphics-compiler
 DISTVERSIONPREFIX=	igc-
-DISTVERSION=	1.0.5353
-PORTREVISION=	1
+DISTVERSION=	1.0.5435
 CATEGORIES=	devel
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -24,7 +23,7 @@ USES=		bison cmake compiler:c++17-lang python:build
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 GH_ACCOUNT=	intel
-GH_TUPLE=	intel:vc-intrinsics:eabcd20:vcintrin/../vc-intrinsics
+GH_TUPLE=	intel:vc-intrinsics:d2a2184:vcintrin/../vc-intrinsics
 CMAKE_OFF=	INSTALL_SPIRVDLL
 CFLAGS+=	-Wno-macro-redefined # __fastcall
 PLIST_SUB=	ARCH_SUFX=${ARCH:S/i386/32/:S/amd//:S/x86_//}

Modified: head/devel/intel-graphics-compiler/distinfo
==============================================================================
--- head/devel/intel-graphics-compiler/distinfo	Fri Nov 13 20:33:15 2020	(r555047)
+++ head/devel/intel-graphics-compiler/distinfo	Fri Nov 13 20:33:26 2020	(r555048)
@@ -1,7 +1,7 @@
-TIMESTAMP = 1603209041
-SHA256 (intel-intel-graphics-compiler-igc-1.0.5353_GH0.tar.gz) = 8a7ebe4498b4777c55837ffbea75d2cff367fb31e1eeb44fbbe307fdb7cf26d6
-SIZE (intel-intel-graphics-compiler-igc-1.0.5353_GH0.tar.gz) = 6642256
-SHA256 (intel-vc-intrinsics-eabcd20_GH0.tar.gz) = 144f1f601618dfedf921ab6a0dbd864f1e995fa75c457a318acb9fa662f57e28
-SIZE (intel-vc-intrinsics-eabcd20_GH0.tar.gz) = 108426
+TIMESTAMP = 1604048906
+SHA256 (intel-intel-graphics-compiler-igc-1.0.5435_GH0.tar.gz) = 9dec70f57a7a65e8f8e041f72d4c50fe3f4bb3bef205e5173a3e1d8031176d55
+SIZE (intel-intel-graphics-compiler-igc-1.0.5435_GH0.tar.gz) = 6642724
+SHA256 (intel-vc-intrinsics-d2a2184_GH0.tar.gz) = ac7830e1aca51c17a88a3be06cf6f1cfe3e9126a233c5494a157466694f3b1d1
+SIZE (intel-vc-intrinsics-d2a2184_GH0.tar.gz) = 119029
 SHA256 (d878880cbb3b.patch) = f430b2da0d212594ce73f23b279a1435f08dea60f30ec35494411ab0dc0fcf70
 SIZE (d878880cbb3b.patch) = 9088

Added: head/devel/intel-graphics-compiler/files/patch-clang
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/intel-graphics-compiler/files/patch-clang	Fri Nov 13 20:33:26 2020	(r555048)
@@ -0,0 +1,20 @@
+Regressed by http://github.com/intel/intel-graphics-compiler/commit/d0874824631f
+
+IGC/VectorCompiler/lib/GenXCodeGen/GenXLowering.cpp:2601:12: error: reference to local binding 'IsSignedOps' declared in enclosing function '(anonymous namespace)::GenXLowering::lowerMulSat'
+    return IsSignedOps ? B.CreateSExt(Val, MulType, Val->getName() + ".sext")
+           ^
+IGC/VectorCompiler/lib/GenXCodeGen/GenXLowering.cpp:2581:22: note: 'IsSignedOps' declared here
+  auto [IsSignedRes, IsSignedOps] = IsSignedMulSat(IntrinsicID);
+                     ^
+
+--- IGC/VectorCompiler/lib/GenXCodeGen/GenXLowering.cpp.orig	2020-10-30 09:08:26 UTC
++++ IGC/VectorCompiler/lib/GenXCodeGen/GenXLowering.cpp
+@@ -2597,7 +2597,7 @@ bool GenXLowering::lowerMulSat(CallInst *CI, unsigned 
+         IGCLLVM::FixedVectorType::get(MulType, cast<VectorType>(OpType)->getNumElements());
+ 
+   IRBuilder<> B(CI);
+-  auto ExtendMulOperand = [&](Value *Val) {
++  auto ExtendMulOperand = [&, IsSignedOps=IsSignedOps](Value *Val) {
+     return IsSignedOps ? B.CreateSExt(Val, MulType, Val->getName() + ".sext")
+                        : B.CreateZExt(Val, MulType, Val->getName() + ".zext");
+   };

Modified: head/devel/intel-graphics-compiler/files/patch-unix
==============================================================================
--- head/devel/intel-graphics-compiler/files/patch-unix	Fri Nov 13 20:33:15 2020	(r555047)
+++ head/devel/intel-graphics-compiler/files/patch-unix	Fri Nov 13 20:33:26 2020	(r555048)
@@ -170,17 +170,6 @@ CMake Error at IGC/CMakeLists.txt:1974 (message):
  
  // Linux, Android
  #define MY_EXTERN_C    extern "C"
---- IGC/CMFE/AdaptorCM/InputArgsWrapper.cpp.orig	2020-08-29 06:30:46 UTC
-+++ IGC/CMFE/AdaptorCM/InputArgsWrapper.cpp
-@@ -55,7 +55,7 @@ void InputArgsWrapper::processSupportDirectories(const
-     return;
- 
- // TODO: enable this for Windows
--#if __linux__
-+#if !defined(_WIN32)
-   // process files
-   std::error_code EC;
-   SeqStrT IncludeFiles;
 --- IGC/GenISAIntrinsics/GenIntrinsics.h.orig	2020-02-10 06:06:31 UTC
 +++ IGC/GenISAIntrinsics/GenIntrinsics.h
 @@ -67,7 +67,7 @@ namespace GenISAIntrinsic {
@@ -223,7 +212,7 @@ CMake Error at IGC/CMakeLists.txt:1974 (message):
          if (!FCL_IGC_IS_FLAG_ENABLED(DumpToCurrentDir) && g_shaderOutputFolder == "" && !FCL_IGC_IS_FLAG_ENABLED(DumpToCustomDir))
          {
              bool needMkdir = true;
---- IGC/VectorCompiler/lib/GenXCodeGen/GenXWrapper.cpp.orig	2020-10-20 15:50:41 UTC
+--- IGC/VectorCompiler/lib/GenXCodeGen/GenXWrapper.cpp.orig	2020-10-30 09:08:26 UTC
 +++ IGC/VectorCompiler/lib/GenXCodeGen/GenXWrapper.cpp
 @@ -24,7 +24,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  
@@ -234,15 +223,15 @@ CMake Error at IGC/CMakeLists.txt:1974 (message):
  #include <dlfcn.h>
  #endif
  
-@@ -108,7 +108,7 @@ translateSPIRVToIR(ArrayRef<char> Input, ArrayRef<uint
-           void (*ErrSaver)(const char *pErrMsg, void *ErrUserData),
+@@ -121,7 +121,7 @@ translateSPIRVToIR(ArrayRef<char> Input, ArrayRef<uint
            void *ErrUserData);
  
+   const std::string SpirvLibPath = findSpirvDLL();
 -#if defined(__linux__)
 +#if defined(RTLD_DEEPBIND)
    // Hack to workaround cmoc crashes during loading of SPIRV library
-   static auto DeepBindHack = dlopen(SpirvLibName, RTLD_NOW | RTLD_DEEPBIND);
- #endif // __linux__
+   static auto DeepBindHack =
+       dlopen(SpirvLibPath.c_str(), RTLD_NOW | RTLD_DEEPBIND);
 --- IGC/common/LLVMWarningsPop.hpp.orig	2019-11-27 01:05:20 UTC
 +++ IGC/common/LLVMWarningsPop.hpp
 @@ -58,6 +58,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.



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