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

[1.9.x] Make use of sbtn aarch64 binary where possible #7111

Merged
merged 2 commits into from Jan 3, 2023

Conversation

mkurz
Copy link
Member

@mkurz mkurz commented Jan 3, 2023

In addition to #7110

sbt
@@ -171,6 +171,7 @@ acquire_sbtn () {
local target="$p/sbtn"
local archive_target=
local url=
local arch = "x86_64"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eed3si9n arch needs to be defined as default, otherwise, if not using linux, it will be undefined in below in line 199 below (echoerr "downloading sbtn ${sbtn_v} for ${arch}")

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't work on mac, it should be local arch="x86_64":

/opt/homebrew/Cellar/sbt/1.8.2/libexec/bin/sbt: line 174: local: `=': not a valid identifier

Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eed3si9n eed3si9n merged commit 31c09c1 into sbt:1.9.x Jan 3, 2023
@mkurz mkurz deleted the sbtn-aarch64-1.9.x branch January 3, 2023 14:56
@eed3si9n eed3si9n added this to the 1.8.1 milestone Jan 3, 2023
@eed3si9n eed3si9n mentioned this pull request Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants