Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Dec 2017 17:43:40 +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: r457296 - in head/math: . adept adept/files
Message-ID:  <201712261743.vBQHheD6006524@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



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