View | Details | Raw Unified | Return to bug 250336
Collapse All | Expand All

(-)Makefile (-4 / +5 lines)
Lines 6-11 Link Here
6
6
7
COMMENT=	Mesa OpenCL implementation for AMD GPUs
7
COMMENT=	Mesa OpenCL implementation for AMD GPUs
8
8
9
ONLY_FOR_ARCHS=		amd64 i386
10
ONLY_FOR_ARCHS_REASON=	Clover needs a GPU supported by the Radeon KMS driver
11
9
BUILD_DEPENDS=	libclc>=0.3.0:devel/libclc \
12
BUILD_DEPENDS=	libclc>=0.3.0:devel/libclc \
10
		opencl>=0:devel/opencl
13
		opencl>=0:devel/opencl
11
LIB_DEPENDS=	libOpenCL.so:devel/ocl-icd \
14
LIB_DEPENDS=	libOpenCL.so:devel/ocl-icd \
Lines 13-21 Link Here
13
RUN_DEPENDS=	libclc>=0.3.0:devel/libclc \
16
RUN_DEPENDS=	libclc>=0.3.0:devel/libclc \
14
		opencl>=0:devel/opencl
17
		opencl>=0:devel/opencl
15
18
16
ONLY_FOR_ARCHS=		i386 amd64
17
ONLY_FOR_ARCHS_REASON=	Clover needs a GPU supported by the Radeon KMS driver
18
19
.include <bsd.port.options.mk>
19
.include <bsd.port.options.mk>
20
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"
20
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"
21
21
Lines 39-45 Link Here
39
		-Dgallium-opencl=icd \
39
		-Dgallium-opencl=icd \
40
		-Dgallium-drivers=r600,radeonsi
40
		-Dgallium-drivers=r600,radeonsi
41
41
42
LDFLAGS_i386=		-Wl,-znotext
42
LDFLAGS+=	-fuse-ld=lld
43
LDFLAGS_i386=	-Wl,-znotext
43
44
44
.include "${MASTERDIR}/Makefile.targets"
45
.include "${MASTERDIR}/Makefile.targets"
45
46

Return to bug 250336