-
Notifications
You must be signed in to change notification settings - Fork 19
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
mongodb 7.0.12 contains avx2 instructions #16
Comments
@ondrej-zary Would you share a full repo that could build a docker image that base on mongodb 7.X without AVX requirement? |
No, I don't have any. I just build the binary and replace it in the official deb package. Then use it for unifi network (wireless controller). |
After 8 hours of building on my weak N5095 system, because I didn't think it would be that bad, I also discovered this 😂. I folded the above patch into one applied in the Dockerfile, but at the same time am experimenting with Will report back in... a few more hours I guess. |
So in the end I went in the complete opposite direction and decided to just run Mongo via static QEMU under the assumption that performance really isn't a concern for my use case anyway. If that holds true for anyone else, then I've made my simple wrapper container available: https://github.com/stevekerrison/mongo-qemu-avx |
Apologies if this is a stupid question but how do I roll this patch into the Dockerfile build? |
mongodb upgraded mozjs to ESR115.7 in 7.0.12 and its brain-dead SConscript contains this:
env.Append(CCFLAGS=['-mavx2'])
Removing it does not work - looks like SIMD_avx2.cpp must be compiled with this flag. I don't know how to fix that so I hacked it around.
mozjs-noavx.patch
The text was updated successfully, but these errors were encountered: