mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
40 lines
998 B
Makefile
40 lines
998 B
Makefile
# Created by: David Kalliecharan <dave@dal.ca>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= llvmlite
|
|
DISTVERSION= 0.23.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= concurrent 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>
|