svn commit: r481207 - in head/math: . adol-c adol-c/files
Yuri Victorovich
yuri at FreeBSD.org
Thu Oct 4 07:23:08 UTC 2018
Author: yuri
Date: Thu Oct 4 07:23:06 2018
New Revision: 481207
URL: https://svnweb.freebsd.org/changeset/ports/481207
Log:
New port: math/adol-c: Automatic differentiation library
Added:
head/math/adol-c/
head/math/adol-c/Makefile (contents, props changed)
head/math/adol-c/distinfo (contents, props changed)
head/math/adol-c/files/
head/math/adol-c/files/patch-configure (contents, props changed)
head/math/adol-c/pkg-descr (contents, props changed)
head/math/adol-c/pkg-plist (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Thu Oct 4 07:09:27 2018 (r481206)
+++ head/math/Makefile Thu Oct 4 07:23:06 2018 (r481207)
@@ -112,6 +112,7 @@
SUBDIR += acalc
SUBDIR += add
SUBDIR += adept
+ SUBDIR += adol-c
SUBDIR += algae
SUBDIR += alglib
SUBDIR += algotutor
Added: head/math/adol-c/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/adol-c/Makefile Thu Oct 4 07:23:06 2018 (r481207)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= adol-c
+DISTVERSION= 2.6.3
+CATEGORIES= math
+MASTER_SITES= https://www.coin-or.org/download/source/${PORTNAME:tu}/
+DISTNAME= ${PORTNAME:tu}-${DISTVERSION}
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Automatic differentiation library
+
+LICENSE= EPL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= bash:shells/bash
+LIB_DEPENDS= libboost_system.so:devel/boost-libs
+
+USES= gmake libtool tar:tgz
+GNU_CONFIGURE= yes
+CONFIGURE_SHELL= ${LOCALBASE}/bin/bash
+USE_LDCONFIG= yes
+
+OPTIONS_DEFINE= SPARSE # also uses AMPI, a seemingly obscure MPI implementation
+OPTIONS_SUB= yes
+
+SPARSE_DESC= Build sparse drivers
+SPARSE_CONFIGURE_ENABLE= sparse
+
+.include <bsd.port.mk>
Added: head/math/adol-c/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/adol-c/distinfo Thu Oct 4 07:23:06 2018 (r481207)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1538635741
+SHA256 (ADOL-C-2.6.3.tgz) = 6ed74580695a0d2c960581e5430ebfcd380eb5da9337daf488bf2e89039e9c21
+SIZE (ADOL-C-2.6.3.tgz) = 2416928
Added: head/math/adol-c/files/patch-configure
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/adol-c/files/patch-configure Thu Oct 4 07:23:06 2018 (r481207)
@@ -0,0 +1,20 @@
+--- configure.orig 2018-10-04 07:11:41 UTC
++++ configure
+@@ -16507,7 +16507,7 @@ _ACEOF
+
+
+ if test "x$ac_cv_sizeof_void_p" = "x8" ; then
+- _lib=lib64
++ _lib=lib
+ else
+ _lib=lib
+ fi
+@@ -17513,7 +17513,7 @@ $as_echo_n "checking for boostlib >= $bo
+ libsubdirs="lib"
+ ax_arch=`uname -m`
+ case $ax_arch in
+- x86_64)
++ amd64)
+ libsubdirs="lib64 libx32 lib lib64"
+ ;;
+ ppc64|s390x|sparc64|aarch64|ppc64le)
Added: head/math/adol-c/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/adol-c/pkg-descr Thu Oct 4 07:23:06 2018 (r481207)
@@ -0,0 +1,11 @@
+The package ADOL-C (Automatic Differentiation by OverLoading in C++) facilitates
+the evaluation of first and higher derivatives of vector functions that are
+defined by computer programs written in C or C++. The resulting derivative
+evaluation routines may be called from C/C++, Fortran, or any other language
+that can be linked with C.
+
+The numerical values of derivative vectors are obtained free of truncation
+errors at a small multiple of the run time and randomly accessed memory of the
+given function evaluation program.
+
+WWW: https://projects.coin-or.org/ADOL-C
Added: head/math/adol-c/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/adol-c/pkg-plist Thu Oct 4 07:23:06 2018 (r481207)
@@ -0,0 +1,37 @@
+include/adolc/adalloc.h
+include/adolc/adolc.h
+include/adolc/adolc_openmp.h
+include/adolc/adolc_sparse.h
+include/adolc/adouble.h
+include/adolc/adoublecuda.h
+include/adolc/adtl.h
+include/adolc/adutils.h
+include/adolc/adutilsc.h
+include/adolc/advector.h
+include/adolc/checkpointing.h
+include/adolc/convolut.h
+include/adolc/drivers/drivers.h
+include/adolc/drivers/odedrivers.h
+include/adolc/drivers/psdrivers.h
+include/adolc/drivers/taylor.h
+include/adolc/externfcts.h
+include/adolc/externfcts2.h
+include/adolc/fixpoint.h
+include/adolc/fortutils.h
+include/adolc/interfaces.h
+include/adolc/internal/adolc_settings.h
+include/adolc/internal/adubfunc.h
+include/adolc/internal/common.h
+include/adolc/internal/paramfunc.h
+include/adolc/internal/usrparms.h
+include/adolc/lie/drivers.h
+include/adolc/param.h
+include/adolc/revolve.h
+%%SPARSE%%include/adolc/sparse/sparse_fo_rev.h
+%%SPARSE%%include/adolc/sparse/sparsedrivers.h
+include/adolc/tapedoc/tapedoc.h
+include/adolc/taping.h
+lib/libadolc.so
+lib/libadolc.so.2
+lib/libadolc.so.2.1.0
+libdata/pkgconfig/adolc.pc
More information about the svn-ports-all
mailing list