| Port details |
- clad Automatic differentiation for C/C++
- 2.2 math
=2 1.8Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2023-07-19 09:27:06
- Last Update: 2025-11-04 07:21:32
- Commit Hash: 219017f
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- 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 = 1762232638
SHA256 (vgvassilev-clad-v2.2_GH0.tar.gz) = 9bcfae0931849658443deecae4f13ff23e9b79de60632c318efa059f9fd2dc6d
SIZE (vgvassilev-clad-v2.2_GH0.tar.gz) = 1327715
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- llvm-config16 : devel/llvm16
- Test dependencies:
-
- kokkos>0 : devel/kokkos
- Runtime dependencies:
-
- 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:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
2.2 04 Nov 2025 07:21:32
    |
Yuri Victorovich (yuri)  |
math/clad: update 1.8 → 2.2
Reported by: portscout |
1.8 13 Jan 2025 18:22:43
    |
Yuri Victorovich (yuri)  |
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
    |
Yuri Victorovich (yuri)  |
math/clad: update 1.7 → 1.8
Reported by: portscout |
1.7_1 19 Aug 2024 19:11:44
    |
Yuri Victorovich (yuri)  |
devel/kokkos: update 4.3.01 → 4.4.00 |
1.7 10 Aug 2024 13:58:24
    |
Yuri Victorovich (yuri)  |
math/clad: update 1.6 → 1.7
Reported by: portscout |
1.6 20 Jul 2024 08:36:51
    |
Yuri Victorovich (yuri)  |
math/clad: update 1.5 → 1.6
Reported by: portscout |
1.5 22 May 2024 07:39:56
    |
Yuri Victorovich (yuri)  |
math/clad: update 1.4 → 1.5
Reported by: portscout |
1.4_1 21 Apr 2024 18:28:27
    |
Yuri Victorovich (yuri)  |
devel/kokkos: update 4.1.00 → 4.3.00
Reported by: portscout |
1.4 06 Mar 2024 08:35:29
    |
Yuri Victorovich (yuri)  |
math/clad: update 1.3 → 1.4
Reported by: portscout |
1.3 12 Feb 2024 07:57:08
    |
Yuri Victorovich (yuri)  |
math/clad: Add missing patch |
1.3 12 Feb 2024 07:56:28
    |
Yuri Victorovich (yuri)  |
math/clad: update 1.2 → 1.3
Reported by: portscout |
1.2 19 Jul 2023 18:26:04
    |
Yuri Victorovich (yuri)  |
math/clad: Add test target |
1.2 19 Jul 2023 09:24:16
    |
Yuri Victorovich (yuri)  |
math/clad: New port: Automatic differentiation for C/C++ |