summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-03-15 17:28:43 +0000
committerJan Beich <jbeich@FreeBSD.org>2022-03-16 11:35:13 +0000
commitc01cbe520a5151b90db9d8c76f173c288d9bdacc (patch)
tree30c670cb4f91a0f11c0bac1c6184a5d8d417465f
parentmultimedia/gmmlib: update to 22.1.0 (diff)
devel/intel-graphics-compiler: enable on aarch64
-rw-r--r--devel/intel-graphics-compiler/Makefile5
-rw-r--r--devel/intel-graphics-compiler/distinfo2
2 files changed, 5 insertions, 2 deletions
diff --git a/devel/intel-graphics-compiler/Makefile b/devel/intel-graphics-compiler/Makefile
index 068685417e66..20dedd321cd0 100644
--- a/devel/intel-graphics-compiler/Makefile
+++ b/devel/intel-graphics-compiler/Makefile
@@ -7,6 +7,7 @@ PKGNAMESUFFIX= -${FLAVOR}
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= aa7df33aebe0.patch:-p1 # https://github.com/intel/intel-graphics-compiler/pull/210
PATCHFILES+= 35c947c2631e.patch:-p1 # https://github.com/intel/intel-graphics-compiler/issues/142
+PATCHFILES+= eda4042be98c.patch:-p1 # aarch64
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Intel Graphics Compiler for OpenCL
@@ -14,7 +15,7 @@ COMMENT= Intel Graphics Compiler for OpenCL
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-ONLY_FOR_ARCHS= amd64 i386
+ONLY_FOR_ARCHS= aarch64 amd64 i386
ONLY_FOR_ARCHS_REASON= only Intel GPUs on x86 are supported
BUILD_DEPENDS= vc-intrinsics-${FLAVOR}>=s20210730:devel/vc-intrinsics@${FLAVOR}
@@ -36,7 +37,7 @@ CMAKE_ARGS= -DCMAKE_PREFIX_PATH:PATH="${LOCALBASE}/${FLAVOR}" \
-DIGC_OPTION__LLVM_PREFERRED_VERSION:STRING="${FLAVOR:S/llvm//}" \
-DIGC_OPTION__VC_INTRINSICS_MODE:STRING=Prebuilds
CFLAGS+= -Wno-macro-redefined # __fastcall
-PLIST_SUB= ARCH_SUFX=${ARCH:S/i386/32/:S/amd//:S/x86_//}
+PLIST_SUB= ARCH_SUFX=${ARCH:S/aarch//:S/amd//:S/i386/32/:S/x86_//}
post-patch:
# lang/python* don't install unsuffixed symlinks
diff --git a/devel/intel-graphics-compiler/distinfo b/devel/intel-graphics-compiler/distinfo
index 081da8748464..758f9ad9089b 100644
--- a/devel/intel-graphics-compiler/distinfo
+++ b/devel/intel-graphics-compiler/distinfo
@@ -9,3 +9,5 @@ SHA256 (aa7df33aebe0.patch) = b2da1a00ac59ce7e98fd6cfb554f8974b1500bc1b997338718
SIZE (aa7df33aebe0.patch) = 2242
SHA256 (35c947c2631e.patch) = fea59a67ebba1debed6d4948139184ba8677989c1b966794ac60161936846153
SIZE (35c947c2631e.patch) = 3354
+SHA256 (eda4042be98c.patch) = 86ab33d47e27a3e3c69a3dd0f0be730ca03c4bfe5307e35d3d4815ce2b9f1596
+SIZE (eda4042be98c.patch) = 39031