Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Automatically download '-baseline' build if CPU does not support AVX2 on MacOS/Windows. #24

Open
z0rrn opened this issue Apr 3, 2024 · 0 comments

Comments

@z0rrn
Copy link
Contributor

z0rrn commented Apr 3, 2024

The bun-plugin should download the '-baseline' build automatically if it does not detect AVX2 support in the CPU. I already implemented this in #22 on Linux.

  • MacOS: This should be easy because, what I think, only the command here must be changed, but I have no Mac and do not understand how to use | in exec_command!.
  • Windows: This is way harder because I could not find a command to check for AVX2 support. If anyone has a clue, please help!

If I miss something, just say. It's my first time contributing.
Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant