Skip to content

Conversation

@shameekganguly
Copy link
Contributor

Fixes linker issues when building with --dynamic_mode off that come from missing symbols in the IO plugin libraries. The fix is to merge all IO plugin sources directly into the @assimp target instead of building them as separate cc libraries. This change is backward compatible since the plugin libraries were not publicly visible. For the sake of logical organization, I have kept the sources for each IO plugin as separate filegroup targets that are merged into srcs for the @assimp library target.

@bazel-io
Copy link
Member

Hello @bazelbuild/bcr-maintainers, modules (assimp) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

Copy link
Member

@bazel-io bazel-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @bazelbuild/bcr-maintainers, all modules in this PR have been approved by their maintainers. This PR will be merged if all presubmit checks pass.

@shameekganguly
Copy link
Contributor Author

@bazel-io skip_check unstable_url

@bazel-io bazel-io added the skip-url-stability-check Skip the URL stability check for the PR label May 30, 2025
@bazel-io bazel-io merged commit c921500 into bazelbuild:main May 30, 2025
20 checks passed
@bazel-io bazel-io added the auto-merged This PR is automatically merged by the BCR reviewer bot. label May 30, 2025
shameekganguly added a commit to gazebosim/gz-common that referenced this pull request May 30, 2025
Fixes bazel build with --dynamic_mode=off by pulling in a newer version of assimp (bumped in bazelbuild/bazel-central-registry#4724, please read the PR description there for details on the error and the fix).

Signed-off-by: Shameek Ganguly <[email protected]>
@shameekganguly shameekganguly deleted the fix_assimp branch June 2, 2025 20:58
filmil pushed a commit to filmil/bazel-central-registry that referenced this pull request Jun 23, 2025
Fixes linker issues when building with `--dynamic_mode off` that come
from missing symbols in the IO plugin libraries. The fix is to merge all
IO plugin sources directly into the `@assimp` target instead of building
them as separate cc libraries. This change is backward compatible since
the plugin libraries were not publicly visible. For the sake of logical
organization, I have kept the sources for each IO plugin as separate
`filegroup` targets that are merged into `srcs` for the `@assimp`
library target.

Signed-off-by: Shameek Ganguly <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merged This PR is automatically merged by the BCR reviewer bot. skip-url-stability-check Skip the URL stability check for the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants