summaryrefslogtreecommitdiff
path: root/math/highs/Makefile
blob: 59940d95880152f808cab43f75bcb8f0fd476337 (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
29
30
31
32
33
34
PORTNAME=	highs
DISTVERSIONPREFIX=	v
DISTVERSION=	1.2.2
CATEGORIES=	math
PKGNAMEPREFIX=	coin-or-

PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES=	616280ac3f2a894cfcd138a9883a7e0df6355187.patch:-p1 # backport https://github.com/ERGO-Code/HiGHS/pull/817

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Solver for large scale sparse linear programming (LP) problems
WWW=		https://github.com/ERGO-Code/HiGHS

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

#LIB_DEPENDS=	libOsi.so:math/osi
CONFLICTS_BUILD=	coin-or-Osi # see https://github.com/ERGO-Code/HiGHS/issues/675

USES=		blaslapack cmake:testing compiler:c++11-lang pkgconfig

USE_GITHUB=	yes
GH_ACCOUNT=	ERGO-Code
GH_PROJECT=	HiGHS

CMAKE_OFF=	BUILD_TESTING

post-install: # see https://github.com/ERGO-Code/HiGHS/issues/502
	${RM} -r ${STAGEDIR}${PREFIX}/external

# tests fail to build on i386: undefined reference to fmax, see https://github.com/ERGO-Code/HiGHS/issues/505
# 2 tests fail: https://github.com/ERGO-Code/HiGHS/issues/525

.include <bsd.port.mk>