Skip to content

cppduals: add version 0.9.2 - #860

Merged
NeroBurner merged 2 commits into
cpp-pm:masterfrom
tesch1:pkg.cppduals
Aug 21, 2026
Merged

cppduals: add version 0.9.2#860
NeroBurner merged 2 commits into
cpp-pm:masterfrom
tesch1:pkg.cppduals

Conversation

@tesch1

@tesch1 tesch1 commented Aug 21, 2026

Copy link
Copy Markdown

Adds cppduals 0.9.2 — a header-only C++17 dual-number library for exact forward-mode automatic differentiation, with optional Eigen integration. MPL-2.0, described in JOSS 4(43):1487.

Contents:

  • cmake/projects/cppduals/hunter.cmakeurl_sha1_cmake scheme, tests and benchmarks disabled.
  • cmake/configs/default.cmake — default version 0.9.2.
  • examples/cppduals/ — example that computes f(2) and f'(2).
  • docs/packages/pkg/cppduals.rst and the Math category entry.

The first push of this PR used 0.9.1, and every CI job failed to configure:

CMake Error at CMakeLists.txt:44 (set_property):
  set_property could not find CACHE variable CMAKE_CXX_STANDARD.

Upstream cause: hunter toolchains set CMAKE_CXX_STANDARD as a normal variable, so cppduals never created the cache entry it then tried to attach a STRINGS property to. Fixed upstream in !63 and released as 0.9.2, which this PR now points at. Reproduced and re-tested locally with a toolchain file that sets the standard the same way.

The recipe is kept upstream in the library repository under packaging/hunter/, so later versions stay in sync.

tesch1 added 2 commits August 20, 2026 23:21
0.9.1 does not configure under a toolchain that sets CMAKE_CXX_STANDARD
as a normal variable; 0.9.2 fixes that.
@tesch1 tesch1 changed the title cppduals: add version 0.9.1 cppduals: add version 0.9.2 Aug 21, 2026

@NeroBurner NeroBurner left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. Thank you for contributing!

@NeroBurner
NeroBurner merged commit e85ec92 into cpp-pm:master Aug 21, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants