git: 2f7a6aed9be0 - main - math/SoPlex: Update 4.0.1 -> 5.0.2

Yuri Victorovich yuri at FreeBSD.org
Sat Jul 31 21:19:46 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f7a6aed9be0c50c3dce2bc15336af4e1a8d10aa

commit 2f7a6aed9be0c50c3dce2bc15336af4e1a8d10aa
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-07-31 20:58:21 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-07-31 21:19:37 +0000

    math/SoPlex: Update 4.0.1 -> 5.0.2
    
    Also:
    * Add MPFR option.
    * Add 'test' target.
---
 math/SCIP/Makefile                         |  1 +
 math/SoPlex/Makefile                       | 15 +++++++--
 math/SoPlex/distinfo                       |  6 ++--
 math/SoPlex/files/patch-CMakeLists.txt     | 13 ++++++++
 math/SoPlex/files/patch-src_CMakeLists.txt | 10 +++---
 math/SoPlex/pkg-plist                      | 49 +++++++++++++++++++++++++++++-
 6 files changed, 83 insertions(+), 11 deletions(-)

diff --git a/math/SCIP/Makefile b/math/SCIP/Makefile
index 0735378a6eb9..991cb2ead0ad 100644
--- a/math/SCIP/Makefile
+++ b/math/SCIP/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	SCIP
 DISTVERSION=	7.0.2
+PORTREVISION=	1
 CATEGORIES=	math science
 MASTER_SITES=	https://www.scipopt.org/download/release/
 DISTNAME=	${PORTNAME:tl}-${DISTVERSION}
diff --git a/math/SoPlex/Makefile b/math/SoPlex/Makefile
index f997ff626401..442089078580 100644
--- a/math/SoPlex/Makefile
+++ b/math/SoPlex/Makefile
@@ -1,8 +1,7 @@
 # Created by: Yuri Victorovich <yuri at FreeBSD.org>
 
 PORTNAME=	SoPlex
-DISTVERSION=	4.0.1
-PORTREVISION=	1
+DISTVERSION=	5.0.2
 CATEGORIES=	math science
 MASTER_SITES=	http://soplex.zib.de/download/release/
 DISTNAME=	${PORTNAME:tl}-${DISTVERSION}
@@ -15,10 +14,20 @@ LICENSE_NAME=	ZIB ACADEMIC LICENSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 LICENSE_PERMS=	no-dist-mirror no-pkg-mirror no-auto-accept
 
-LIB_DEPENDS=	libgmp.so:math/gmp
+LIB_DEPENDS=	libboost_program_options.so:devel/boost-libs \
+		libgmp.so:math/gmp
 
 USES=		cmake compiler:c++11-lang tar:tgz
 USE_LDCONFIG=	yes
+
+TEST_TARGET=	test
+
 PLIST_SUB=	SHL4=${DISTVERSION}.0 SHL2=${DISTVERSION:R}
 
+OPTIONS_DEFINE=		MPFR
+
+MPFR_DESC=		Use MPFR for multiple-precision floating-point numbers
+MPFR_CMAKE_BOOL=	MPFR
+MPFR_LIB_DEPENDS=	libmpfr.so:math/mpfr
+
 .include <bsd.port.mk>
diff --git a/math/SoPlex/distinfo b/math/SoPlex/distinfo
index d09487e3f433..a4d2cc258995 100644
--- a/math/SoPlex/distinfo
+++ b/math/SoPlex/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1548093583
-SHA256 (soplex-4.0.1.tgz) = afba447ec9b6c7a1028467fe49ec4008f4052186da1be49e4822a2469304d4a7
-SIZE (soplex-4.0.1.tgz) = 959243
+TIMESTAMP = 1627695735
+SHA256 (soplex-5.0.2.tgz) = eaaf3b1d0e8832b25e9f4c1e44bd935c869a487b26e86c2c41856f850b22f4dd
+SIZE (soplex-5.0.2.tgz) = 984244
diff --git a/math/SoPlex/files/patch-CMakeLists.txt b/math/SoPlex/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..3110dc26d27d
--- /dev/null
+++ b/math/SoPlex/files/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+- Allow shared libraries by removing CMAKE_CXX_VISIBILITY_PRESET=hidden.
+
+--- CMakeLists.txt.orig	2021-07-31 19:54:04 UTC
++++ CMakeLists.txt
+@@ -68,7 +68,7 @@ set(CMAKE_MACOSX_RPATH ON)
+ set(CMAKE_CXX_STANDARD 11)
+ 
+ # set function visibility default to hidden
+-set(CMAKE_CXX_VISIBILITY_PRESET hidden)
++#set(CMAKE_CXX_VISIBILITY_PRESET hidden)
+ set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
+ 
+ # create a target for updating the current git hash
diff --git a/math/SoPlex/files/patch-src_CMakeLists.txt b/math/SoPlex/files/patch-src_CMakeLists.txt
index 561781886549..eebf23d1c6d4 100644
--- a/math/SoPlex/files/patch-src_CMakeLists.txt
+++ b/math/SoPlex/files/patch-src_CMakeLists.txt
@@ -1,7 +1,9 @@
---- src/CMakeLists.txt.orig	2018-07-03 09:33:09 UTC
+- Change to shared libraries.
+
+--- src/CMakeLists.txt.orig	2021-05-27 15:31:06 UTC
 +++ src/CMakeLists.txt
-@@ -158,7 +158,7 @@ set(headers
-     soplex/wallclocktimer.h)
+@@ -119,7 +119,7 @@ file(GLOB headers
+ )
  
      # create soplex library with pic
 -    add_library(libsoplex-pic STATIC ${sources})
@@ -9,7 +11,7 @@
      set_target_properties(libsoplex-pic PROPERTIES
      POSITION_INDEPENDENT_CODE on
      VERSION ${SOPLEX_VERSION_MAJOR}.${SOPLEX_VERSION_MINOR}.${SOPLEX_VERSION_PATCH}.${SOPLEX_VERSION_SUB}
-@@ -167,7 +167,7 @@ add_dependencies(libsoplex-pic soplex_up
+@@ -128,7 +128,7 @@ add_dependencies(libsoplex-pic soplex_update_githash)
  target_link_libraries(libsoplex-pic ${libs})
  
  # create soplex library without pic
diff --git a/math/SoPlex/pkg-plist b/math/SoPlex/pkg-plist
index 5837f9e1ecfe..5c7574857959 100644
--- a/math/SoPlex/pkg-plist
+++ b/math/SoPlex/pkg-plist
@@ -1,9 +1,13 @@
 bin/soplex
 include/soplex.h
+include/soplex.hpp
+include/soplex/args.hpp
 include/soplex/array.h
 include/soplex/basevectors.h
+include/soplex/changesoplex.hpp
 include/soplex/classarray.h
 include/soplex/clufactor.h
+include/soplex/clufactor.hpp
 include/soplex/clufactor_rational.h
 include/soplex/cring.h
 include/soplex/dataarray.h
@@ -14,12 +18,13 @@ include/soplex/didxset.h
 include/soplex/dsvector.h
 include/soplex/dsvectorbase.h
 include/soplex/dvector.h
-include/soplex/dvectorbase.h
+include/soplex/enter.hpp
 include/soplex/exceptions.h
 include/soplex/gzstream.h
 include/soplex/idlist.h
 include/soplex/idxset.h
 include/soplex/islist.h
+include/soplex/leave.hpp
 include/soplex/lpcol.h
 include/soplex/lpcolbase.h
 include/soplex/lpcolset.h
@@ -37,62 +42,104 @@ include/soplex/ratrecon.h
 include/soplex/slinsolver.h
 include/soplex/slinsolver_rational.h
 include/soplex/slufactor.h
+include/soplex/slufactor.hpp
 include/soplex/slufactor_rational.h
 include/soplex/sol.h
 include/soplex/solbase.h
+include/soplex/solvedbds.hpp
+include/soplex/solverational.hpp
+include/soplex/solvereal.hpp
 include/soplex/sorter.h
 include/soplex/spxalloc.h
 include/soplex/spxautopr.h
+include/soplex/spxautopr.hpp
 include/soplex/spxbasis.h
+include/soplex/spxbasis.hpp
 include/soplex/spxboundflippingrt.h
+include/soplex/spxboundflippingrt.hpp
+include/soplex/spxbounds.hpp
+include/soplex/spxchangebasis.hpp
 include/soplex/spxdantzigpr.h
+include/soplex/spxdantzigpr.hpp
 include/soplex/spxdefaultrt.h
+include/soplex/spxdefaultrt.hpp
 include/soplex/spxdefines.h
+include/soplex/spxdefines.hpp
+include/soplex/spxdesc.hpp
 include/soplex/spxdevexpr.h
+include/soplex/spxdevexpr.hpp
 include/soplex/spxequilisc.h
+include/soplex/spxequilisc.hpp
 include/soplex/spxfastrt.h
+include/soplex/spxfastrt.hpp
 include/soplex/spxfileio.h
+include/soplex/spxfileio.hpp
 include/soplex/spxgeometsc.h
+include/soplex/spxgeometsc.hpp
 include/soplex/spxgithash.h
 include/soplex/spxharrisrt.h
+include/soplex/spxharrisrt.hpp
 include/soplex/spxhybridpr.h
+include/soplex/spxhybridpr.hpp
 include/soplex/spxid.h
 include/soplex/spxleastsqsc.h
+include/soplex/spxleastsqsc.hpp
 include/soplex/spxlp.h
 include/soplex/spxlpbase.h
+include/soplex/spxlpbase_real.hpp
 include/soplex/spxmainsm.h
+include/soplex/spxmainsm.hpp
 include/soplex/spxout.h
 include/soplex/spxparmultpr.h
+include/soplex/spxparmultpr.hpp
 include/soplex/spxpricer.h
+include/soplex/spxquality.hpp
 include/soplex/spxratiotester.h
 include/soplex/spxscaler.h
+include/soplex/spxscaler.hpp
+include/soplex/spxshift.hpp
 include/soplex/spxsimplifier.h
+include/soplex/spxsolve.hpp
 include/soplex/spxsolver.h
+include/soplex/spxsolver.hpp
 include/soplex/spxstarter.h
+include/soplex/spxstarter.hpp
 include/soplex/spxsteepexpr.h
 include/soplex/spxsteeppr.h
+include/soplex/spxsteeppr.hpp
 include/soplex/spxsumst.h
+include/soplex/spxsumst.hpp
+include/soplex/spxvecs.hpp
 include/soplex/spxvectorst.h
+include/soplex/spxvectorst.hpp
 include/soplex/spxweightpr.h
+include/soplex/spxweightpr.hpp
 include/soplex/spxweightst.h
+include/soplex/spxweightst.hpp
+include/soplex/spxwritestate.hpp
 include/soplex/ssvector.h
 include/soplex/ssvectorbase.h
 include/soplex/stablesum.h
 include/soplex/statistics.h
+include/soplex/statistics.hpp
 include/soplex/svector.h
 include/soplex/svectorbase.h
 include/soplex/svset.h
 include/soplex/svsetbase.h
+include/soplex/testsoplex.hpp
 include/soplex/timer.h
 include/soplex/timerfactory.h
 include/soplex/unitvector.h
 include/soplex/unitvectorbase.h
 include/soplex/updatevector.h
+include/soplex/updatevector.hpp
 include/soplex/usertimer.h
 include/soplex/validation.h
+include/soplex/validation.hpp
 include/soplex/vector.h
 include/soplex/vectorbase.h
 include/soplex/wallclocktimer.h
+lib/cmake/soplex/soplex-config-version.cmake
 lib/cmake/soplex/soplex-config.cmake
 lib/cmake/soplex/soplex-targets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/soplex/soplex-targets.cmake


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