From owner-svn-ports-head@freebsd.org Sun Nov 18 22:10:07 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 290071125A6F; Sun, 18 Nov 2018 22:10:07 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8100735C2; Sun, 18 Nov 2018 22:10:06 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8955C193A8; Sun, 18 Nov 2018 22:10:06 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAIMA6dK062612; Sun, 18 Nov 2018 22:10:06 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAIMA5hU062609; Sun, 18 Nov 2018 22:10:05 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201811182210.wAIMA5hU062609@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 18 Nov 2018 22:10:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485283 - in head/math: . scs X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . scs X-SVN-Commit-Revision: 485283 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A8100735C2 X-Spamd-Result: default: False [0.12 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_MEDIUM(0.15)[0.147,0]; NEURAL_HAM_SHORT(-0.03)[-0.026,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2018 22:10:07 -0000 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 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