Skip to content
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

Handle BLS portable vs modern distinction in CI cache #3089

Open
michaelsproul opened this issue Mar 14, 2022 · 0 comments
Open

Handle BLS portable vs modern distinction in CI cache #3089

michaelsproul opened this issue Mar 14, 2022 · 0 comments
Labels

Comments

@michaelsproul
Copy link
Member

Description

We've started using build caches for the local-testnet job, which seems to be a good testing ground before we apply caches more broadly.

Currently there's an issue where the cache can be transferred from a machine with ADX to a machine without, causing a SIGILL (exit code 132): https://github.com/sigp/lighthouse/runs/5545911178?check_suite_focus=true

I think we should update the cache key so that it includes the machine's ADX status. That way there won't be any cache sharing between machines with ADX and without. Although many hypervisors lie about ADX compatibility in their CPUID it's sufficient for us to rely on the CPUID as that's what the BLST library uses to enable/disable ADX (see: https://github.com/supranational/blst/blob/f2380d22a1c6a5f82c1bc187ec7fd4019051969e/bindings/rust/build.rs#L102-L109).

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

No branches or pull requests

1 participant