Port details
clad Automatic differentiation for C/C++
2.4_1 math Σ =0 2.4Version of this port present on the latest quarterly branch. Maintainer: yuri@FreeBSD.org Port Added: 2023-07-19 09:27:06
Last Update: 2026-10-01 22:30:59
Commit Hash: af901a4
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 = 1782805921
SHA256 (vgvassilev-clad-v2.4_GH0.tar.gz) = 69502d31bc4f399e696652373e6c77ded5f015c9639fce0c177ad98b207337e9
SIZE (vgvassilev-clad-v2.4_GH0.tar.gz) = 1420962
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-config19 : devel/llvm19
Test dependencies: #
kokkos>0 : devel/kokkos
Runtime dependencies: #
llvm-config19 : devel/llvm19
There are no ports dependent upon this port #
Configuration Options : #
No options to configure Options name : #
math_clad USES: #
cmake:testing llvm:build,run localbase
FreshPorts was unable to extract/find any pkg message # Master Sites: #
Number of commits found: 16 #
Commit History - (may be incomplete: for full details, see links to repositories near top of page)
Commit Credits Log message
2.4_1 01 Oct 2026 22:30:59
Yuri Victorovich (yuri)
devel/kokkos: update 4.7.04 → 5.2.2
2.4 30 Jun 2026 07:58:15
Yuri Victorovich (yuri)
math/clad: update 2.2 → 2.4
2.2_1 08 Jun 2026 06:28:12
Yuri Victorovich (yuri)
devel/kokkos: update 4.5.01 → 4.7.04
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++
Number of commits found: 16