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

Linux arm64 support please #197

Open
imkow opened this issue Jun 16, 2024 · 4 comments
Open

Linux arm64 support please #197

imkow opened this issue Jun 16, 2024 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@imkow
Copy link

imkow commented Jun 16, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

@imkow imkow added the enhancement New feature or request label Jun 16, 2024
@JerryI
Copy link
Owner

JerryI commented Jun 16, 2024

Sure! Since we don't have an ARM Linux machine, we would probably need your help to build a dynamic library for sockets interface.

If you or any other users are willing to help us 🙏 please, follow the steps:

  1. clone repo https://github.com/JerryI/CSocketListener/ --branch dev2024
  2. install libuv or build it from the source
  3. edit a file Scripts/BuildLibrary.wls
    line 36: replace {"uv"} with a path to your libuv.so file. For ex. {"/opt/homebrew/lib/libuv.so"}
    line 37: replace {"/home/kirill/Desktop/Projects/libuv/include"} with a path to includes directory, where uv.h file is located.
  4. run the command wolframscript -f Scripts/BuildLibrary.wls
  5. a new folder will appear LibraryResources/7/Linux-ARM64
  6. please, share the console log and created folder with us.

@JerryI JerryI added the help wanted Extra attention is needed label Jun 16, 2024
@imkow
Copy link
Author

imkow commented Jun 16, 2024

I'd like to try later on

@LoganJFisher
Copy link

On this note, is there any chance that an Android app version might be on the horizon? Android is Linux-based and runs on ARM64, so this seemed like the place to ask.

@JerryI
Copy link
Owner

JerryI commented Jun 21, 2024

On this note, is there any chance that an Android app version might be on the horizon? Android is Linux-based and runs on ARM64, so this seemed like the place to ask.

There are several options. The main obstacle is Wolfram Engine.

  1. Run Wolfram Kernel and frontend on a device (haven't checked, since WL for ARM6/7 is outdated and doesn't run correctly on most android devices. ARM64 version was available only for Mac so far... Please, let is know if there is a solution)
  2. Run everything on remote server and connect via browser (WLJS Notebook works like a Jupyter Notebook, i.e. basically all stuff is available in a regular browser - see README #Server)

2nd option looks more realistic for me. We just need to rework the UI to match mobile layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants