You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
meson should not error with "fatal: posix_spawn: Argument list too long"
javac has a mechanism to read the source file list from another file. you can put all the relative file paths in sources.list and then javac @sources.list consider using this method for the jar rule. setting ulimit -s unlimited doesn't seem to help.
system parameters
Is this a cross build or just a plain native build ? This is a native build
what operating system : ubuntu 24.04
what Python version are you using : 3.12.3
what meson --version: 1.6.0
what ninja --version if it's a Ninja build: 1.11.1
jdk version: 17.0.13
The text was updated successfully, but these errors were encountered:
Describe the bug
Where there are a lot of java files in a jar rule meson fails with something like
To Reproduce
I'm trying to compile libcore from aosp, but this should work with any sufficiently large java library(1500+ java files), so to reproduce
put this
meson.build
file in the root directory. https://gist.github.com/madushan1000/e164c18c8f290e1064fa2f1959086e65#file-meson-buildmeson setup builddir && meson compile -C builddir
Expected behavior
meson should not error with "fatal: posix_spawn: Argument list too long"
javac has a mechanism to read the source file list from another file. you can put all the relative file paths in
sources.list
and thenjavac @sources.list
consider using this method for the jar rule. settingulimit -s unlimited
doesn't seem to help.system parameters
meson --version
: 1.6.0ninja --version
if it's a Ninja build: 1.11.1The text was updated successfully, but these errors were encountered: