Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2020 17:51:24 +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: r536704 - in head: devel/intel-graphics-compiler devel/intel-graphics-compiler/files lang/intel-compute-runtime
Message-ID:  <202005271751.04RHpOOi037991@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed May 27 17:51:24 2020
New Revision: 536704
URL: https://svnweb.freebsd.org/changeset/ports/536704

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

Added:
  head/devel/intel-graphics-compiler/files/patch-llvm   (contents, props changed)
Deleted:
  head/devel/intel-graphics-compiler/files/patch-no-hardcode
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)
  head/lang/intel-compute-runtime/Makefile   (contents, props changed)

Modified: head/devel/intel-graphics-compiler/Makefile
==============================================================================
--- head/devel/intel-graphics-compiler/Makefile	Wed May 27 17:18:24 2020	(r536703)
+++ head/devel/intel-graphics-compiler/Makefile	Wed May 27 17:51:24 2020	(r536704)
@@ -2,7 +2,7 @@
 
 PORTNAME=	intel-graphics-compiler
 DISTVERSIONPREFIX=	igc-
-DISTVERSION=	1.0.3977
+DISTVERSION=	1.0.4053
 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	Wed May 27 17:18:24 2020	(r536703)
+++ head/devel/intel-graphics-compiler/distinfo	Wed May 27 17:51:24 2020	(r536704)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1588933907
-SHA256 (intel-intel-graphics-compiler-igc-1.0.3977_GH0.tar.gz) = 60641b21c01f97f4b2a1881f7562449c733fdde9108b7e4ad5be2b4db38ceae6
-SIZE (intel-intel-graphics-compiler-igc-1.0.3977_GH0.tar.gz) = 6042209
+TIMESTAMP = 1589867044
+SHA256 (intel-intel-graphics-compiler-igc-1.0.4053_GH0.tar.gz) = 9117399688b02f7cee51fccbd0f140921377c8250563f65ae92a1e9ed1abd717
+SIZE (intel-intel-graphics-compiler-igc-1.0.4053_GH0.tar.gz) = 5818791
 SHA256 (b4e40a433077.patch) = 56950deb485a4c1dc844f4864f42b80907919b61132b0e797f7955989fed0597
 SIZE (b4e40a433077.patch) = 9585

Added: head/devel/intel-graphics-compiler/files/patch-llvm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/intel-graphics-compiler/files/patch-llvm	Wed May 27 17:51:24 2020	(r536704)
@@ -0,0 +1,24 @@
+Don't look for libLLVM without llvm-config or LLVM.cmake help
+
+-- [IGC] LLVM targets are not defined. Searching for LLVM.
+-- [IGC] Using system LLVM 10.0.0
+CMake Error at IGC/CMakeLists.txt:3283 (message):
+  [IGC] Could not find the LLVM dylib.  Aborting.
+
+--- IGC/CMakeLists.txt.orig	2020-05-19 05:44:04 UTC
++++ IGC/CMakeLists.txt
+@@ -3278,12 +3278,8 @@ if(LLVM_LINK_LLVM_DYLIB)
+         set(IGC_BUILD__LLVM_LIBS_TO_LINK "${SET_LLVM_LIB_PATH}/libLLVM-${LLVM_VERSION_MAJOR}.so")
+         message(STATUS "[IGC] Link against specified LLVM dylib ${IGC_BUILD__LLVM_LIBS_TO_LINK}")
+     else()
+-        find_library(IGC_BUILD__LLVM_LIBS_TO_LINK "libLLVM-${LLVM_VERSION_MAJOR}.so")
+-        if(IGC_BUILD__LLVM_LIBS_TO_LINK)
+-          message(STATUS "[IGC] Link against found LLVM dylib ${IGC_BUILD__LLVM_LIBS_TO_LINK}")
+-        else()
+-          message(FATAL_ERROR "[IGC] Could not find the LLVM dylib. Aborting.")
+-        endif()
++        set(IGC_BUILD__LLVM_LIBS_TO_LINK "LLVM")
++        message(STATUS "[IGC] Link against LLVM dylib")
+     endif()
+ 
+ else()

Modified: head/devel/intel-graphics-compiler/files/patch-unix
==============================================================================
--- head/devel/intel-graphics-compiler/files/patch-unix	Wed May 27 17:18:24 2020	(r536703)
+++ head/devel/intel-graphics-compiler/files/patch-unix	Wed May 27 17:51:24 2020	(r536704)
@@ -137,7 +137,7 @@ CMake Error at IGC/CMakeLists.txt:1974 (message):
              if (!IGC_IS_FLAG_ENABLED(DumpToCurrentDir) && g_shaderOutputFolder == "" && !IGC_IS_FLAG_ENABLED(DumpToCustomDir))
              {
                  bool needMkdir = false;
---- IGC/AdaptorOCL/CLElfLib/CLElfTypes.h.orig	2019-11-27 01:05:20 UTC
+--- IGC/AdaptorOCL/CLElfLib/CLElfTypes.h.orig	2020-05-19 05:44:04 UTC
 +++ IGC/AdaptorOCL/CLElfLib/CLElfTypes.h
 @@ -30,7 +30,7 @@ Abstract:  Defines the types used for ELF headers/sect
  \******************************************************************************/
@@ -146,15 +146,6 @@ CMake Error at IGC/CMakeLists.txt:1974 (message):
 -#if defined(__linux__) && defined(OGL)
 +#if !defined(__APPLE__) && !defined(_WIN32) && defined(OGL)
      #include "os_inc.h"
- #endif
- 
-@@ -38,7 +38,7 @@ Abstract:  Defines the types used for ELF headers/sect
-     #include <inttypes.h>
- #endif
- 
--#if defined(__linux__)
-+#if !defined(__APPLE__) && !defined(_WIN32)
-     #include "elf.h"
  #endif
  
 --- IGC/AdaptorOCL/DriverInfoOCL.hpp.orig	2020-02-22 05:52:18 UTC

Modified: head/lang/intel-compute-runtime/Makefile
==============================================================================
--- head/lang/intel-compute-runtime/Makefile	Wed May 27 17:18:24 2020	(r536703)
+++ head/lang/intel-compute-runtime/Makefile	Wed May 27 17:51:24 2020	(r536704)
@@ -2,6 +2,7 @@
 
 PORTNAME=	compute-runtime
 DISTVERSION=	20.20.16837
+PORTREVISION=	1
 CATEGORIES=	lang
 PKGNAMEPREFIX=	intel-
 



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