Port details
adept Combined array and automatic differentiation library in C++
2.1.1_5 math Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.1.1_5Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-12-26 17:43:49
Last Update: 2026-05-13 08:28:41
Commit Hash: 227859d
License: APACHE20
WWW:
https://www.met.reading.ac.uk/clouds/adept/
Description: #
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (63 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/adept-2.1.1_5/catalog.mk
  3. /usr/local/share/licenses/adept-2.1.1_5/LICENSE
  4. /usr/local/share/licenses/adept-2.1.1_5/APACHE20
  5. include/adept.h
  6. include/adept/Active.h
  7. include/adept/ActiveConstReference.h
  8. include/adept/ActiveReference.h
  9. include/adept/Allocator.h
  10. include/adept/Array.h
  11. include/adept/ArrayWrapper.h
  12. include/adept/BinaryOperation.h
  13. include/adept/Expression.h
  14. include/adept/ExpressionSize.h
  15. include/adept/FixedArray.h
  16. include/adept/GradientIndex.h
  17. include/adept/IndexedArray.h
  18. include/adept/Minimizer.h
  19. include/adept/Optimizable.h
  20. include/adept/Packet.h
  21. include/adept/RangeIndex.h
  22. include/adept/ScratchVector.h
  23. include/adept/SpecialMatrix.h
  24. include/adept/Stack.h
  25. include/adept/StackStorage.h
  26. include/adept/StackStorageOrig.h
  27. include/adept/StackStorageOrigStl.h
  28. include/adept/Statement.h
  29. include/adept/Storage.h
  30. include/adept/UnaryOperation.h
  31. include/adept/array_shortcuts.h
  32. include/adept/base.h
  33. include/adept/contiguous_matrix.h
  34. include/adept/cppblas.h
  35. include/adept/eval.h
  36. include/adept/exception.h
  37. include/adept/interp.h
  38. include/adept/inv.h
  39. include/adept/matmul.h
  40. include/adept/noalias.h
  41. include/adept/outer_product.h
  42. include/adept/quick_e.h
  43. include/adept/reduce.h
  44. include/adept/scalar_shortcuts.h
  45. include/adept/settings.h
  46. include/adept/solve.h
  47. include/adept/spread.h
  48. include/adept/store_transpose.h
  49. include/adept/traits.h
  50. include/adept/vector_utilities.h
  51. include/adept/where.h
  52. include/adept_arrays.h
  53. include/adept_optimize.h
  54. include/adept_source.h
  55. lib/libadept.so
  56. lib/libadept.so.0
  57. lib/libadept.so.0.0.0
  58. share/adept/README.md
  59. @comment share/doc/adept/adept_documentation.pdf
  60. @comment share/doc/adept/adept_reference.pdf
  61. @owner
  62. @group
  63. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • adept>0:math/adept
  • For LIB depends:
    • libadept.so:math/adept
To install the port: #
cd /usr/ports/math/adept/ && make install clean
To add the package, run one of these commands:
  • pkg install math/adept
  • pkg install adept
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
To download the package and its dependencies for another FreeBSD version or architecture, without installing it:
  • pkg -o ABI=FreeBSD:15:$(pkg config abi | cut -d: -f3) fetch -d -o . adept
Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/. Copy them to the other machine and install them there with pkg add. Ignore any warning that suggests pkg bootstrap -f. The quarterly or latest branch comes from your own repository configuration, not from this page.
PKGNAME: adept
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1652381625 SHA256 (adept-2.1.1.tar.gz) = 0cef334e82df4526d3761bdd8319a63e7582c96b2f1cc88391729018b4825c47 SIZE (adept-2.1.1.tar.gz) = 716481

Packages (timestamps in pop-ups are UTC): #
adept
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.1.1_52.1.1_5-2.1.1_42.1.1_5
FreeBSD:14:quarterly2.1.1_52.1.1_5-2.1.1_42.1.1_5
FreeBSD:15:latest2.1.1_52.1.1_5n/a2.1.1_4n/a
FreeBSD:15:quarterly2.1.1_52.1.1_5n/a-n/a
FreeBSD:16:latest CURRENT2.1.1_52.1.1_5n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. gmake>=4.4.1 : devel/gmake
  2. gfortran14 : lang/gcc14
  3. as : devel/binutils
  4. autoconf>=2.73 : devel/autoconf
  5. automake>=1.18.1 : devel/automake
  6. libtoolize : devel/libtool
Runtime dependencies: #
  1. gfortran14 : lang/gcc14
Library dependencies: #
  1. libopenblas.so : math/openblas
There are no ports dependent upon this port #

Configuration Options: #
===> The following configuration options are available for adept-2.1.1_5: PDFTEXDOCS=off: Build and install PDF documentation from LaTeX sources ===> Use 'make config' to modify these settings
Options name: #
math_adept
USES: #
autoreconf gmake fortran blaslapack:openblas libtool
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. http://www.met.reading.ac.uk/clouds/adept/
Collapse this list.

Number of commits found: 25 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.1.1_5
13 May 2026 08:28:41
commit hash: 227859d277c6dc5e06360bff127d3fe5f720fccfcommit hash: 227859d277c6dc5e06360bff127d3fe5f720fccfcommit hash: 227859d277c6dc5e06360bff127d3fe5f720fccfcommit hash: 227859d277c6dc5e06360bff127d3fe5f720fccf files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
*/*: bump PORTREVISION after the upgrade of OpenBLAS
2.1.1_4
28 Jan 2025 16:42:55
commit hash: e54e2c695bbccea73e70ce5bf689928053632492commit hash: e54e2c695bbccea73e70ce5bf689928053632492commit hash: e54e2c695bbccea73e70ce5bf689928053632492commit hash: e54e2c695bbccea73e70ce5bf689928053632492 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
*/*: bump PORTREVISION after OpenBLAS upgrade

Remark: this souldn’t be necessary, because the version of the library is the
same, but due to many changes between these releases, it is safer this way.

PR:		284314
2.1.1_3
21 Jun 2024 17:49:24
commit hash: e2cd1133e68c54606b2b5e0c7b4dee0532a926fecommit hash: e2cd1133e68c54606b2b5e0c7b4dee0532a926fecommit hash: e2cd1133e68c54606b2b5e0c7b4dee0532a926fecommit hash: e2cd1133e68c54606b2b5e0c7b4dee0532a926fe files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
*/*: bump PORTREVISION after the upgrade to OpenBLAS
2.1.1_2
12 Dec 2023 19:03:50
commit hash: ab1713728d621e7b57d276ef27de37a8754e6ee0commit hash: ab1713728d621e7b57d276ef27de37a8754e6ee0commit hash: ab1713728d621e7b57d276ef27de37a8754e6ee0commit hash: ab1713728d621e7b57d276ef27de37a8754e6ee0 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
*/*: bump PORTREVISION after the upgrade of OpenBLAS

PR:		273219
2.1.1_1
23 Apr 2023 09:09:58
commit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5b files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
*: Bump PORTREVISIONs for math/mpc update to 1.3.1
2.1.1
19 Dec 2022 14:44:58
commit hash: 721e5776c957ada07a0d148f5fc3e782a251e6dccommit hash: 721e5776c957ada07a0d148f5fc3e782a251e6dccommit hash: 721e5776c957ada07a0d148f5fc3e782a251e6dccommit hash: 721e5776c957ada07a0d148f5fc3e782a251e6dc files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Mk/**tex.mk: Convert bsd.tex.mk to USES=tex

- Update all the consumers to use USES=tex
- USE_TEX=yes is the old way of writing USES=tex which has been removed
  and replaced in all ports
- Almost all of the USE_TEX features remains unchanged
- Some consumers had the same variables defined both in the mk
  infrastructure and also in the ports which have been removed from the
  ports as those are redundant.

In case any of the consumers are failing to build please make sure that
the nexessary USES=tex is there. Unlike previous USE_TEX=yes will no
longer load the required VARS for tex and related dependencies.

Reviewed by:	portmgr
Approved by:	portmgr (blanket)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.1.1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.1.1
12 May 2022 18:57:53
commit hash: 9e4da3e29e8955ff3d788350b99123bc7f22aad2commit hash: 9e4da3e29e8955ff3d788350b99123bc7f22aad2commit hash: 9e4da3e29e8955ff3d788350b99123bc7f22aad2commit hash: 9e4da3e29e8955ff3d788350b99123bc7f22aad2 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/adept: Update 2.0.8 -> 2.1.1

Reported by:	portscout
2.0.8
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2.0.8
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.0.8
14 Sep 2020 16:59:44
Revision:548631commit hash: 933599816ad5592ef1ae12b69114803bff5eea5ecommit hash: 933599816ad5592ef1ae12b69114803bff5eea5ecommit hash: 933599816ad5592ef1ae12b69114803bff5eea5ecommit hash: 933599816ad5592ef1ae12b69114803bff5eea5eOriginal commit files touched by this commit
yuri search for other commits by this committer
math/adept: Update 2.0.5 -> 2.0.8
2.0.5_7
06 May 2020 16:39:12
Revision:534190commit hash: 84c4942d38422d053c9f573150db6b7448cb9388commit hash: 84c4942d38422d053c9f573150db6b7448cb9388commit hash: 84c4942d38422d053c9f573150db6b7448cb9388commit hash: 84c4942d38422d053c9f573150db6b7448cb9388Original commit files touched by this commit
yuri search for other commits by this committer
Bump 37 ports depending on math/openblas through USES=blaslapack:openblas
because after the recent math/openblas update the library name changed in
openblas
2.0.5_6
30 Jan 2020 14:17:44
Revision:524642commit hash: fb44dca45d6339f4db377f788e4cc5e2bc263609commit hash: fb44dca45d6339f4db377f788e4cc5e2bc263609commit hash: fb44dca45d6339f4db377f788e4cc5e2bc263609commit hash: fb44dca45d6339f4db377f788e4cc5e2bc263609Original commit files touched by this commit
swills search for other commits by this committer
Fix math/openblas and bump dependent ports

* Fix build on i386 [1]
* Fix science/code_saturne build with new openblas [2]
* Avoid installing private headers [3]
* Prevent build from optimizing for host by correcting build confg [4]
* Bump portrevision of dependent ports [5]

This is correcting issues from r523749 [1][2][4] and r515970 [3]

PR:		231371
Reported by:	build cluster [1]
Reported by:	Dima Pasechnik <dimpase+freebsd@gmail.com> [2]
Reported by:	many [5]
Reviewed by:	mat, bapt
Approved by:	implicit, since this is a build fix
2.0.5_5
26 Jul 2019 20:46:57
Revision:507372commit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfOriginal commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2.0.5_4
22 Apr 2019 13:16:34
Revision:499638commit hash: 879e75a6593d4f669464a017aaebd9f8bee250f3commit hash: 879e75a6593d4f669464a017aaebd9f8bee250f3commit hash: 879e75a6593d4f669464a017aaebd9f8bee250f3commit hash: 879e75a6593d4f669464a017aaebd9f8bee250f3Original commit files touched by this commit
gerald search for other commits by this committer
Related to revision 499061 bump ports with USES=fortran to have them
benefit from the improved situation where libgcc_s is only used when
absolutely necessary.

Suggested by:	tijl
2.0.5_3
12 Dec 2018 01:35:36
Revision:487272commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2.0.5_2
02 Nov 2018 13:32:35
Revision:483807commit hash: 8a502cb2d43b4059a5678ee4539ca03603104107commit hash: 8a502cb2d43b4059a5678ee4539ca03603104107commit hash: 8a502cb2d43b4059a5678ee4539ca03603104107commit hash: 8a502cb2d43b4059a5678ee4539ca03603104107Original commit files touched by this commit
rene search for other commits by this committer
Remove compatibility code for FreeBSD < 11.2 from all ports.

Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2.0.5_2
29 Jul 2018 22:18:46
Revision:475857commit hash: 09f9633cb617878a6611cfdfb630e55d957188efcommit hash: 09f9633cb617878a6611cfdfb630e55d957188efcommit hash: 09f9633cb617878a6611cfdfb630e55d957188efcommit hash: 09f9633cb617878a6611cfdfb630e55d957188efOriginal commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2.0.5_1
26 Mar 2018 23:45:18
Revision:465647commit hash: 0cc9a49fefa1040ad52157b403d4bc506db0e281commit hash: 0cc9a49fefa1040ad52157b403d4bc506db0e281commit hash: 0cc9a49fefa1040ad52157b403d4bc506db0e281commit hash: 0cc9a49fefa1040ad52157b403d4bc506db0e281Original commit files touched by this commit
yuri search for other commits by this committer
math/adept: Marked broken on 10 amd64

Reported by:	fallout
2.0.5_1
10 Mar 2018 17:46:06
Revision:464084commit hash: c2a92a1aea4e66d25d82a5def112bb1b55660bd2commit hash: c2a92a1aea4e66d25d82a5def112bb1b55660bd2commit hash: c2a92a1aea4e66d25d82a5def112bb1b55660bd2commit hash: c2a92a1aea4e66d25d82a5def112bb1b55660bd2Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2.0.5
08 Feb 2018 21:28:18
Revision:461270commit hash: 8b2ec83e383acdd431ba352fe0af4740469d8996commit hash: 8b2ec83e383acdd431ba352fe0af4740469d8996commit hash: 8b2ec83e383acdd431ba352fe0af4740469d8996commit hash: 8b2ec83e383acdd431ba352fe0af4740469d8996Original commit files touched by this commit
yuri search for other commits by this committer
math/adept: Update to 2.0.5

The chenge log wasn't published, but one major reason
was the fix of SIMD instruction failures on some
i386 FreeBSD architectures reported here:
https://github.com/rjhogan/Adept-2/issues/7

Submitted by:	myself
Reported by:	portscout
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14238
2.0.4
11 Jan 2018 07:17:33
Revision:458714commit hash: a2bf6801dcc6632621381023003f4a91eebd56e9commit hash: a2bf6801dcc6632621381023003f4a91eebd56e9commit hash: a2bf6801dcc6632621381023003f4a91eebd56e9commit hash: a2bf6801dcc6632621381023003f4a91eebd56e9Original commit files touched by this commit
yuri search for other commits by this committer
math/adept: Update to 2.0.4

Submitted by:	myself
Reported by:	portscout
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D13846
2.0.3_1
26 Dec 2017 19:28:08
Revision:457311commit hash: b14897a777f2da37982a112328b6068c510c0823commit hash: b14897a777f2da37982a112328b6068c510c0823commit hash: b14897a777f2da37982a112328b6068c510c0823commit hash: b14897a777f2da37982a112328b6068c510c0823Original commit files touched by this commit
yuri search for other commits by this committer
math/adept: Replaced DOCS option with PDFTEXDOCS option because the LaTeX
dependency is huge.

Reported by:	adamw
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D13643
2.0.3
26 Dec 2017 17:43:40
Revision:457296commit hash: e4eaee25c7b23aaf1a525cc227b365ca64604f7ecommit hash: e4eaee25c7b23aaf1a525cc227b365ca64604f7ecommit hash: e4eaee25c7b23aaf1a525cc227b365ca64604f7ecommit hash: e4eaee25c7b23aaf1a525cc227b365ca64604f7eOriginal commit files touched by this commit
yuri search for other commits by this committer
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

Number of commits found: 25