On Tue, 28 Jan 2025 13:32:56 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
> In the makefile we reset LIBFONTMANAGER optimization, but is always set to > HIGHEST so we can avoid the resetting. > > (hint: Use e.g. make java.desktop-libs-only JOBS=1 LOG=info to get a build > > speed number that you can compare across compiler flag changes) > Seems the dependencies do not work for some reason, so I need to build the > whole jdk with LOG=info I guess. Adding the `-only` suffix does indeed disable dependencies, so you have to manually set up your build directory state to have all the dependencies built already. This would be a reasonable sequence for getting relevant timings. First make sure all dependencies have been built: $ make java.desktop-libs Then delete only the things you want to rebuild and run the part of the build that is relevant. This can be repeated. $ rm -rf build/<your-build-dir>/support/modules_libs/java.desktop $ time make java.desktop-libs-only JOBS=1 ------------- PR Comment: https://git.openjdk.org/jdk/pull/23332#issuecomment-2636960207