• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stillwater-sc / universal / 41275443437
89%
master: 84%

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 01 Nov 2026 05:22AM UTC
Jobs 1
Files 772
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Nov 2026 05:03AM UTC coverage: 88.332%. Remained the same
41275443437

push

github

web-flow
build(cmake): set the header compile guards through CMake cache variables (#1886)

* build(cmake): set the header compile guards through CMake cache variables

The six UNIVERSAL_* header guards (#ifndef UNIVERSAL_X / #define default) could only be set
by hand in CMAKE_CXX_FLAGS. tools/cmake/header_guards.cmake declares each as a cache variable:

  UNIVERSAL_TRUSTED_FMA                AUTO | ON | OFF            (AUTO: header detects)
  UNIVERSAL_DD_CASCADE_SQRT_ALGORITHM  DEFAULT | NEWTON_DIVISION | NEWTON_RECIPROCAL | KARP
  UNIVERSAL_TD_CASCADE_SQRT_ALGORITHM  DEFAULT | NEWTON_DIVISION | NEWTON_RECIPROCAL
  UNIVERSAL_QD_CASCADE_SQRT_ALGORITHM  DEFAULT | NEWTON_DIVISION | NEWTON_RECIPROCAL
  UNIVERSAL_LIMB_KERNELS_NO_ASM        OFF | ON
  UNIVERSAL_USE_GLPK                   OFF | ON  -> finds GLPK; mixedprecision/pop defines
                                                    UNIVERSAL_HAS_GLPK and links it

A choice accepts its label or the macro value it stands for; anything else, or the same macro
set both as a cache variable and by hand (CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_<CONFIG>, or a
compile definition or option, including a parent project's), stops configuration with an error.

The definitions are directory scope, so they apply to Universal's own build tree and are never
written into the installed universal-targets.cmake: a find_package(UNIVERSAL) consumer makes
its own choice by defining the macro itself.

Each declaration also registers the guard with the configuration summary, which now prints the
registered list instead of six hand-written lines, so a new guard cannot be added without being
reported. A guard left unset is still reported per configuration from CMAKE_CXX_FLAGS_<CONFIG> and the
directory compile definitions and options, and UNIVERSAL_TRUSTED_FMA keeps its per-configuration
compile probe of utility/directives.hpp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* build(cmake): catch header guards set in EXTRA_CXX_FLAG... (continued)

55906 of 63291 relevant lines covered (88.33%)

8860017.35 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
97.04
0.0% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 41275443437.1 01 Nov 2026 05:22AM UTC 772
88.33
GitHub Action Run
Source Files on build 41275443437
  • Tree
  • List 772
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41275443437
  • acdcda28 on github
  • Prev Build on main (#41269533638)
  • Next Build on main (#41275672496)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc