32 lines
792 B
Makefile
32 lines
792 B
Makefile
# $NetBSD: Makefile,v 1.5 2019/10/24 11:52:21 tnn Exp $
|
|
|
|
DISTNAME= openmp-9.0.0.src
|
|
PKGREVISION= 1
|
|
PKGNAME= ${DISTNAME:S/.src//}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://releases.llvm.org/${PKGVERSION_NOREV}/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://openmp.llvm.org/
|
|
COMMENT= Support for the OpenMP language
|
|
LICENSE= apache-2.0
|
|
|
|
CONFIGURE_DIRS= ${WRKDIR}/build
|
|
CMAKE_ARG_PATH= ${WRKSRC}
|
|
|
|
USE_LANGUAGES= c c++11
|
|
USE_CMAKE= yes
|
|
USE_TOOLS+= perl pkg-config
|
|
GCC_REQD+= 4.8
|
|
|
|
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
|
|
CMAKE_ARGS+= -DCMAKE_C_COMPILER=${CC:Q}
|
|
CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${CXX:Q}
|
|
CMAKE_ARGS+= -DOPENMP_ENABLE_LIBOMPTARGET=OFF
|
|
|
|
post-extract:
|
|
${MKDIR} ${WRKDIR}/build
|
|
|
|
.include "../../lang/llvm/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|