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

Fix get-daml.sh for Linux aarch64 #19958

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VolodymyrMarchenko-da
Copy link

Fix get-daml.sh for Linux aarch64

Fix  get-daml.sh for Linux aarch64
@VolodymyrMarchenko-da VolodymyrMarchenko-da requested a review from a team as a code owner September 18, 2024 09:42
@digitalasset-cla
Copy link
Member

digitalasset-cla commented Sep 18, 2024

CLA assistant check
All committers have signed the CLA.

@@ -149,7 +149,7 @@ elif [ "$major" -ge "3" ]; then
platform=-x86_64
;;
linux-aarch64)
platform=-aarch64
Copy link
Collaborator

@raphael-speyer-da raphael-speyer-da Sep 18, 2024

Choose a reason for hiding this comment

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

I don't think you want this change, as it looks like for major version 3 and up they do have these platform-specific artifacts, e.g.

https://github.com/digital-asset/daml/releases/tag/v3.2.0-snapshot.20240911.0

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree, we do have these artifacts for 3x, so this part should be undone.

@@ -127,7 +127,7 @@ elif [ "$major" = "2" ] && [ "$minor" -ge "9" ]; then
platform=
;;
linux-aarch64)
platform=-aarch64
Copy link
Contributor

Choose a reason for hiding this comment

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

This code path now always has the platform as empty. We don't support arch64 linux in 2.9 at all right now, so we should just eliminate this case.
I'd remove the case for elif [ "$major" = "2" ] && [ "$minor" -ge "9" ]; then, and change the previous elif [ "$major" = "2" ] && [ "$minor" -le "8" ]; then to simply elif [ "$major" = "2" ]; then

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah right sorry, we don't release any aarch64 artifacts in 2.9 is what I mean.

@@ -149,7 +149,7 @@ elif [ "$major" -ge "3" ]; then
platform=-x86_64
;;
linux-aarch64)
platform=-aarch64
Copy link
Contributor

Choose a reason for hiding this comment

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

Agree, we do have these artifacts for 3x, so this part should be undone.

@samuel-williams-da
Copy link
Contributor

Thanks for spotting this though!

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.

4 participants