notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details
clad Automatic differentiation for C/C++
1.8 math on this many watch lists=2 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 1.8Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-07-19 09:27:06
Last Update: 2025-01-13 18:22:43
Commit Hash: 6a4fe14
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
License: LGPL3
WWW:
https://github.com/vgvassilev/clad
Description:
Clad enables automatic differentiation (AD) for C++. It is based on LLVM compiler infrastructure and is a plugin for Clang compiler. Clad is based on source code transformation. Given C++ source code of a mathematical function, it can automatically generate C++ code for computing derivatives of the function. It supports both forward-mode and reverse-mode AD.Clad has extensive coverage of modern C++ features and a robust fallback and recovery system in place.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (48 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/clad-1.8/catalog.mk
  3. /usr/local/share/licenses/clad-1.8/LICENSE
  4. /usr/local/share/licenses/clad-1.8/LGPL3
  5. include/clad/Differentiator/Array.h
  6. include/clad/Differentiator/ArrayExpression.h
  7. include/clad/Differentiator/ArrayRef.h
  8. include/clad/Differentiator/BaseForwardModeVisitor.h
  9. include/clad/Differentiator/BuiltinDerivatives.h
  10. include/clad/Differentiator/CladConfig.h
  11. include/clad/Differentiator/CladUtils.h
  12. include/clad/Differentiator/Compatibility.h
  13. include/clad/Differentiator/DerivativeBuilder.h
  14. include/clad/Differentiator/DerivedFnCollector.h
  15. include/clad/Differentiator/DerivedFnInfo.h
  16. include/clad/Differentiator/DiffMode.h
  17. include/clad/Differentiator/DiffPlanner.h
  18. include/clad/Differentiator/Differentiator.h
  19. include/clad/Differentiator/DynamicGraph.h
  20. include/clad/Differentiator/ErrorEstimator.h
  21. include/clad/Differentiator/EstimationModel.h
  22. include/clad/Differentiator/ExternalRMVSource.h
  23. include/clad/Differentiator/FunctionTraits.h
  24. include/clad/Differentiator/HessianModeVisitor.h
  25. include/clad/Differentiator/KokkosBuiltins.h
  26. include/clad/Differentiator/Matrix.h
  27. include/clad/Differentiator/MultiplexExternalRMVSource.h
  28. include/clad/Differentiator/NumericalDiff.h
  29. include/clad/Differentiator/ParseDiffArgsTypes.h
  30. include/clad/Differentiator/PushForwardModeVisitor.h
  31. include/clad/Differentiator/ReverseModeForwPassVisitor.h
  32. include/clad/Differentiator/ReverseModeVisitor.h
  33. include/clad/Differentiator/ReverseModeVisitorDirectionKinds.h
  34. include/clad/Differentiator/STLBuiltins.h
  35. include/clad/Differentiator/Sins.h
  36. include/clad/Differentiator/StmtClone.h
  37. include/clad/Differentiator/Tape.h
  38. include/clad/Differentiator/VectorForwardModeVisitor.h
  39. include/clad/Differentiator/VectorPushForwardModeVisitor.h
  40. include/clad/Differentiator/Version.h
  41. include/clad/Differentiator/VisitorBase.h
  42. include/clad/tools/ClangBackendPlugin.h
  43. include/clad/tools/ClangPlugin.h
  44. lib/clad.so
  45. lib/cmake/clad/AddClad.cmake
  46. @owner
  47. @group
  48. @mode
Collapse this list.
Dependency lines:
  • clad>0:math/clad
To install the port:
cd /usr/ports/math/clad/ && make install clean
To add the package, run one of these commands:
  • pkg install math/clad
  • pkg install clad
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: clad
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1734672509 SHA256 (vgvassilev-clad-v1.8_GH0.tar.gz) = 1dcff3cab33417c8b8595e9bdb139a2cd1ec9c15eb013a275ab4e004c5b65812 SIZE (vgvassilev-clad-v1.8_GH0.tar.gz) = 1240960

Packages (timestamps in pop-ups are UTC):
clad
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.81.8--1.8---
FreeBSD:13:quarterly1.81.8--1.81.21.21.2
FreeBSD:14:latest1.81.8--1.8---
FreeBSD:14:quarterly1.81.8--1.81.21.21.2
FreeBSD:15:latest1.81.8n/a-n/a1.21.21.3
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. llvm-config16 : devel/llvm16
Test dependencies:
  1. kokkos>0 : devel/kokkos
Runtime dependencies:
  1. llvm-config16 : devel/llvm16
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
math_clad
USES:
cmake:testing llvm:16,build,run localbase
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/vgvassilev/clad/tar.gz/v1.8?dummy=/
Collapse this list.

Number of commits found: 12

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.8
13 Jan 2025 18:22:43
commit hash: 6a4fe14a1fd56d086dfa2e7c580672cf94724dcccommit hash: 6a4fe14a1fd56d086dfa2e7c580672cf94724dcccommit hash: 6a4fe14a1fd56d086dfa2e7c580672cf94724dcccommit hash: 6a4fe14a1fd56d086dfa2e7c580672cf94724dcc files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/clad: Only available where OpenMP is available

The build on armv7 failed because of this.

Reported by:	fallout
1.8
20 Dec 2024 11:53:18
commit hash: 3ba87c7c84e0c33d0cb58d75f16db4d9864cd0e2commit hash: 3ba87c7c84e0c33d0cb58d75f16db4d9864cd0e2commit hash: 3ba87c7c84e0c33d0cb58d75f16db4d9864cd0e2commit hash: 3ba87c7c84e0c33d0cb58d75f16db4d9864cd0e2 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/clad: update 1.7 → 1.8

Reported by:	portscout
1.7_1
19 Aug 2024 19:11:44
commit hash: aea62f129942f42ca1f909524ff9d0b0203d1e05commit hash: aea62f129942f42ca1f909524ff9d0b0203d1e05commit hash: aea62f129942f42ca1f909524ff9d0b0203d1e05commit hash: aea62f129942f42ca1f909524ff9d0b0203d1e05 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/kokkos: update 4.3.01 → 4.4.00
1.7
10 Aug 2024 13:58:24
commit hash: 0cf0c7c07136ee001b30c09229399cc5df936875commit hash: 0cf0c7c07136ee001b30c09229399cc5df936875commit hash: 0cf0c7c07136ee001b30c09229399cc5df936875commit hash: 0cf0c7c07136ee001b30c09229399cc5df936875 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/clad: update 1.6 → 1.7

Reported by:	portscout
1.6
20 Jul 2024 08:36:51
commit hash: 8a987ae7893bb6a61063315b89c2deec792f0d00commit hash: 8a987ae7893bb6a61063315b89c2deec792f0d00commit hash: 8a987ae7893bb6a61063315b89c2deec792f0d00commit hash: 8a987ae7893bb6a61063315b89c2deec792f0d00 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/clad: update 1.5 → 1.6

Reported by:	portscout
1.5
22 May 2024 07:39:56
commit hash: d3327765085ba815508be5792efb2505e1f8943ccommit hash: d3327765085ba815508be5792efb2505e1f8943ccommit hash: d3327765085ba815508be5792efb2505e1f8943ccommit hash: d3327765085ba815508be5792efb2505e1f8943c files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/clad: update 1.4 → 1.5

Reported by:	portscout
1.4_1
21 Apr 2024 18:28:27
commit hash: ff0f036938004bcedcd095806fc3c0cad1cec3b5commit hash: ff0f036938004bcedcd095806fc3c0cad1cec3b5commit hash: ff0f036938004bcedcd095806fc3c0cad1cec3b5commit hash: ff0f036938004bcedcd095806fc3c0cad1cec3b5 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/kokkos: update 4.1.00 → 4.3.00

Reported by:	portscout
1.4
06 Mar 2024 08:35:29
commit hash: 4f63327c570c21ccad2b2c1ff15204409aedc791commit hash: 4f63327c570c21ccad2b2c1ff15204409aedc791commit hash: 4f63327c570c21ccad2b2c1ff15204409aedc791commit hash: 4f63327c570c21ccad2b2c1ff15204409aedc791 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/clad: update 1.3 → 1.4

Reported by:	portscout
1.3
12 Feb 2024 07:57:08
commit hash: d05d11f6c58eae82ff6cbbb2c916ca99f78520decommit hash: d05d11f6c58eae82ff6cbbb2c916ca99f78520decommit hash: d05d11f6c58eae82ff6cbbb2c916ca99f78520decommit hash: d05d11f6c58eae82ff6cbbb2c916ca99f78520de files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/clad: Add missing patch
1.3
12 Feb 2024 07:56:28
commit hash: e6f347954812fa66e2c42f826f0a312fb39c590fcommit hash: e6f347954812fa66e2c42f826f0a312fb39c590fcommit hash: e6f347954812fa66e2c42f826f0a312fb39c590fcommit hash: e6f347954812fa66e2c42f826f0a312fb39c590f files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/clad: update 1.2 → 1.3

Reported by:	portscout
1.2
19 Jul 2023 18:26:04
commit hash: f3a0c9a0ce90f5bc83f96664dc16e94a5d0665cccommit hash: f3a0c9a0ce90f5bc83f96664dc16e94a5d0665cccommit hash: f3a0c9a0ce90f5bc83f96664dc16e94a5d0665cccommit hash: f3a0c9a0ce90f5bc83f96664dc16e94a5d0665cc files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/clad: Add test target
1.2
19 Jul 2023 09:24:16
commit hash: 8d4414cedb428a93d67444dffb01abaef739d28acommit hash: 8d4414cedb428a93d67444dffb01abaef739d28acommit hash: 8d4414cedb428a93d67444dffb01abaef739d28acommit hash: 8d4414cedb428a93d67444dffb01abaef739d28a files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/clad: New port: Automatic differentiation for C/C++

Number of commits found: 12