-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add arm64 run-on support #193
Conversation
This is a classic charm, so no building happens at pack-time. Assuming dependencies build and run correctly on arm64, this is all we need to do from a build perspective to support arm64. build-on arm64 is not strictly required here, but it provides flexibility by supporting building on arm64 hosts too.
Also pin charmcraft to 2.x; latest/stable recently updated to 3.x, but the charmcraft.yaml only supports 2.x.
a42e5ce
to
b3ca5e6
Compare
This is why the arm64 functional tests are failing. |
``` INFO: /dev/kvm does not exist HINT: sudo modprobe kvm modprobe: FATAL: Module msr not found in directory /lib/modules/6.5.0-1025-azure ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small comment, other than that LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, w/one question
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This is a classic charm, so no building happens at pack-time. Assuming dependencies build and run correctly on arm64, this is all we need to do from a build perspective to support arm64.
build-on arm64 is not strictly required here,
but it provides flexibility by supporting building on arm64 hosts too.
The tests are simplified because the arm64 runners don't have kvm support (so we can't deploy the original bundle with virtual-machine type machines).