defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
39 lines
987 B
Makefile
39 lines
987 B
Makefile
# Created by: David Kalliecharan <dave@dal.ca>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= llvmlite
|
|
DISTVERSION= 0.25.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= dave@dal.ca
|
|
COMMENT= Lightweight LLVM python binding for writing JIT compilers
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN_powerpc64= fails to compile: clang++: not found
|
|
|
|
BUILD_DEPENDS= ${PY_ENUM34}
|
|
RUN_DEPENDS= ${PY_ENUM34}
|
|
LIB_DEPENDS= libLLVM-6.0.so:devel/llvm60
|
|
|
|
# Python 2.7,3.4+
|
|
USES= python fortran
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
# devel/llvm60 required as of version 0.23.0
|
|
LLVM_VER= 60
|
|
MAKE_ENV= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER}
|
|
|
|
post-patch:
|
|
# Requried, because Makefile.freebsd does not see VARS from this Makefile
|
|
@${REINPLACE_CMD} -e "s|%%_GCC_VER%%|${_GCC_VER}|" \
|
|
${WRKSRC}/ffi/Makefile.freebsd
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/llvmlite/binding/libllvmlite.so
|
|
|
|
.include <bsd.port.mk>
|