git: b3e7e5941966 - main - lang/clover: enable on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Dec 2023 08:08:52 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=b3e7e5941966af8d1bf87ec2ee537865acbf7c0e commit b3e7e5941966af8d1bf87ec2ee537865acbf7c0e Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-02-06 15:04:48 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-12-01 08:08:43 +0000 lang/clover: enable on aarch64 drm-510-kmod (amdgpu.ko) provides AMD GPU support on aarch64. PR: 269372 Tested by: ronald Approved by: manu --- graphics/mesa-devel/Makefile | 2 -- lang/clover/Makefile | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile index c087ac8a700a..985f44748390 100644 --- a/graphics/mesa-devel/Makefile +++ b/graphics/mesa-devel/Makefile @@ -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) diff --git a/lang/clover/Makefile b/lang/clover/Makefile index f38c41a5cda4..4b5b41604d07 100644 --- a/lang/clover/Makefile +++ b/lang/clover/Makefile @@ -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