PORTNAME= thrust DISTVERSION= 1.9.5 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= C++ parallel programming library which resembles the C++ STL WWW= https://thrust.github.io/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake .if !exists(/usr/include/omp.h) USES+= compiler:gcc-c++11-lib .endif USE_GITHUB= yes NO_ARCH= yes do-test: # tests freeze: https://github.com/thrust/thrust/issues/981 @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DENABLE_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include