duckdb / duckdb_aws

MIT License
34 stars 12 forks source link

Add ARM64 GCC4 build for Linux.yml #20

Closed Kayrnt closed 7 months ago

Kayrnt commented 7 months ago

Trying to launch a DuckDB through Jupyter Lab on an AWS c7g instance. Running

INSTALL aws;

led to try to download http://extensions.duckdb.org/v0.9.1/linux_arm64_gcc4/aws.duckdb_extension.gz However that version doesn't exist.

I tried manually http://extensions.duckdb.org/v0.9.1/linux_arm64/aws.duckdb_extension.gz and it crashes my app.

I suspect that we should be building for that arch so I'm adding it to the matrix arch on the Github actions.

samansmink commented 7 months ago

hey @kayrnt, the arm binaries for python builds are indeed currently not build by default due to the fact that GH actions doesnt have arm runners, so this will not work.

The main problem is that using virtualization is very slow, and cross compiling on manylinux images tricky. If you need binaries for python on linux arm, you will need to compile them yourself at the moment.

Kayrnt commented 7 months ago

Thanks for your swift answer. I guess I will make do since adding your own Github actions runner is not so easy. In the meantime I'll see if I can have an ubuntu based image to be compatible with the current ARM build (linux_arm64)