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

[Feature Request] Statically linked arm builds #131

Open
flying-sausages opened this issue Dec 26, 2020 · 4 comments
Open

[Feature Request] Statically linked arm builds #131

flying-sausages opened this issue Dec 26, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@flying-sausages
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
I'm trying to make a more dynamic installer for our tool and I need somethin more specific so I can make sure I'm grabbing the amd64 builds.

Describe the solution you'd like
mango-amd64

Describe a small use-case for this feature request
I'd like to get rid of the amd64 case here

    case "$(_os_arch)" in
        "arm64" | "arm32")
            dlurl=$(curl -s https://api.github.com/repos/hkalexling/Mango/releases/latest | grep "browser_download_url" | grep "$(os_arch)" | cut -d\" -f 4)
            ;;
        "amd64")
            dlurl=$(curl -s https://api.github.com/repos/hkalexling/Mango/releases/latest | grep "browser_download_url" | head -1 | cut -d\" -f 4)
            ;;
        *)
            echo_error "Unsupported arch?"
            exit 1
            ;;
    esac

Additional context
N/A

@flying-sausages flying-sausages added the enhancement New feature or request label Dec 26, 2020
@flying-sausages
Copy link
Collaborator Author

Oh never mind, I just realised they're .os. Any chance for fully self-sufficient releases? This complicates my deployment a lot more.

@flying-sausages flying-sausages changed the title [Feature Request] Label the unlabelled release binary [Feature Request] Statically linked arm builds Dec 26, 2020
@hkalexling
Copy link
Member

Unfortunately the Crystal compiler does not support static ARM builds (see crystal-lang/crystal#5467) :( Can you mark them as unsupported at this moment? I will be happy to submit a PR to swizzin once the ARM builds are ready.

@flying-sausages
Copy link
Collaborator Author

Oh man that's a bummer. Hope that PR that would close it would get merged... Ah well. go rewrite when? :p

Thanks again for the contribs to this project!

@hkalexling
Copy link
Member

Haha, I have faith in Crystal! I guess the core team members are just busy with the upcoming v1.0 release. I will leave this issue open and keep an eye out for that PR.

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

No branches or pull requests

2 participants