aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-12-24 22:51:57 +0000
committerJan Beich <jbeich@FreeBSD.org>2022-01-04 00:28:30 +0000
commitcde965f8a0e4658f3abba4a6848b5a1b1992a21e (patch)
tree10ea8c1b9e27e3e392031339b23d4dab430e51fc
parent7216c1d263e896b8dca8b16de0d70a92eedbc35a (diff)
downloadports-cde965f8a0e4658f3abba4a6848b5a1b1992a21e.tar.gz
ports-cde965f8a0e4658f3abba4a6848b5a1b1992a21e.zip
devel/intel-graphics-compiler: update to 1.0.9933
-rw-r--r--devel/intel-graphics-compiler/Makefile9
-rw-r--r--devel/intel-graphics-compiler/distinfo6
2 files changed, 9 insertions, 6 deletions
diff --git a/devel/intel-graphics-compiler/Makefile b/devel/intel-graphics-compiler/Makefile
index 3fd17577416b..832389fb1b05 100644
--- a/devel/intel-graphics-compiler/Makefile
+++ b/devel/intel-graphics-compiler/Makefile
@@ -1,6 +1,6 @@
PORTNAME= intel-graphics-compiler
DISTVERSIONPREFIX= igc-
-DISTVERSION= 1.0.9636
+DISTVERSION= 1.0.9933
CATEGORIES= devel
PKGNAMESUFFIX= -${FLAVOR}
@@ -18,7 +18,8 @@ ONLY_FOR_ARCHS_REASON= only Intel GPUs on x86 are supported
BUILD_DEPENDS= vc-intrinsics-${FLAVOR}>=s20210730:devel/vc-intrinsics@${FLAVOR}
LIB_DEPENDS= libLLVM-${FLAVOR:S/llvm//}.so:devel/${FLAVOR} \
- libopencl-clang.so.${FLAVOR:S/llvm//}:devel/opencl-clang@${FLAVOR}
+ libopencl-clang.so.${FLAVOR:S/llvm//}:devel/opencl-clang@${FLAVOR} \
+ libLLVMSPIRVLib.so.${FLAVOR:S/llvm//}:devel/spirv-llvm-translator@${FLAVOR}
FLAVORS= ${12 11:L:S/^/llvm/}
@@ -30,7 +31,6 @@ USE_LDCONFIG= yes
GH_ACCOUNT= intel
GH_TUPLE= KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-123-g814e728:headers/../SPIRV-Headers \
KhronosGroup:SPIRV-Tools:v2021.4:tools/../SPIRV-Tools
-CMAKE_OFF= INSTALL_SPIRVDLL
CMAKE_ARGS= -DCMAKE_PREFIX_PATH:PATH="${LOCALBASE}/${FLAVOR}" \
-DIGC_OPTION__LLVM_PREFERRED_VERSION:STRING="${FLAVOR:S/llvm//}"
CFLAGS+= -Wno-macro-redefined # __fastcall
@@ -48,5 +48,8 @@ post-patch:
@${REINPLACE_CMD} -e 's/"-Werror"//; /-Werror/d' \
-e 's/"-g"//' \
${WRKSRC}/IGC/CMakeLists.txt
+# Search LLVMSPIRVLib.pc where devel/spirv-llvm-translator installs
+ @${REINPLACE_CMD} -e '/pkgconfig/s,$${_libdir},&/../libdata,' \
+ ${WRKSRC}/IGC/cmake/modules/FindSPIRVLLVMTranslator.cmake
.include <bsd.port.mk>
diff --git a/devel/intel-graphics-compiler/distinfo b/devel/intel-graphics-compiler/distinfo
index fe2d7ac106ef..e1253b4a7460 100644
--- a/devel/intel-graphics-compiler/distinfo
+++ b/devel/intel-graphics-compiler/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1638269145
-SHA256 (intel-intel-graphics-compiler-igc-1.0.9636_GH0.tar.gz) = be8d1b162b838da8eb141ef103e136874c4542a8c80f3d1fd0f27ce1aadaf485
-SIZE (intel-intel-graphics-compiler-igc-1.0.9636_GH0.tar.gz) = 7991987
+TIMESTAMP = 1640386317
+SHA256 (intel-intel-graphics-compiler-igc-1.0.9933_GH0.tar.gz) = 8454576d59df97c651c2eb206ac15fe8a2f8afc5600a295b03aa07ea598ce63f
+SIZE (intel-intel-graphics-compiler-igc-1.0.9933_GH0.tar.gz) = 8133094
SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-123-g814e728_GH0.tar.gz) = e4880dccda018f63cdc684afd5e51972d8ad2e3f21e9bab346a865370ea2929e
SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-123-g814e728_GH0.tar.gz) = 416402
SHA256 (KhronosGroup-SPIRV-Tools-v2021.4_GH0.tar.gz) = d68de260708dda785d109ff1ceeecde2d2ab71142fa5bf59061bb9f47dd3bb2c