Open jbearer opened 1 year ago
cc @mrain
I'm not sure how this would work exactly because we don't know the processor when we're building, just the architecture, I think. It's possible that we need separate Docker images of all services that depend on this in order to support older processors. cc @Ancient123
That doc says we should just need to trigger the portable flag while compiling.
What I'm worried about is if unconditionally setting that flag disables some optimization that would work on newer processors
To me, the issue feels like an intel ADX thing. We may compile 2 images for older CPUs and new ones.
That would match up with the processor having issues. It was haswell which is the generation right before ADX got added.
https://github.com/supranational/blst/blob/master/bindings/rust/README.md