.github: cross-compile powerpc64 Linux asset#799
Draft
ee7 wants to merge 1 commit intoexercism:mainfrom
Draft
Conversation
ErikSchierboom
approved these changes
Aug 17, 2023
b9f7550 to
80ed3fc
Compare
80ed3fc to
4009215
Compare
Member
Author
|
The newly built executable doesn't pass my local testing (note #790 and #791). When running with qemu, some configlet commands produce an error. I would guess that these errors would also occur if the executable was run natively. I'm not surprised by the errors. It looks like some of our dependencies assume that the platform is little endian, but I'll set this PR as a draft for now. $ qemu-ppc64-static ./configlet lint -t /path/to/exercism-tracks/nim
[...]
The value of `online_editor.indent_style` is `space`, but it must be one of {"space", "tab"}:
/path/to/exercism-tracks/nim/config.json
A `files.solution` value is `%{snake_slug}.nim`, which is not a valid file pattern. Allowed placeholders are: %{kebab_slug}, %{snake_slug}, %{pascal_slug}, and %{camel_slug}:
/path/to/exercism-tracks/nim/config.json
[...]$ qemu-ppc64-static ./configlet completion -s bash
Error: Invalid buffer, unable to uncompress
supersnappy.nim(112) uncompress
Error: unhandled exception: Invalid buffer, unable to uncompress [SnappyError] |
Member
Ah, the joys of endianness |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Continue the recent
zig ccwork, such that the next configlet release will have two new release assets:where the archive contains the executable:
The
powerpc64-linux-musltarget will have Tier 1 Zig support.Note that powerpc64 is big endian.
Refs: #24
Closes: #810
To-do:
configlet lintconfiglet --helpconfiglet completionconfiglet create|fmt|generate|info|sync|uuid|--version