Scoop icon indicating copy to clipboard operation
Scoop copied to clipboard

[Feature] Automatic CPU microarchitecture detection for optimal binaries

Open BitWizardX opened this issue 10 months ago • 0 comments

Is your feature request related to a problem? Please describe.

Some modern software builds target specific CPU microarchitectures to leverage newer instruction sets (like SSE4.2 for v2, AVX2 for v3, AVX512 for v4) for optimized performance and efficiency. However, Scoop currently installs a generic build of such software by default, even if the user's CPU supports a more advanced microarchitecture. This means users don't automatically benefit from these performance optimizations.

For example, software like:

  • mpv (provides v2 and v3 builds)
  • sing-box (provides v2 and v3 builds)

Currently, Scoop would install the generic x64 version and miss out on potential performance gains provided by v3 builds.

Describe the solution you'd like

I'd like Scoop to implement a mechanism to detect the host CPU's microarchitecture (e.g., whether it supports v2, v3, or v4 instruction sets) and automatically select and install the most performant compatible build available from the manifest.

Describe alternatives you've considered

Maintain a second repository specifically for indexing binaries for newer architectures.

BitWizardX avatar Jun 14 '25 05:06 BitWizardX