[Feature] Automatic CPU microarchitecture detection for optimal binaries
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:
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.