Giter Site home page Giter Site logo

arch support ? about rethinkdb-package-builder HOT 9 CLOSED

srh avatar srh commented on July 30, 2024
arch support ?

from rethinkdb-package-builder.

Comments (9)

srh avatar srh commented on July 30, 2024 1

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 .

from rethinkdb-package-builder.

srh avatar srh commented on July 30, 2024

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

from rethinkdb-package-builder.

srh avatar srh commented on July 30, 2024

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

from rethinkdb-package-builder.

srh avatar srh commented on July 30, 2024

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.

from rethinkdb-package-builder.

SamLebarbare avatar SamLebarbare commented on July 30, 2024

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.

from rethinkdb-package-builder.

SamLebarbare avatar SamLebarbare commented on July 30, 2024

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

from rethinkdb-package-builder.

srh avatar srh commented on July 30, 2024

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

  • Add an --arch option, of course.
  • Use docker buildx. It seems necessary to follow the buildx create steps at https://docs.docker.com/docker-for-mac/multi-arch/ .
  • Change the basic rdbcheckout and fetch scripts to use a v2.4.x commit, because v2.3.7's configure script doesn't recognize aarch64.

from rethinkdb-package-builder.

gabor-boros avatar gabor-boros commented on July 30, 2024

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

from rethinkdb-package-builder.

srh avatar srh commented on July 30, 2024

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

from rethinkdb-package-builder.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.