Skip to content

Migrate fcl recipe to v1 - #29

Merged
jeongseok-meta merged 11 commits into
conda-forge:mainfrom
jeongseok-meta:migrate-v1-recipe
Aug 29, 2026
Merged

jeongseok-meta merged 11 commits into
conda-forge:mainfrom
jeongseok-meta:migrate-v1-recipe

Conversation

@jeongseok-meta

@jeongseok-meta jeongseok-meta commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Why: Modernize the fcl feedstock from the legacy meta.yaml format to the v1 recipe format and rattler-build, while preserving platform coverage and catching installed-package dependency regressions.

What:

How:

  • FCL 0.7 compatibility — backport the upstream cassert include and CMake compile-feature changes so the released source builds with current Eigen 5 instead of constraining Eigen below 5. The patches can be removed after an upstream release containing commits a3fbc9f and 1257b41.
  • Test compatibility — backport the focused capsule-test tolerance adjustment already merged upstream in Update OctoMap to latest release (1.10.0) flexible-collision-library/fcl#659, and make the Unix build script stop on test failures.
  • ABI/runtime metadata — eigen-abi-devel supplies the matching eigen-abi run export for this shared library. Eigen remains in the installed environment because both fcl.pc and fcl-config.cmake expose it to downstream consumers. FLANN is removed because FCL 0.7 neither discovers nor references it.
  • Generated CI — rerender with conda-smithy 2026.8.9 and conda-forge-pinning 2026.08.29.00.37.42; repeated rerenders are idempotent.

Evidence: The final Linux rattler-build package succeeds with GCC 15, Eigen 5.0.1, eigen-abi-devel 5.0.1.100, and CMake 4.4.3. All 41 upstream tests pass, followed by the installed-package pkg-config and CMake compile/link/run tests. The package metadata contains the matching eigen-abi >=5.0.1.80,<5.0.1.81.0a0 run export. All six targets (linux-64, linux-aarch64, linux-ppc64le, osx-64, osx-arm64, and win-64) render and solve successfully.

Test plan:

pixi exec --spec rattler-build rattler-build build --recipe recipe -m .ci_support/linux_64_.yaml --target-platform linux-64 --build-platform linux-64 --test native --output-dir /tmp/fcl-v1-rattler-8f82fbd --log-style plain

Run URL: local only (no run URL emitted)

pixi exec conda-smithy recipe-lint --conda-forge recipe

Run URL: local only (no run URL emitted)

pixi exec conda-smithy rerender -c auto

Run URL: local only (no run URL emitted); final run reported no changes.

…026.08.29.00.37.42

Other tools:
- conda-build 26.7.1
- rattler-build 0.75.0
- rattler-build-conda-compat 1.4.19
…026.08.29.00.37.42

Other tools:
- conda-build 26.7.1
- rattler-build 0.75.0
- rattler-build-conda-compat 1.4.19
@conda-forge-admin

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/recipe.yaml) and found it was in an excellent condition.

@jeongseok-meta
jeongseok-meta marked this pull request as ready for review August 29, 2026 14:54
@traversaro

Copy link
Copy Markdown
Contributor

FCL 0.7 compatibility -- constrain Eigen to <5 in both host and run requirements because FCL 0.7 hardcodes C++11 while Eigen 5 requires C++14. This upper bound can be removed after a release containing Use target_compile_features to specify the C++11 requirement flexible-collision-library/fcl#645.

Can't we just add that as patch in the feedstock?

Comment thread recipe/recipe.yaml Resolved
Comment thread recipe/recipe.yaml Resolved
@jeongseok-meta

Copy link
Copy Markdown
Contributor Author

Yes, thanks for the suggestion. I replaced the Eigen <5 ceiling with a backport of the merged upstream fix in flexible-collision-library/fcl#645.

Testing that against current Eigen 5.0.1 exposed two companion issues that are also already fixed upstream, so I also backported the missing <cassert> include from flexible-collision-library/fcl#620 and the focused capsule-test tolerance change from flexible-collision-library/fcl#659. I also made build.sh stop on test failures so those results cannot be silently ignored.

With those changes, the native Linux build now passes with GCC 15, Eigen 5.0.1, and CMake 4.4.3: all 41 upstream tests pass, followed by the installed-package pkg-config and CMake consumer test. All six platform variants also render and solve. The new head is e9c0b5cabbaf7dfaa29a745457635a72cf634a8f; fresh CI is running.

…026.08.29.00.37.42

Other tools:
- conda-build 26.7.1
- rattler-build 0.75.0
- rattler-build-conda-compat 1.4.19
@jeongseok-meta
jeongseok-meta merged commit f21ddd1 into conda-forge:main Aug 29, 2026
9 checks passed
@jeongseok-meta
jeongseok-meta deleted the migrate-v1-recipe branch August 29, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants