srh / rethinkdb-package-builder

Other
2 stars 0 forks source link

arch support ? #2

Closed SamLebarbare closed 2 years ago

SamLebarbare commented 4 years ago

Hello Sam,

It's possible to support/add arm64 arch?

srh commented 4 years ago

If you can find a sane way to make it work (cross-compiling? qemu for testing?), go for it.

srh commented 4 years ago

It seems like https://engineering.docker.com/2019/04/multi-arch-images/ implies it would be pretty doable.

srh commented 4 years ago

It seems pretty easy if you switch to docker edge (and play with it a bit). I'm giving it a run now, maybe it'll work.

SamLebarbare commented 4 years ago

I have crosscompiled from ubuntu two month ago. with: CROSS=arm-linux-gnueabihf export CC=$CROSS-gcc export CXX=$CROSS-g++ export LD=$CROSS-ld export AR=$CROSS-ar export RANLIB=$CROSS-ranlib

i have made some changes in the rethink pkg scripts. I can provide you a patch, but if you have made changes in the pkg process (updated oudated urls) I will retry with the last codebase this weekend.

SamLebarbare commented 4 years ago

(i'am not a big fan of docker, but for your CI/CD process it's perhaps the best way)

srh commented 4 years ago

I am working on it right now. I've been making a few tweaks to the setup.rb script:

srh commented 4 years ago

Okay, with buildx it's not seeing local images and I don't care to fight it right now. I put my changes in https://github.com/srh/rethinkdb-package-builder/tree/buildx .

gabor-boros commented 2 years ago

Since the packages can be built on an arm64/v8 machine, I guess this issue is not an issue anymore

srh commented 2 years ago

Oh, thanks, I'll close this I guess.