freebsd-ports/graphics/oidn/Makefile
Mark Linimon 38060666e1 Switch from BROKEN_i386 to ONLY_FOR_ARCHS=amd64.
This port makes use of SSE instructions, and Intel's documentation
only claims to support 64-bit x86.

Approved by:	portmgr (tier-2 blanket)
2019-10-01 09:38:47 +00:00

33 lines
865 B
Makefile

# $FreeBSD$
PORTNAME= oidn
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
COMMENT= Intel(R) Open Image Denoise library
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= Intel(R) MKL-DNN supports x86 64 bit platforms only (oidn contains a custom version of mkl-dnn, see math/mkl-dnn)
LIB_DEPENDS= libtbb.so:devel/tbb
USES= cmake:noninja compiler:c++11-lang python:build
USE_GITHUB= yes
GH_ACCOUNT= OpenImageDenoise
GH_TUPLE= OpenImageDenoise:oidn-weights:cd8e2ce:w/weights \
OpenImageDenoise:mkl-dnn:6241ac7:m/mkl-dnn
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
CMAKE_ARGS+= -DTBB_ROOT:STRING=${LOCALBASE} -DTBB_INCLUDE_DIR:STRING=${LOCALBASE}/include -DPYTHON_EXECUTABLE:STRING=${PYTHON_CMD}
DOCSDIR= share/doc/${GH_ACCOUNT}
.include <bsd.port.mk>