5e-bits / 5e-database

Database for the D&D 5th Edition API
http://dnd5eapi.co/
MIT License
693 stars 345 forks source link

MongoDB 5 Requires AVX Instruction Set to Boot #605

Open Illydth opened 4 months ago

Illydth commented 4 months ago

So, living in a system admin world all my adult / professional life I get the need to keep systems up to date and software up to date. However I have to ask: Is there a solution to MongoDB 5 requiring the AVX instruction set? I realize that AVX was shipped with Haswell back in 2013 and thus 11 years is more than enough in the technical world to assume most people are running on it, but Xeon processors are RAMPANT in many home labs given the costs of systems.

Would it be too much to ask to release a dockerfile version for a Pre 5.x MongoDB installation that would work on older server hardware? It's not as if 5eAPI requires a honking system to run, the restriction is simply in the chosen software version at build time.

bagelbits commented 3 months ago

As far as I'm aware, this is due to the nature of where the docker instance is built. I run an M2 laptop and get the same error. I have to rebuild locally to avoid this error when I'm testing locally. Rebuilding locally should also fix this for you. I'm not sure the correct way to build this with Github actions so it doesn't have this error.