-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Build script improvements #4
Conversation
Also related to #1 Then you can use to sync the submodule again: ``` git submodule sync git submodule init git submodule update ```
Added -x bash option added autoconf removed &&
Fix git submodule
Partially merged to |
I think autogen only needs to be called once. configure however does need to be called twice (because of the 32bit version). I would still be nice if you can provide the arm build as non crosscompile version as well. Just the script I added. Then you can cross compile and compile on arm itself too. (because the x64 will not build on arm). Maybe you just need to move the arm build outside the linux script and it could work too. Will edit the results later. Edit1: |
autogen needs to be called to make the Makefile, which could be different for different platforms.
Furthermore I would not hardcode a path to Java either.
now if you want to throw a check in to make sure it a specific version of Java it gets more complicated. to get the Java version it's.
which returns like 18 for Java 8.
But thats all just food for thought, or how I do it in Arduino_IDE_builder.bash |
the only thing that i think would be nice is having VERSION defined some how/way. Oops, me bad, guess that is what 'git tag' is for .. :/~ |
This is just a suggestion! Feel free to include single commits. You might also want to add this information just in the readme (like the java path).
I changed a few things to make the script more flexible. However I have not been able to compile for a 32bit system on x64.
The Java path might also differ. I used this to install java 8 on x64 and also arm:
The arm build currently only works on native arm systems, no crosscompiling possible.
Partly fixes a bit of #1 and #3