Skip to content

A migrator (or a hint) for moving from cross-compilation to native GHA builds #2852

@mgorny

Description

@mgorny

Your question:

Now that we have native linux_aarch64, linux_ppc64le, osx_arm64 runners, I suppose it makes sense to start moving feedstocks away from cross-compiling and to native builds on these platforms. Especially that people seem to be still unaware that they don't need to add platform support via cross anymore.

What I'm thinking of is creating a migrator that would try switching feedstocks from cross compilation to native builds for the platforms that support it. For example, from:

provider:
  linux_64: github_actions
build_platform:
  linux_aarch64: linux_64

to:

provider:
  linux_64: github_actions
  linux_aarch64: github_actions

Alternatively, if migrator is too aggressive, we could have conda-smithy emit a hint that native builds could be used. However, I think migrator is better since it saves users from doing this manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions