Embed optional collision backends in core dart#2194
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
139475d to
412fa65
Compare
|
@codex review |
412fa65 to
f30b5e5
Compare
💡 Codex Reviewdart/dart/collision/bullet/CMakeLists.txt Lines 62 to 75 in 412fa65 dart
These lines wire Bullet directly into the core ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
f30b5e5 to
89b582c
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
89b582c to
b9718f7
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
b9718f7 to
9ec6154
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
9ec6154 to
1d85c3e
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
dart/dart/optimizer/ipopt/CMakeLists.txt
Lines 13 to 16 in 1d85c3e
The Ipopt component no longer defines IPOPT_VERSION_MAJOR/MINOR/PATCH for the dart-optimizer-ipopt target. IpoptSolver.hpp still evaluates #if IPOPT_VERSION_GE(3, 13, 0) to choose between <IpIpoptApplication.hpp> and <coin/IpIpoptApplication.hpp>. Without these compile definitions the macros evaluate to zero, so any build against Ipopt ≥ 3.13 always goes down the legacy coin/... include path and fails because those headers no longer exist. Please reinstate the target_compile_definitions that populate the version macros or include IpoptConfig.h before the version check so modern Ipopt releases can compile.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
4df3d6d to
6d5bb22
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
6d5bb22 to
b2e9224
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Pull request was converted to draft
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2194 +/- ##
==========================================
- Coverage 61.75% 61.29% -0.47%
==========================================
Files 388 363 -25
Lines 33216 32043 -1173
Branches 4214 4090 -124
==========================================
- Hits 20512 19640 -872
+ Misses 12704 12403 -301
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Purpose
dart-collision-*components so the optional Bullet and ODE detectors behave like first-class features of thedartlibrary.dart-optimizer-*) so future follow-up PRs can apply the same pattern across the rest of the tree.Changes
DART_BUILD_COLLISION_BULLET/DART_BUILD_COLLISION_ODE(defaultONin Pixi) and teach the Bullet/ODE subdirectories toOFF,FATAL_ERRORwhen dependencies are missing while the option isON, andcmake_language(DEFER ...)their sources/includes/link flags directly onto thedarttarget so there are no standalone collision libraries.DARTConfig.cmake, pkg-config hints, examples, tutorials, benchmarks, tests, and dartpy bindings to link only againstdart/dart-utils*while conditionally enabling Bullet/ODE-specific executables based on the new flags.Implications
ONwithout the corresponding dependency now stops configuration instead of producing a partially featured build. Users who need Bullet/ODE simply enable the option (defaultONin Pixi) and installlibbullet-dev≥3.25 orlibode-dev≥0.13; everyone else can set the optionOFFto skip the backend entirely.dartartifact now carries Bullet/ODE when the options are enabled, so there is no need to produce or ship extradart-collision-*packages. Downstream projects discover the availability viaDART_BUILD_COLLISION_*cache exports or the existingHAVE_BULLET/HAVE_ODEconfig defines.dart-collision-*targets; linking againstdartis sufficient. Tests/examples guard Bullet/ODE-specific binaries with the new CMake options, so developers running partial builds receive clear skip/failure messages instead of link errors.Milestone: DART 7.0
Before creating a pull request
pixi run test-allto lint, build, and test your changes (not run in this environment)