diff options
| author | Ronald Klop <ronald@FreeBSD.org> | 2025-09-23 12:25:57 +0200 |
|---|---|---|
| committer | Ronald Klop <ronald@FreeBSD.org> | 2025-09-23 12:31:01 +0200 |
| commit | 13896b356c7ee05910913cd82b243da8f656684c (patch) | |
| tree | d50107e005c55e3b518e76262ff891caab3ea387 /java | |
| parent | 6245ed97aa895a8dc03843ea187c793c845a79d0 (diff) | |
java/openjdk21: 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/openjdk21/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/openjdk21/Makefile b/java/openjdk21/Makefile index 6162d28e0a8d..be96b112ab09 100644 --- a/java/openjdk21/Makefile +++ b/java/openjdk21/Makefile @@ -1,6 +1,7 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} +PORTREVISION= 1 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} @@ -38,6 +39,8 @@ GH_PROJECT= jdk21u 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" \ @@ -47,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/} @@ -88,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 \ |
