aboutsummaryrefslogtreecommitdiff
path: root/math/cppad/Makefile
blob: 8c76927a3a2ad8f890d9848db6a8c0b8acff4081 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PORTNAME=	cppad
DISTVERSION=	20260000.0
CATEGORIES=	math
PKGNAMEPREFIX=	coin-or-

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ Algorithmic Differentiation package
WWW=		https://coin-or.github.io/CppAD/doc/cppad.htm \
		https://github.com/coin-or/CppAD

LICENSE=	EPL

USES=		cmake compiler:c++11-lang eigen:3,run pkgconfig
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	coin-or
GH_PROJECT=	CppAD

CMAKE_ARGS=	-Dcppad_prefix=${PREFIX}

LDFLAGS+=	-pthread

TEST_TARGET=	check

# tests as of 20250000.1: tests break in the middle, see https://github.com/coin-or/CppAD/issues/222

.include <bsd.port.mk>