Commit 672021ea authored by Gleb Popov's avatar Gleb Popov
Browse files

lang/clover: remove port

parent 7e52cd86
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5349,3 +5349,4 @@ graphics/mesa-gallium-va|graphics/mesa-dri|2026-06-15|Merged into graphics/mesa-
graphics/mesa-gallium-vdpau|graphics/mesa-dri|2026-06-15|Merged into graphics/mesa-dri
graphics/libosmesa||2026-06-15|EOLed upstream
graphics/mesa-gallium-xa||2026-06-15|EOLed upstream
lang/clover||2026-06-14|EOLed upstream
+0 −1
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@
#
#    - graphics/mesa-dri
#    - graphics/mesa-libs
#    - lang/clover

MESAVERSION=	25.2.8

+0 −1
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@
    SUBDIR += clisp
    SUBDIR += clojure
    SUBDIR += clojure-mode.el
    SUBDIR += clover
    SUBDIR += cocor
    SUBDIR += coffeescript
    SUBDIR += colm

lang/clover/Makefile

deleted100644 → 0
+0 −67
Original line number Diff line number Diff line
PORTNAME=	clover
PORTVERSION=	${MESAVERSION}
PORTREVISION=	7
CATEGORIES=	lang

COMMENT=	Mesa OpenCL implementation for AMD GPUs
WWW=		https://dri.freedesktop.org/wiki/GalliumCompute/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/docs/license.rst

ONLY_FOR_ARCHS=	aarch64 amd64 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON=	needs a GPU supported by the AMDGPU KMS driver

BUILD_DEPENDS=	libclc-${LLVM_PORT:T}>0:devel/libclc@${LLVM_PORT:T} \
		spirv-tools>=0:graphics/spirv-tools \
		opencl>=0:devel/opencl
LIB_DEPENDS=	libOpenCL.so:devel/ocl-icd \
		libzstd.so:archivers/zstd
RUN_DEPENDS=	libclc-${LLVM_PORT:T}>0:devel/libclc@${LLVM_PORT:T} \
		opencl>=0:devel/opencl

USES=		llvm:lib,noexport

.include <bsd.port.options.mk>
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"

MESON_ARGS+=	-Dplatforms="" \
		-Dvulkan-drivers="" \
		-Dandroid-libbacktrace=disabled \
		-Dgallium-nine=false \
		-Dgallium-omx=disabled \
		-Dgallium-opencl=disabled \
		-Dgallium-va=disabled \
		-Dgallium-vdpau=disabled \
		-Dgallium-xa=disabled \
		-Dgles1=disabled \
		-Dgles2=disabled \
		-Dglvnd=disabled \
		-Dmicrosoft-clc=disabled \
		-Dopengl=false \
		-Dglx=disabled \
		-Degl=disabled \
		-Dgbm=disabled \
		-Dtools="" \
		-Dxlib-lease=disabled \
		-Dlmsensors=disabled \
		-Dvalgrind=disabled \
		-Dgallium-opencl=icd \
		-Dgallium-drivers=r600,radeonsi

LDFLAGS_i386=		-Wl,-znotext

CONFIGURE_ENV+=	PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig"

.if ${ARCH} != amd64
MESON_ARGS+=	-Dintel-rt=disabled # https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629
.endif

pre-patch:
	@if [ -e ${LOCALBASE}/bin/llvm-config${LLVM_VERSION} ] && \
		! [ -e ${LOCALBASE}/bin/clang${LLVM_VERSION} ]; then \
		${ECHO_MSG} "Your llvm${LLVM_VERSION} is not built with clang support, which is required."; \
		${FALSE}; \
	fi

.include <bsd.port.post.mk>

lang/clover/pkg-descr

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
This package contains Mesa's libOpenCL implementation "Clover".
It is built upon GALLIUM and currently only supports Radeon GPUs.
Loading