Skip to content

[ci] restore aarch64 linux builds (fixes #6509)#6527

Merged
jameslamb merged 16 commits intomasterfrom
ci/aarch64-builds
Jul 10, 2024
Merged

[ci] restore aarch64 linux builds (fixes #6509)#6527
jameslamb merged 16 commits intomasterfrom
ci/aarch64-builds

Conversation

@jameslamb
Copy link
Collaborator

@jameslamb jameslamb commented Jul 8, 2024

fixes #6509

follow-up to #6517

Proposes:

Notes for Reviewers

What happened to the idea of running these builds in Docker on the macos-14 runner?

it isn't possible because running docker on those runners isn't possible (click me)

ref: #6509 (comment)

I was hoping to be able to use Docker on the M1 Mac runner to do aarch64 linux builds... those runners already have an arm64 CPU, so we'd be able to do builds and testing without emulation, which should be much faster.

Unfortunately, that did not work. As of this writing, that runner does not support nested virtualization, so it isn't possible to run docker on it. I tried with colima, the docker Homebrew cask, and podman.

Some references:

So for now, this PR just restores the QEMU-based builds (using emulation).

@jameslamb jameslamb changed the title WIP: [ci] restore aarch64 linux builds (fixes #6509) [ci] restore aarch64 linux builds (fixes #6509) Jul 8, 2024
Copy link
Collaborator

@StrikerRUS StrikerRUS left a comment

Choose a reason for hiding this comment

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

🚀
Awesome research in #6509!

@jameslamb jameslamb merged commit fec9afa into master Jul 10, 2024
@jameslamb jameslamb deleted the ci/aarch64-builds branch July 10, 2024 20:20
@github-actions
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity since it was closed.
To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ci] aarch64 python-package job failing: "cannot allocate memory in static TLS block"

2 participants