mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 17:50:31 -04:00
The option implied a dependency on gcc but clang got openmp support long ago. Remove compiler:openmp from Mk/Uses/compiler.mk For ports using USE=compiler:openmp, just remove it and make them build with clang. Fix conditionals when necessary Bump PORTREVISION where appropriate If problem arises, they can be addressed by using USE_GCC=yes An update to the Porter's Handbook will follow. Approved by: portmgr (bapt) Differential Revision: https://reviews.freebsd.org/D31971
32 lines
825 B
Makefile
32 lines
825 B
Makefile
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
|
|
PORTNAME= theano
|
|
DISTVERSION= 1.0.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= math python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Theano-${DISTVERSION}
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
COMMENT= Optimizing compiler for evaluating math expressions on CPUs and GPUs
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}scipy>=0.8.0:science/py-scipy@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= concurrent distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= CXX=${CXX}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|; s|python |${PYTHON_CMD} |' \
|
|
${WRKSRC}/theano/misc/check_blas_many.sh
|
|
|
|
.include <bsd.port.mk>
|