Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify CPU type as a virtual package #11459

Open
3 tasks done
m3vaz opened this issue May 9, 2022 · 6 comments
Open
3 tasks done

Specify CPU type as a virtual package #11459

m3vaz opened this issue May 9, 2022 · 6 comments
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

Comments

@m3vaz
Copy link

m3vaz commented May 9, 2022

Checklist

  • I added a descriptive title
  • I searched for other feature requests and couldn't find a duplicate (including also the type-feature tag)
  • I confirmed that it's not related to another project (see the above section)

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 package

Additional Context

This is related to #11457 which results in incompatible packages being compiled.

@m3vaz m3vaz added the type::feature request for a new feature or capability label May 9, 2022
@leofang
Copy link

leofang commented May 23, 2022

Possibly related: #9818

@leofang
Copy link

leofang commented May 23, 2022

Parallel discussion on conda-forge: conda-forge/conda-forge.github.io#1261

@leofang
Copy link

leofang commented May 23, 2022

(cc: @jakirkham for vis)

@jezdez
Copy link
Member

jezdez commented Oct 14, 2022

This is a good idea and will go splendidly with what we're working on for the next conda release in #11854.

@jezdez jezdez added the backlog issue has been triaged but has not been earmarked for any upcoming release label Oct 14, 2022
@github-actions
Copy link

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    - What OS and version you reproduced the issue on
    - What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Oct 15, 2023
@jakirkham
Copy link
Member

Let's keep this open

@github-actions github-actions bot added stale::recovered [bot] recovered after being marked as stale and removed stale [bot] marked as stale due to inactivity labels Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: No status
Development

No branches or pull requests

4 participants