-
Notifications
You must be signed in to change notification settings - Fork 82
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
Use byteSwapX# in WORDS_BIGENDIAN #260
Conversation
This seems to work as expected, presuming the MacOS build really tests the |
Thanks! Could we get a changelog entry for this? |
Done. I say 3.5.2.0 in the CHANGELOG, but I'm inclined to think it's only a PATCH change really. You can always adjust later, I guess. |
Unfortunately it does not, Apple hardware is little endian for the past 15 years or so. To test the change properly one has to setup an emulated job for |
Oh, wow... I somehow thought that iOS was big endian, but it actually isn't. Nevermind then. |
569fb3f
to
cf6599f
Compare
Alright, I added an emulated CI pipeline as @Bodigrim suggested. Not pretty, but does the job, and shouldn't break all to often given that For the job in https://github.com/sgraf812/alex/actions/runs/9912679649/job/27388017292 (569fb3f), I replaced The job in https://github.com/sgraf812/alex/actions/runs/9912681641/job/27388023583 (36cc05e) does no such replacement and consequently is green. No idea why the other CI jobs fail |
No, I think only
|
I am fixing Haskell CI in this PR that we should merge first: |
@Mergifyio rebase |
This is in order to test the WORDS_BIGENDIAN code path.
@sgraf812 : Do you want this change released now? |
Thanks! No need for a release, I just wanted to test the code in haskell/happy#280. Replicating the emulated-CI-without-cabal setup for the multi-component Edit: Do press merge when you think this is ready! |
Spurred by @Bodigrim in haskell/happy#280 (comment), let's try having a bit more efficient code on
WORD_BIGENDIAN
architectures.Mostly uploading this for CI, hoping there will be a big-endian machine to test the new code path.