mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
44 lines
932 B
Makefile
44 lines
932 B
Makefile
# Created by: Johannes Dieterich <dieterich@ogolem.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= clrng
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.0.0-beta
|
|
PORTREVISION= 3
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= jmd@FreeBSD.org
|
|
COMMENT= Library for uniform random number generation in OpenCL
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64
|
|
ONLY_FOR_ARCHS_REASON= this code has only been tested on x86 and powerpc platforms
|
|
|
|
BUILD_DEPENDS= opencl>=0:devel/opencl
|
|
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
|
|
RUN_DEPENDS= opencl>=0:devel/opencl
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= clMathLibraries
|
|
GH_PROJECT= clRNG
|
|
|
|
USES= cmake compiler:c++11-lang
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS+= -DBUILD_CLIENT=OFF \
|
|
-DBUILD_TEST=OFF \
|
|
-DSUFFIX_LIB="" \
|
|
-DSUFFIX_BIN=""
|
|
|
|
CMAKE_SOURCE_PATH= ${WRKSRC}/src
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
|
CFLAGS+= -Wno-expansion-to-defined
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|