Changeset View
Changeset View
Standalone View
Standalone View
lang/clover/Makefile
Show All 11 Lines | |||||
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd | LIB_DEPENDS= libOpenCL.so:devel/ocl-icd | ||||
RUN_DEPENDS= libclc>=0.3.0:devel/libclc \ | RUN_DEPENDS= libclc>=0.3.0:devel/libclc \ | ||||
opencl>=0:devel/opencl | opencl>=0:devel/opencl | ||||
ONLY_FOR_ARCHS= i386 amd64 | ONLY_FOR_ARCHS= i386 amd64 | ||||
ONLY_FOR_ARCHS_REASON= Clover needs a GPU supported by the Radeon KMS driver | ONLY_FOR_ARCHS_REASON= Clover needs a GPU supported by the Radeon KMS driver | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${LLVM_DEFAULT:S,-devel,990,} >= 90 | |||||
LLVM_DEFAULT= 80 | |||||
.endif | |||||
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" | .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" | ||||
CONFIGURE_ARGS+= --enable-opencl --enable-opencl-icd --disable-dri \ | CONFIGURE_ARGS+= --enable-opencl --enable-opencl-icd --disable-dri \ | ||||
--disable-egl --disable-gbm --disable-gles2 --disable-glx \ | --disable-egl --disable-gbm --disable-gles2 --disable-glx \ | ||||
--disable-va --disable-vdpau --disable-xvmc \ | --disable-va --disable-vdpau --disable-xvmc \ | ||||
--with-gallium-drivers=r600,radeonsi # only supported GPUs | --with-gallium-drivers=r600,radeonsi # only supported GPUs | ||||
LDFLAGS_i386= -Wl,-znotext | LDFLAGS_i386= -Wl,-znotext | ||||
Show All 13 Lines |