memray icon indicating copy to clipboard operation
memray copied to clipboard

Publish wheel for aarch64

Open rossburton opened this issue 3 years ago • 2 comments

I went to install memray on my aarch64 box and had to install a load of packages to build it myself. Please consider also building aarch64 wheels.

rossburton avatar Apr 21 '22 10:04 rossburton

Thanks, @rossburton for opening this issue!

Currently cibuildwheel doesn't easily allow us to build aarch64 wheels, but I think we could manually build something in the interim meanwhile we look for some automated solutions. I know cibuildwheel allows someQEMU emulation for the wheels but we need time to experiment on that.

In any case, to build from source it should be enough with libunwind installed on your box + pip install memray.

pablogsal avatar Apr 21 '22 10:04 pablogsal

Sigh, GitHub actions still doesn't have aarch64 runners I see. https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation does look interesting as a workaround.

rossburton avatar Apr 21 '22 12:04 rossburton

I'm closing this until cibuildwheel supports aarch64.

pablogsal avatar Aug 16 '22 18:08 pablogsal

Fyi, the memray package in conda-forge (https://github.com/conda-forge/memray-feedstock) has recently gained builds for linux-aarch64 and linux-ppc64le.

matthiasdiener avatar Aug 30 '22 22:08 matthiasdiener

Fyi, the memray package in conda-forge (conda-forge/memray-feedstock) has recently gained builds for linux-aarch64 and linux-ppc64le.

Oh, that's very nice! Thanks a lot ❤️

On a note: we do have wheels for aarch64 on darwin but currently we do them manually, unfortunately :(

pablogsal avatar Aug 30 '22 22:08 pablogsal

Maybe we can do the same for Linux aarch64 using docker on an M1 mac 🤔

pablogsal avatar Aug 30 '22 22:08 pablogsal

Btw @matthiasdiener would you like to do a PR to advertise the conda forge links in the README? Maybe adding some badges as we do for Pypi or in the installation instructions?

pablogsal avatar Aug 30 '22 22:08 pablogsal

Maybe we can do the same for Linux aarch64 using docker on an M1 mac 🤔

In my experience, running docker on Mac M1 to run Linux-aarch64 builds works pretty well.

matthiasdiener avatar Aug 30 '22 22:08 matthiasdiener

Btw @matthiasdiener would you like to do a PR to advertise the conda forge links in the README? Maybe adding some badges as we do for Pypi or in the installation instructions?

Sure, let me see if I can come up with something.

matthiasdiener avatar Aug 30 '22 22:08 matthiasdiener