meson/mesonbuild/backend
Mis012 9694f9fefe java: use single javac invocation per jar
Instead of invoking javac for every .java file, pass all of the sources
for a jar target to a single javac invocation. This massively improves
first compilation time and doesn't meaningfully affect incremental builds
(it can even be faster in some cases).

The old approach also had issues where files would not always get recompiled
even though they should, necessitating a clean rebuild in order to see changes
reflected in the build output.

Multiple invocations seem to only make sense if:
- issues with files not getting flagged for rebuild are investigated and fixed
- something like the javaserver buildtool from openjdk sources is used
instead of directly spawning javac processes
- the amount of java files per jar is so large that it is faster to compile
several files one by one than to compile all the files at once (batching may
still make sense to get a reasonable balance)
2024-06-10 01:48:53 +03:00
..
__init__.py Moved backends to their own module. 2016-01-23 20:02:52 +02:00
backends.py cuda: pass static archives to nvcc without -Xlinker= prefix 2024-05-07 22:32:35 -07:00
ninjabackend.py java: use single javac invocation per jar 2024-06-10 01:48:53 +03:00
nonebackend.py backend: fix type annotation of Backend.generate 2024-04-24 20:40:34 -07:00
vs2010backend.py use a for loop, check more linker options 2024-05-01 09:45:53 -07:00
vs2012backend.py Use SPDX-License-Identifier consistently 2023-12-13 15:19:21 -05:00
vs2013backend.py Use SPDX-License-Identifier consistently 2023-12-13 15:19:21 -05:00
vs2015backend.py Use SPDX-License-Identifier consistently 2023-12-13 15:19:21 -05:00
vs2017backend.py Use SPDX-License-Identifier consistently 2023-12-13 15:19:21 -05:00
vs2019backend.py Use SPDX-License-Identifier consistently 2023-12-13 15:19:21 -05:00
vs2022backend.py Use SPDX-License-Identifier consistently 2023-12-13 15:19:21 -05:00
xcodebackend.py xcode: Skip generating PBXBuildStyle on Xcode 9 and above 2024-06-03 20:06:57 +03:00