Specify CPU type as a virtual package #11459
Labels
backlog
issue has been triaged but has not been earmarked for any upcoming release
plugins
pertains to a plugin/subcommand
stale::recovered
[bot] recovered after being marked as stale
type::feature
request for a new feature or capability
Checklist
type-feature
tag)What is the idea?
The conda compilers can target and tune for specific cpu architectures, however this information isn't stored in the package description and can't be selected for at install time.
Compiling and tuning for specific architectures is a use case for developers that want to provide performant packages for the users that want them. It would also stop incompatible packages from being used on machines that can't run the binaries.
Why is this needed
Compilers can target specific architectures, but there's no way to communicate that information in the package description or select for it. It effectively means that for linux-64 packages, developers need to be targeting
-march=x86_64
in order to insure that users always have compatible packages, and it also means that targeted performance tuning for specific CPU's is not available.What should happen?
A virtual package(s) should be available describing the underlying host cpu capabilities, similar to the
__cuda
virtual packageAdditional Context
This is related to #11457 which results in incompatible packages being compiled.
The text was updated successfully, but these errors were encountered: