From owner-svn-ports-head@freebsd.org Tue Dec 26 17:43:41 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EAB8AEA4EBB; Tue, 26 Dec 2017 17:43:41 +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 mx1.freebsd.org (Postfix) with ESMTPS id B34767FF96; Tue, 26 Dec 2017 17:43:41 +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 vBQHhe3j006530; Tue, 26 Dec 2017 17:43:40 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBQHheD6006524; Tue, 26 Dec 2017 17:43:40 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201712261743.vBQHheD6006524@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 26 Dec 2017 17:43:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457296 - in head/math: . adept adept/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . adept adept/files X-SVN-Commit-Revision: 457296 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 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: Tue, 26 Dec 2017 17:43:42 -0000 Author: yuri Date: Tue Dec 26 17:43:40 2017 New Revision: 457296 URL: https://svnweb.freebsd.org/changeset/ports/457296 Log: New port: math/adept: Combined array and automatic differentiation library in C++ This library implements a very unusual and interesting approach. It takes a function of several arguments supplied by the caller, deconstructs its analytic structure using C++ type substitution for all values, and computes gradients (Jacobians) of the function while ony calling the function once. A very innovative approach. Submitted by: myself Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13635 Added: head/math/adept/ head/math/adept/Makefile (contents, props changed) head/math/adept/distinfo (contents, props changed) head/math/adept/files/ head/math/adept/files/patch-Makefile.am (contents, props changed) head/math/adept/pkg-descr (contents, props changed) head/math/adept/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Tue Dec 26 17:20:15 2017 (r457295) +++ head/math/Makefile Tue Dec 26 17:43:40 2017 (r457296) @@ -99,6 +99,7 @@ SUBDIR += abs SUBDIR += acalc SUBDIR += add + SUBDIR += adept SUBDIR += algae SUBDIR += alglib SUBDIR += algotutor Added: head/math/adept/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/adept/Makefile Tue Dec 26 17:43:40 2017 (r457296) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= adept +DISTVERSION= 2.0.3 +CATEGORIES= math +MASTER_SITES= http://www.met.reading.ac.uk/clouds/adept/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Combined array and automatic differentiation library in C++ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= autoreconf gmake fortran blaslapack:openblas libtool +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-static +USE_LDCONFIG= yes +INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= DOCS + +DOCS_USE= TEX=pdftex:build,dvipsk:build + +post-build-DOCS-on: + @cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR} + +.include Added: head/math/adept/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/adept/distinfo Tue Dec 26 17:43:40 2017 (r457296) @@ -0,0 +1,3 @@ +TIMESTAMP = 1514262452 +SHA256 (adept-2.0.3.tar.gz) = c1b9c2907774ec39d9f336ae38b226893c7e86e64410c85ea965c855111381c6 +SIZE (adept-2.0.3.tar.gz) = 652609 Added: head/math/adept/files/patch-Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/adept/files/patch-Makefile.am Tue Dec 26 17:43:40 2017 (r457296) @@ -0,0 +1,8 @@ +--- Makefile.am.orig 2017-10-08 21:32:39 UTC ++++ Makefile.am +@@ -1,4 +1,4 @@ +-pkgdata_DATA = README COPYING ChangeLog NEWS AUTHORS ++#pkgdata_DATA = README COPYING ChangeLog NEWS AUTHORS + SUBDIRS = adept include benchmark test + # The test/ directory does not use automake so we need to specify the + # files that will be included in the distribution Added: head/math/adept/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/adept/pkg-descr Tue Dec 26 17:43:40 2017 (r457296) @@ -0,0 +1,10 @@ +Adept (Automatic Differentiation using Expression Templates) is a free C++ +software library that enables algorithms to be automatically differentiated, +very useful for a wide range of applications that involve mathematical +optimization. It uses an operator overloading approach, so very little code +modification is required. Moreover, the way that expression templates have +been used and several other important optimizations mean that reverse-mode +differentiation is significantly faster than other C++ libraries that provide +equivalent functionality. + +WWW: http://www.met.reading.ac.uk/clouds/adept/ Added: head/math/adept/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/adept/pkg-plist Tue Dec 26 17:43:40 2017 (r457296) @@ -0,0 +1,48 @@ +include/adept.h +include/adept/Active.h +include/adept/ActiveConstReference.h +include/adept/ActiveReference.h +include/adept/Allocator.h +include/adept/Array.h +include/adept/ArrayWrapper.h +include/adept/BinaryOperation.h +include/adept/Expression.h +include/adept/ExpressionSize.h +include/adept/FixedArray.h +include/adept/IndexedArray.h +include/adept/Packet.h +include/adept/RangeIndex.h +include/adept/ScratchVector.h +include/adept/SpecialMatrix.h +include/adept/Stack.h +include/adept/StackStorage.h +include/adept/StackStorageOrig.h +include/adept/StackStorageOrigStl.h +include/adept/Statement.h +include/adept/Storage.h +include/adept/UnaryOperation.h +include/adept/array_shortcuts.h +include/adept/base.h +include/adept/contiguous_matrix.h +include/adept/cppblas.h +include/adept/eval.h +include/adept/exception.h +include/adept/interp.h +include/adept/inv.h +include/adept/matmul.h +include/adept/noalias.h +include/adept/outer_product.h +include/adept/reduce.h +include/adept/scalar_shortcuts.h +include/adept/settings.h +include/adept/solve.h +include/adept/spread.h +include/adept/traits.h +include/adept/vector_utilities.h +include/adept/where.h +include/adept_arrays.h +lib/libadept.so +lib/libadept.so.0 +lib/libadept.so.0.0.0 +%%PORTDOCS%%%%DOCSDIR%%/adept_documentation.pdf +%%PORTDOCS%%%%DOCSDIR%%/adept_reference.pdf