← Back to Pull requests

Adding smf-solver #35832

Open
unknown opened this pull request with 311 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 25, 2026 13:26 UTC
Author

Adds smf-solver v0.2.3: an MIT/Apache-2.0 C++20 sparse symmetric multifrontal direct linear solver (smf, Cholesky / LDL^T with certified inertia) for interior-point optimizers (IPOPT, CasADi, cyipopt, Pyomo).

Installs the versioned C ABI (libsmf_c, smf/smf_c.h, smf-solver.pc, CMake smf::smf_c) and the drop-in HSL MA97 plugin (libsmf_ma97) against conda-forge's libblas/liblapack/libcblas and libamd on Linux, macOS and Windows.

Notes:

  • Package and pkg-config file are named smf-solver (matching PyPI smf-solver) so there are no file collisions with the existing MIDI libsmf package.

  • smf embeds a thread-safe modified vendored METIS 5.2.1 / GKlib (Apache-2.0); all third-party licenses are listed in about.license_file.

  • Built with -DSMF_INSTALL_STATIC_LIBS=OFF so no static archives are installed (per CFEP-18).

  • Windows is built with clang-cl so that OpenMP comes from llvm-openmp. With cl, the only runtime that supports OpenMP tasks is libomp140.x86_64.dll, which is not in the VC redistributable.

  • conda-forge.yml enables linux-aarch64, linux-ppc64le and osx-arm64 for the feedstock.
  • Checklist

  • Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated recipe".

  • Recipe uses the v1 recipe.yaml format, or this PR explains the exceptional requirement for deprecated v0.

  • License file is packaged (see the v1 example recipe for an example).

  • Source is from official source.

  • Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged).

  • If static libraries are linked in, the license of the static library is packaged.

  • Package does not ship static libraries. If static libraries are needed, follow CFEP-18.

  • Build number is 0.

  • A tarball (url) rather than a repo (e.g. git_url) is used in your recipe (see here for more details).

  • GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there.

  • When in trouble, please check our knowledge base documentation before pinging a team.
  • Diff: 311 lines (+233 / -78) across 3 files Reviewer: traversaro Review duration: 5242m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.40) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 311 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.344
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #35832"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 40.3% (MEDIUM) · Higher = larger blast radius
    40.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 21.5% · Safe to merge
    21.5%