Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2021 19:24:52 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6f21954c274b - main - math/highs: Add test target, remove tests from build
Message-ID:  <202106171924.15HJOqiT068986@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit 6f21954c274bb4394b3f59879279497ddbb79747
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-06-17 18:51:46 +0000
Commit:     Yuri Victorovich <yuri@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106171924.15HJOqiT068986>