← Back to Pull requests

Libbullet split #74

Open
unknown opened this pull request with 397 lines diff across 4 files
View on GitHub
unknown unknown commented on Nov 24, 2026 08:45 UTC
Author

Checklist
[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy
[x] Ensured the license file is being packaged.

Closes #73, closes #64.

Splits bullet-cpp as suggested in #73 (option 2), with the lib / -devel layout asked for in review:

  • libbullet (new): the run-time shared libraries only. No dependency on libgl or the xorg libraries, no run_exports.

  • libbullet-devel (new): headers, CMake and pkg-config files and the unversioned link names. Depends on libbullet (exact) and has run_exports on libbullet.

  • bullet-cpp: only the OpenGL example browser (BulletExampleBrowser, OpenGLWindow, gwen, BulletExampleBrowserLib, BulletRoboticsGUI, bullet_robotics_gui.pc) and the example data in opt/bullet. Depends on libbullet and libbullet-devel (exact), keeps libgl / xorg-libx11 / xorg-libxext, and keeps its run_exports on itself.
  • How it is built: the existing C++ build scripts run unchanged, once, in a staging output, and the three packages select their files with build.files globs. On linux-64 the three packages together contain exactly the files of bullet-cpp build 6, with no file in two packages.

    Things worth a look:

  • bullet-cpp installs the same files as before and exports itself as before, so nothing changes for a feedstock that keeps bullet-cpp in host. A headless consumer switches host to libbullet-devel and then gets only libbullet at run time.

  • libbullet and libbullet-devel have run_constraints: bullet-cpp ==3.25 *_7, so they cannot be installed next to a pre-split bullet-cpp that ships the same files.

  • libBussIK is installed without a versioned file name, so the library itself is in libbullet and libbullet-devel has no link name for it.

  • On Windows the libraries are static, so libbullet is empty there and everything is in libbullet-devel. Happy to skip libbullet on Windows instead if you prefer.

  • opt/bullet/data (103 MB of 149 MB unpacked) stays in bullet-cpp. Unpacked, libbullet is 16 MB and libbullet-devel 22 MB.

  • All headers are in libbullet-devel, because some non-GUI headers include OpenGLWindow/ headers.

  • pybullet and bullet are unchanged and still depend on bullet-cpp.

  • macOS is pinned to clang 21 in recipe/conda_build_config.yaml. The re-render moved it to clang 22, which rejects the same pybullet.c lines that gcc 14 does (the reason Linux is held at gcc 13). Happy to move this to a separate PR.

  • libbullet and libbullet-devel need registering as outputs of this feedstock: conda-forge/admin-requests#2503. Output validation fails here until that is merged.
  • Tested locally on linux-64 only (one Python variant): the build and package tests pass, a small program compiles against libbullet-devel alone through bullet.pc, bullet-float64.pc and find_package(Bullet) and runs in an environment with libbullet alone, and neither environment contains a GL or xorg package. macOS and Windows rely on CI here.

    🤖 Generated with Claude Code

    Diff: 397 lines (+297 / -100) across 4 files Reviewer: traversaro Review duration: 6963m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.43) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 397 lines diff across 4 files
    0.43
    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.358
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #74"
    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: 43.2% (MEDIUM) · Higher = larger blast radius
    43.2%
    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: 23% · Safe to merge
    23%