Posted by
Sven Gothel on
Jan 18, 2023; 11:19pm
URL: https://forum.jogamp.org/JogAmp-Management-Kick-Off-Meeting-tp4042042p4042079.html
Good stuff, yup.
hharrison wrote
- jogl build targets for only the platform independent parts, possibly just the fat-jar (relying on previously build natives)
- allow for bugfixes/contributions from others without the full cross platform, or even without any native build environment at all
I would mark this w/ lowest prio, as it is not that hard to install the
mingw64 native build environment. But that's just me sitting in the woods :)
hharrison wrote
- static analyzer (SpotBugs) integration in the build, or even initial setup in eclipse to enable, I've found this invaluable in Jaamsim to increase confidence in new code changes
We once used FindBugs as well, you gave a good list and we once worked a few down.
Lately I use clang-tidy besides full warning analysis on gcc/clang for Direct-BT
and it gives at least a great expert resource of 'nagging' to debate, forcing you to 'defend' your code.
In general a very good thing for all projects and we should pick this up again
regularly - or whoever is working on this project.
hharrison wrote
- emerging projects with cross-compilation out of the box to allow all platforms to be built on one machine
- zig cc as a cross compiler for C code instead of MSVC, GCC, etc depending on platform
I already use cross-compilation, e.g. using a GNU/Linux x86_64 host
producing targets
- android, multiple archs
- linux aarch64
It is easy to add Windows/mingw64 for linux as well and we once did it.
However, a JogAmp build has two parts
- build the blobs
- pass the tests
The latter surely requires a target platform.
In Direct-BT or jaulib, I also use GNU/Linux's user bin-fmt
utilizing the kernel's KVM for arm 32bit and 64bit.
Here I can also run a lot of unit tests.
So far I guess we could build everything cross using a GNU/Linux host
but MacOS due to their darn license stuff.
Surely something to keep in mind and 'play with'.
(With cygwin, the cross builds might be even possible on Windows)