Repository navigation
Migrate fcl recipe to v1 - #29
Conversation
…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
|
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 ( |
Can't we just add that as patch in the feedstock? |
|
Yes, thanks for the suggestion. I replaced the Eigen Testing that against current Eigen 5.0.1 exposed two companion issues that are also already fixed upstream, so I also backported the missing 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 |
…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
Why: Modernize the
fclfeedstock from the legacymeta.yamlformat to the v1 recipe format andrattler-build, while preserving platform coverage and catching installed-package dependency regressions.What:
recipe/meta.yamltorecipe/recipe.yamland selectrattler-buildinconda-forge.yml.build.script: build; rattler-build selectsbuild.shorbuild.batautomatically.8to9because the build backend changes the artifact identity.fcl::Sphere<double>.eigen-abi-develto host requirements for the shared library, retain Eigen at runtime, and remove the unused FLANN dependency.How:
cassertinclude 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 commitsa3fbc9fand1257b41.eigen-abi-develsupplies the matchingeigen-abirun export for this shared library. Eigen remains in the installed environment because bothfcl.pcandfcl-config.cmakeexpose it to downstream consumers. FLANN is removed because FCL 0.7 neither discovers nor references it.Evidence: The final Linux rattler-build package succeeds with GCC 15, Eigen 5.0.1,
eigen-abi-devel5.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 matchingeigen-abi >=5.0.1.80,<5.0.1.81.0a0run export. All six targets (linux-64,linux-aarch64,linux-ppc64le,osx-64,osx-arm64, andwin-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 plainRun URL: local only (no run URL emitted)
pixi exec conda-smithy recipe-lint --conda-forge recipeRun URL: local only (no run URL emitted)
pixi exec conda-smithy rerender -c autoRun URL: local only (no run URL emitted); final run reported no changes.