Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port to arm64 ? #311

Open
vielmetti opened this issue Jan 1, 2020 · 1 comment
Open

port to arm64 ? #311

vielmetti opened this issue Jan 1, 2020 · 1 comment

Comments

@vielmetti
Copy link

I'm interested in getting jk running on arm64 (Packet c2.large.arm, AWS a1 and Graviton 2, Jetson Nano etc). To this end I'm trying to figure out dependencies etc, and how to approach this, with a first pass at make it work, and a hopeful second pass at make it easy for the next person around.

As I understand it, the key bit of this is https://github.com/jkcfg/v8worker2 which depends on a version of v8 as well as all of its build dependencies.

Before I dive in, any suggestions?

@squaremo
Copy link
Member

Hi! Sorry for the extended period of silence.

Let me jot down things I think will be relevant:

  • the build takes two paths: for linux-amd64, it uses the docker image jkcfg/build. The build for that image is done in its Dockerfile -- you may be able to get somewhere by adapting that Dockerfile to arm64, if you have somewhere to run it.
  • the build for MacOS is done by cloning the jkcfg/prebuilt git repo, which has the v8 library -- the time-consuming bit -- already built. If you can run an arm64 build of v8 at the version in jkcfg/v8worker2 (e.g., starting by cloning that repo), you could drop it into jkcfg/prebuilt, for future builds.

Please do ask further questions. And, if you pick this up again, or already got somewhere, I would love to hear about it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants