diff options
| author | Ronald Klop <ronald@FreeBSD.org> | 2025-09-23 12:28:57 +0200 |
|---|---|---|
| committer | Ronald Klop <ronald@FreeBSD.org> | 2025-09-23 12:31:02 +0200 |
| commit | 2f1a4a07f6e97cfeded70c1ddcaf24831972b861 (patch) | |
| tree | 99f6b4ee4c285ea9b4dd7a906d82e253efaaf4ae /java | |
| parent | 13896b356c7ee05910913cd82b243da8f656684c (diff) | |
java/openjdk22: pass MAKE_JOBS_NUMBER around
Be more verbose during the build to prevent output timeout.
For rationale of this change see the commits in java/openjdk17 of the
last two weeks.
Diffstat (limited to 'java')
| -rw-r--r-- | java/openjdk22/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/openjdk22/Makefile b/java/openjdk22/Makefile index d81cbb146655..b15cef1d678e 100644 --- a/java/openjdk22/Makefile +++ b/java/openjdk22/Makefile @@ -39,6 +39,8 @@ GH_PROJECT= jdk22u NO_CCACHE= yes +# Suppress passing -j to do-build target via Mk/bsd.port.mk +# In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N _MAKE_JOBS= # MAKE_ENV= LANG="C" \ LC_ALL="C" \ @@ -48,6 +50,7 @@ MAKE_ENV= LANG="C" \ CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ + LOG=cmdlines \ MAKEFLAGS="" JDK_OSARCH= bsd-${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} @@ -89,6 +92,7 @@ CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \ --with-giflib-lib=${LOCALBASE}/lib \ --with-harfbuzz=system \ --with-libpng=system \ + --with-num-cores=${MAKE_JOBS_NUMBER} \ --with-zlib=system \ --with-lcms=system \ --x-includes=${LOCALBASE}/include \ |
