-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Can LightGBM be compiled and run on an embedded arm linux board? #3456
Comments
If it is a linux OS, and can install cmake, gcc, g++, I think it could be compiled. |
It cannot install cmake, gcc, but I usually use cross-compilation to compile the software and run it on it; But this time the cross-compilation is not successful.I am wondering if this light GBM does not support running on the arm board? |
According to #3421, the answer is yes. Please take a look at the diff of the PR: https://github.com/microsoft/LightGBM/pull/3421/files for steps you need to do in order to compile LightGBM on ARM platform. Seems that you need special CMake version for ARM platform, but everything else is the same as for ordinary Linux installation. |
Note that you may need to compile differently for 32-bit embedded boards or OSes (Raspbian).
The example above has to override an x86 CMake preinstalled on the Docker image LightGBM's CI uses. In the usual case, |
There are no apt-get or yum command on the arm board. What I am currently doing is to install cmake and cross compiler arm-linux-gcc on my Ubuntu host, and then compile the machine code on Ubuntu and put it on the arm board to run, but the compilation fails. |
Could you provide compilation logs and exact steps to how we can reproduce this? |
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Can LightGBM be compiled and run on an embedded arm linux board? And if so, what should I do?
The text was updated successfully, but these errors were encountered: