Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2018 22:10:05 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485283 - in head/math: . scs
Message-ID:  <201811182210.wAIMA5hU062609@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Nov 18 22:10:05 2018
New Revision: 485283
URL: https://svnweb.freebsd.org/changeset/ports/485283

Log:
  New port: math/scs: Solver of convex cone problems via operator splitting

Added:
  head/math/scs/
  head/math/scs/Makefile   (contents, props changed)
  head/math/scs/distinfo   (contents, props changed)
  head/math/scs/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Sun Nov 18 22:08:20 2018	(r485282)
+++ head/math/Makefile	Sun Nov 18 22:10:05 2018	(r485283)
@@ -812,6 +812,7 @@
     SUBDIR += scalapack
     SUBDIR += scilab
     SUBDIR += scilab-toolbox-swt
+    SUBDIR += scs
     SUBDIR += sdpa
     SUBDIR += sdpara
     SUBDIR += secp256k1

Added: head/math/scs/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/scs/Makefile	Sun Nov 18 22:10:05 2018	(r485283)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME=	scs
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.0.2-22
+DISTVERSIONSUFFIX=	-gb03e156
+CATEGORIES=	math
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Solver of convex cone problems via operator splitting
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		gmake blaslapack:openblas fortran # fortran is for openblas
+USE_GITHUB=	yes
+GH_ACCOUNT=	cvxgrp
+USE_LDCONFIG=	yes
+
+MAKE_ARGS=	BLASLDFLAGS="-lopenblas"
+
+ALL_TARGET=	out/libscsdir.so out/libscsindir.so
+
+HEADERS=	accel.h cones.h cs.h ctrlc.h glbopts.h linalg.h linsys.h normalize.h scs.h util.h
+
+PLIST_FILES=	${ALL_TARGET:S/out/lib/} ${HEADERS:S/^/include\/${PORTNAME}\//}
+
+do-install:
+.for so in ${ALL_TARGET}
+	${INSTALL_LIB} ${WRKSRC}/${so} ${STAGEDIR}${PREFIX}/lib
+.endfor
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
+.for h in ${HEADERS}
+	${INSTALL_DATA} ${WRKSRC}/include/${h} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
+.endfor
+
+.include <bsd.port.mk>

Added: head/math/scs/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/scs/distinfo	Sun Nov 18 22:10:05 2018	(r485283)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1542577775
+SHA256 (cvxgrp-scs-v2.0.2-22-gb03e156_GH0.tar.gz) = f28b242565d2719c612c6c80f1b3d9b3a3b021428add1bb0db721df94396f3e7
+SIZE (cvxgrp-scs-v2.0.2-22-gb03e156_GH0.tar.gz) = 92624

Added: head/math/scs/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/scs/pkg-descr	Sun Nov 18 22:10:05 2018	(r485283)
@@ -0,0 +1,8 @@
+SCS (splitting conic solver) is a numerical optimization package for solving
+large-scale convex cone problems, based on our paper Conic Optimization via
+Operator Splitting and Homogeneous Self-Dual Embedding. It is written in C and
+can be used in other C, C++, Python, Matlab, R, Julia, programs via the linked
+interfaces. It can also be called as a solver from convex optimization toolboxes
+CVX (3.0 or later), CVXPY, Convex.jl, and Yalmip.
+
+WWW: https://github.com/cvxgrp/scs



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