From owner-svn-ports-all@freebsd.org Sun Dec 22 00:55:55 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 650D21E181C; Sun, 22 Dec 2019 00:55:55 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47gPDW1zsGz3LXF; Sun, 22 Dec 2019 00:55:55 +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 3F6C71FA4C; Sun, 22 Dec 2019 00:55:55 +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 xBM0ttWH074980; Sun, 22 Dec 2019 00:55:55 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBM0ts5f074976; Sun, 22 Dec 2019 00:55:54 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201912220055.xBM0ts5f074976@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 22 Dec 2019 00:55:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520600 - in head/math: . csdp csdp/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . csdp csdp/files X-SVN-Commit-Revision: 520600 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2019 00:55:55 -0000 Author: yuri Date: Sun Dec 22 00:55:53 2019 New Revision: 520600 URL: https://svnweb.freebsd.org/changeset/ports/520600 Log: New port: math/csdp: Solver for semidefinite programming problems Added: head/math/csdp/ head/math/csdp/Makefile (contents, props changed) head/math/csdp/distinfo (contents, props changed) head/math/csdp/files/ head/math/csdp/files/patch-Makefile (contents, props changed) head/math/csdp/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Sun Dec 22 00:44:05 2019 (r520599) +++ head/math/Makefile Sun Dec 22 00:55:53 2019 (r520600) @@ -197,6 +197,7 @@ SUBDIR += cppad SUBDIR += crlibm SUBDIR += cryptominisat + SUBDIR += csdp SUBDIR += curv SUBDIR += cvc3 SUBDIR += cvc4 Added: head/math/csdp/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/csdp/Makefile Sun Dec 22 00:55:53 2019 (r520600) @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTNAME= csdp +DISTVERSIONPREFIX= releases/ +DISTVERSION= 6.2.0 +CATEGORIES= math +PKGNAMEPREFIX= coin-or- + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Solver for semidefinite programming problems + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libblas.so:math/blas \ + liblapack.so:math/lapack + +USES= gmake +USE_GITHUB= yes +GH_ACCOUNT= coin-or +GH_PROJECT= Csdp +USE_LDCONFIG= yes + +MAKE_ARGS= FREEBSD_CFLAGS="${CFLAGS}" FREEBSD_LIBS="${LIBS} -L${LOCALBASE}/lib" + +BINARY_ALIAS= make=${GMAKE} + +PLIST_FILES= bin/complement \ + bin/csdp \ + bin/graphtoprob \ + bin/rand_graph \ + bin/theta + +post-stage: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* + +.include Added: head/math/csdp/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/csdp/distinfo Sun Dec 22 00:55:53 2019 (r520600) @@ -0,0 +1,3 @@ +TIMESTAMP = 1576975110 +SHA256 (coin-or-Csdp-releases-6.2.0_GH0.tar.gz) = 3d341974af1f8ed70e1a37cc896e7ae4a513375875e5b46db8e8f38b7680b32f +SIZE (coin-or-Csdp-releases-6.2.0_GH0.tar.gz) = 523556 Added: head/math/csdp/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/csdp/files/patch-Makefile Sun Dec 22 00:55:53 2019 (r520600) @@ -0,0 +1,33 @@ +--- Makefile.orig 2017-07-25 18:44:57 UTC ++++ Makefile +@@ -11,11 +11,11 @@ + # + # CFLAGS settings for 64 bit Linux/unix systems. + # +-export CFLAGS=-m64 -march=native -mtune=native -Ofast -fopenmp -ansi -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include ++CFLAGS=$(FREEBSD_CFLAGS) -fopenmp -ansi -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include + # + # LIBS settings for 64 bit Linux/unix systems. + # +-export LIBS=-static -L../lib -lsdp -llapack -lblas -lm ++LIBS=$(FREEBSD_LIBS) -L../lib -lsdp -llapack -lblas -lm + # + # + # On most systems, this should handle everything. +@@ -38,11 +38,11 @@ unitTest: + # + + install: +- cp -f solver/csdp /usr/local/bin +- cp -f theta/theta /usr/local/bin +- cp -f theta/graphtoprob /usr/local/bin +- cp -f theta/complement /usr/local/bin +- cp -f theta/rand_graph /usr/local/bin ++ cp -f solver/csdp $(DESTDIR)$(PREFIX)/bin ++ cp -f theta/theta $(DESTDIR)$(PREFIX)/bin ++ cp -f theta/graphtoprob $(DESTDIR)$(PREFIX)/bin ++ cp -f theta/complement $(DESTDIR)$(PREFIX)/bin ++ cp -f theta/rand_graph $(DESTDIR)$(PREFIX)/bin + + # + # Clean out all of the directories. Added: head/math/csdp/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/csdp/pkg-descr Sun Dec 22 00:55:53 2019 (r520600) @@ -0,0 +1,10 @@ +CSDP is a library of routines that implements a predictor corrector variant of +the semidefinite programming algorithm of Helmberg, Rendl, Vanderbei, and +Wolkowicz. The main advantages of this code are that it is written to be used as +a callable subroutine, it is written in C for efficiency, the code runs in +parallel on shared memory multi-processor systems, and it makes effective use of +sparsity in the constraint matrices. CSDP has been compiled on many different +systems. The code should work on any system with an ANSI C Compiler and +BLAS/LAPACK libraries. + +WWW: https://github.com/coin-or/Csdp