79d51c6dab
LLVM 5.0.1: This release contains bug-fixes for the LLVM 5.0.0 release. This release is API and ABI compatible with 5.0.0.
31 lines
770 B
Makefile
31 lines
770 B
Makefile
# $NetBSD: Makefile,v 1.8 2017/12/30 10:39:24 adam Exp $
|
|
|
|
DISTNAME= polly-5.0.1.src
|
|
PKGNAME= ${DISTNAME:S/.src//}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://polly.llvm.org/
|
|
COMMENT= Polyhedral optimizations for LLVM
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= llvm-${PKGVERSION_NOREV}{,nb*}:../../lang/llvm
|
|
|
|
CONFIGURE_DIRS= ${WRKDIR}/build
|
|
CMAKE_ARG_PATH= ${WRKSRC}
|
|
|
|
USE_LANGUAGES= c c++11
|
|
USE_CMAKE= yes
|
|
GCC_REQD+= 4.8
|
|
|
|
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
|
|
CMAKE_ARGS+= -DCMAKE_C_COMPILER=${CC:Q}
|
|
CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${CXX:Q}
|
|
|
|
post-extract:
|
|
${RUN} mkdir -p ${WRKDIR}/build
|
|
|
|
.include "../../lang/llvm/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|