-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Conversation
@vkomenda I'm glad to hear this resolved the issue you observed. Thanks for picking it up! 🙏 @mvines any preference on specifying |
Set |
@mvines, is it possible that that script is used for cross-compilation? I'm asking because |
I don't think we have a formal cross-compilation workflow. It seems like your rpi container work is likely taking the lead on that front right now, what works best for you? I'm mostly neutral on this issue overall right now. |
Hopefully this works as expected. The only problem now is how to build it locally. I used to |
@vkomenda yes that should work just fine! You can build by running the script directly, @mvines I'm assuming we also want CI running this configuration, since that's how releases will be configured |
Wait, |
Correct. Earlier I tried compiling with the empty RUSTFLAGS and none of AVX or AVX2 were enabled. It was on a machine with AVX and without AVX2. |
🤯 |
AFAIK, we can commit a |
k, so |
That's the way I understand it working. I'll take it for a test drive to ensure the implementation matches the docs |
With this commit t-nelson@6d3d399, I was able to confirm the expected behavior. That is, an AVX2-supporting build host always emits AVX2 code, while a non-supporting build host does not emit AVX2 upon |
nice sounds good |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This stale pull request has been automatically closed. Thank you for your contributions. |
some validator is again experiencing odd errors |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@vkomenda Hi, are you going to work on this in near future? I'd like this to move forward. If not possible, I'm happy to take this over. :) |
I'm happy with you taking it over! I can help you of course if needed. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This stale pull request has been automatically closed. Thank you for your contributions. |
Problem
AVX and AVX2 features were forced on x86 instead of being enabled when available on the target.
Summary of Changes
Flag checks are run only if the flags are enabled in
RUSTFLAGS
:or
Fixes #10126
Outstanding issues
Scripts and docs should be updated unless there is a better method without using
RUSTFLAGS
.