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

Question: ppx arm64 on linux? (needed for docker on M1/M2 Mac) #41

Open
reebalazs opened this issue Jun 7, 2024 · 0 comments
Open

Question: ppx arm64 on linux? (needed for docker on M1/M2 Mac) #41

reebalazs opened this issue Jun 7, 2024 · 0 comments

Comments

@reebalazs
Copy link

Hi, just upfront I'd like to say I really love this product, thanks for all the work you're putting into it.

Recently I started to dockerize an app, and realized that on an OSX M1/M2, I cannot compile the app with rescript inside a docker container.

The changelog says that in v4 the arm64 linux compiler is removed, so this is expected. By the way, I also fail to compile with v3 for different reason (complains about ninja.exe, I tried both in alpine and debian based containers and failed with both).

That said, I can live with this, as the most important thing is to compile on the target machine which is x64, and this is working. However for development and other purposes, it would be useful if I could build the docker image locally. So I wonder if this could be achieved somehow.

  • the arm64 linux target could be put back and supported again in a working way? All other ppx packages that my app depends on, work for me by the way.
  • maybe there is another way to successfully compile on arm64 linux? and if yes, maybe you can give me a hint how this is possible?

Thanks for your reply in advance!

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

1 participant