1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

lang/clover: enable on aarch64

drm-510-kmod (amdgpu.ko) provides AMD GPU support on aarch64.

PR:		269372
Tested by:	ronald
Approved by:	manu
This commit is contained in:
Jan Beich 2023-02-06 15:04:48 +00:00
parent 1d3f89a8b9
commit b3e7e59419
2 changed files with 2 additions and 4 deletions

View File

@ -123,9 +123,7 @@ OPENCL_MESON_TRUE= gallium-rusticl
OPENCL_MESON_ON= -Dgallium-opencl=icd
OPENCL_MESON_OFF= -Dgallium-opencl=disabled
OPENCL_VARS= LLVM_USES=llvm:15,lib,noexport # chase libclc + rust (LTO)
.if ${MACHINE_ARCH} != aarch64 # XXX missing in ONLY_FOR_ARCHS
OPENCL_VARS+= COINST_RUN_DEPENDS+=clover>0:lang/clover # ICD
.endif
OPENCL_IMPLIES= LLVM ${"${PORT_OPTIONS:Miris}":?iris:radeonsi} # any from OPTIONS_GROUP_GALLIUM
VAAPI_DESC= Hardware encoding/decoding (only r600, radeonsi)

View File

@ -8,8 +8,8 @@ WWW= https://dri.freedesktop.org/wiki/GalliumCompute/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/docs/license.rst
ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= needs a GPU supported by the Radeon KMS driver
ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= needs a GPU supported by the AMDGPU KMS driver
BUILD_DEPENDS= libclc>=0.3.0:devel/libclc \
opencl>=0:devel/opencl