best-nightfall-7221
01/08/2020, 7:10 PM./pants --jvm-options="-Xmx1g" options | grep shader.jvm_options
shader.jvm_options = ['-Xmx256m', '-Xmx3g', '-XX:+UseParallelGC'] (from CONFIG_DEFAULT in pants.ini)
https://www.pantsbuild.org/options.html#command-line-flags mentions its possible for global options, but I guess not default options?aloof-angle-91616
01/08/2020, 7:11 PMbest-nightfall-7221
01/08/2020, 7:12 PMjvm_options
to a specific value.
I know i can do it if i specify the scope
./pants --shader-jvm-options="-Xmx1g" options | grep shader.jvm_options
shader.jvm_options = ['-Xmx256m', '-Xmx3g', '-XX:+UseParallelGC', '-Xmx1g'] (from FLAG in pants.ini)
witty-crayon-22786
01/08/2020, 7:14 PMaloof-angle-91616
01/08/2020, 7:14 PMbest-nightfall-7221
01/08/2020, 7:14 PMaloof-angle-91616
01/08/2020, 7:14 PMbest-nightfall-7221
01/08/2020, 7:14 PMwitty-crayon-22786
01/08/2020, 7:14 PMhundreds-father-404
01/08/2020, 7:15 PMi see you guys dynamically generate the travis.yml fileThis is only for deduplication because our CI is really complex. We use
pants.travis-ci.ini
to handle different Pants config in CIbest-nightfall-7221
01/08/2020, 7:16 PMpants-travis.ini
with my overrideswitty-crayon-22786
01/08/2020, 7:16 PMbest-nightfall-7221
01/08/2020, 8:58 PMpants-traivs.ini
properly overrides the value, in other cases it doesnt
./pants --pants-config-files=pants-travis.ini options | grep jvm_options
analysis.zinc.jvm_options = ['-Xmx2g'] (from CONFIG_DEFAULT in pants-travis.ini)
binary.dup.jvm_options = ['-Xmx4g'] (from CONFIG in pants.ini, in pants.ini)
I have jvm_options: ['-Xmx4g']
in my pants.ini
and then exact same line with 2g in my pants-travis.ini
. Seems like it takes affect for one option but not the other?witty-crayon-22786
01/08/2020, 8:58 PMbest-nightfall-7221
01/08/2020, 8:59 PMbinary.dup.skip: True
in pants.ini