math/highs: Add test target, remove tests from build

i386 should be fixed now because the failure was during the test execitable build.
This commit is contained in:
Yuri Victorovich 2021-06-17 11:51:46 -07:00
parent 3485fe8b82
commit 6f21954c27

View file

@ -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>