mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 17:26:06 -06:00
Exposes SystemC (3.0.0, 3.0.1, 3.0.2) and QuantLib (1.43) in the C++ library dropdown. Closes #8291. QuantLib was requested directly by @vickoza alongside SystemC and has no issue of its own. Needs compiler-explorer/infra#2265 to install and build them; that PR has the build recipes and the end-to-end verification (a clocked `SC_MODULE` simulation and a Black-Scholes option price, both compiled and run against the real install trees). Both are static libraries with `packagedheaders=true`, so the headers arrive with the conan package and no `path` is needed. The one exception is QuantLib, whose public headers include `boost/`, so its Boost include path is listed the same way `libs.hpx` does it. Two things users will run into, both inherent to the libraries: - SystemC 3.0 requires C++17 or newer and says so with its own `#error`, so `-std=c++17` is needed on compilers that default lower. - `#include <ql/quantlib.hpp>` is the QuantLib mega-header and costs about 12.7s to compile; including the specific `ql/` headers instead costs about 1.9s. `npm run test:props` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>