-
Notifications
You must be signed in to change notification settings - Fork 6
232 make poc to compile for linux arm64 in macos m1 #761
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
base: dev
Are you sure you want to change the base?
232 make poc to compile for linux arm64 in macos m1 #761
Conversation
# - {os: ubuntu-22.04, image: debian10} | ||
# - {os: ubuntu-22.04, image: debian11} | ||
# - {os: ubuntu-22.04, image: debian12} | ||
# - {os: ubuntu-22.04, image: rocky8} | ||
# - {os: ubuntu-22.04, image: rocky9} | ||
# - {os: ubuntu-22.04, image: ubuntu18.04} | ||
# - {os: ubuntu-22.04, image: ubuntu20.04} | ||
# - {os: ubuntu-22.04, image: ubuntu22.04} | ||
# - {os: ubuntu-22.04, image: ubuntu24.04} |
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.
Uncomment these before merging.
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.
Done ,I also added a final commit to remove obsolete OSs
@@ -0,0 +1,25 @@ | |||
FROM arm64v8/ubuntu:24.04 |
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.
I would refactor this in a single file, customizing the FROM
on the base image version (cf. e.g. https://github.com/KhiopsML/khiops-python/blob/e4ebcdc0e4ed9b38b61ba3e23f323a73466dde3a/packaging/docker/khiopspydev/Dockerfile.ubuntu#L4 and the CI part https://github.com/KhiopsML/khiops-python/blob/e4ebcdc0e4ed9b38b61ba3e23f323a73466dde3a/.github/workflows/dev-docker.yml#L103).
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.
I disagree, I think it is over-engineering. It's easier this way and there may some differences on packages depending on the architecture (e.g. a bug with mpich on arm and not on intel). We will be able to address these differences with 2 separates Dockerfiles.
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.
See the comments.
1b8366b
to
c7cd9c7
Compare
Build ubuntu packages for ARM arcitecture