git: 6f21954c274b - main - math/highs: Add test target, remove tests from build

Yuri Victorovich yuri at FreeBSD.org
Thu Jun 17 19:24:52 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6f21954c274bb4394b3f59879279497ddbb79747

commit 6f21954c274bb4394b3f59879279497ddbb79747
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-06-17 18:51:46 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-06-17 19:24:48 +0000

    math/highs: Add test target, remove tests from build
    
    i386 should be fixed now because the failure was during the test execitable build.
---
 math/highs/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/math/highs/Makefile b/math/highs/Makefile
index a1902ae5df05..fb53a5be7990 100644
--- a/math/highs/Makefile
+++ b/math/highs/Makefile
@@ -10,18 +10,21 @@ COMMENT=	Solver for large scale sparse linear programming (LP) problems
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_i386=	undefined reference to fmax, see https://github.com/ERGO-Code/HiGHS/issues/505
-
 LIB_DEPENDS=	libOsi.so:math/osi
 
-USES=		blaslapack cmake compiler:c++11-lang pkgconfig
+USES=		blaslapack cmake:testing compiler:c++11-lang pkgconfig
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	ERGO-Code
 GH_PROJECT=	HiGHS
 GH_TAGNAME=	cfe064e
 
+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>


More information about the dev-commits-ports-main mailing list