Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2021 15:34:43 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: 46e137c313c4 - main - math/highs: Remove tests from build
Message-ID:  <202106231534.15NFYhQ0094679@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=46e137c313c4bf218e7d741e1ebd02c8400b5020

commit 46e137c313c4bf218e7d741e1ebd02c8400b5020
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-06-23 15:34:02 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-06-23 15:34:41 +0000

    math/highs: Remove tests from build
---
 math/highs/files/patch-CMakeLists.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/math/highs/files/patch-CMakeLists.txt b/math/highs/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..f36788057713
--- /dev/null
+++ b/math/highs/files/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+- see https://github.com/ERGO-Code/HiGHS/issues/526
+
+--- CMakeLists.txt.orig	2021-06-23 15:29:24 UTC
++++ CMakeLists.txt
+@@ -304,7 +304,9 @@ endif()
+ # Targets
+ enable_testing()
+ add_subdirectory(app)
+-add_subdirectory(check)
++if (BUILD_TESTING)
++  add_subdirectory(check)
++endif()
+ add_subdirectory(src)
+ 
+ 



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