pkgsrc/devel/polly/Makefile
adam 4543627601 polly: updated to 10.0.0
In Polly 10 the following important changes have been incorporated.

The mechanism that Polly uses to link itself statically into the opt, bugpoint and clang executables has been generalized such that it can be used by other pass plugins. An example plugin “Bye” has been added to LLVM to illustate the mechanism.
Some ScopInfo methods that are only relevant during SCoP construction have been moved into the ScopBuilder class. In addition to making it clearer which methods can only be used during the construction phase, the refactoring helps shrinking the size of the public header ScopInfo.h.
2020-04-18 08:01:43 +00:00

31 lines
730 B
Makefile

# $NetBSD: Makefile,v 1.19 2020/04/18 08:01:43 adam Exp $
.include "../../lang/llvm/version.mk"
DISTNAME= polly-${LLVM_VERSION}.src
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://polly.llvm.org/
COMMENT= Polyhedral optimizations for LLVM
LICENSE= apache-2.0
DEPENDS+= llvm-${PKGVERSION_NOREV}{,nb*}:../../lang/llvm
CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}
USE_LANGUAGES= c c++14
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:
${MKDIR} ${WRKDIR}/build
.include "../../lang/llvm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"