Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2021 12:04:22 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9c7b32b9b7f3 - main - java/openjdk17: Remove enable-aot configure argument.
Message-ID:  <202110051204.195C4MVv002854@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9c7b32b9b7f3c0aea08c32560de1f56eb4ba8394

commit 9c7b32b9b7f3c0aea08c32560de1f56eb4ba8394
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2021-10-05 12:00:36 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2021-10-05 12:00:36 +0000

    java/openjdk17: Remove enable-aot configure argument.
    
    The Experimental AOT and JIT Compiler were remove in OpenJDK17:
    https://openjdk.java.net/jeps/410
    
    Remove this configure argument as it causes build failure on aarch64:
    configure: error: unrecognized options: --enable-aot
    
    Approved by:    portmgr (build fix blanket)
---
 java/openjdk17/Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/java/openjdk17/Makefile b/java/openjdk17/Makefile
index 61b9f8f8f71a..b048691e65a1 100644
--- a/java/openjdk17/Makefile
+++ b/java/openjdk17/Makefile
@@ -140,9 +140,6 @@ CONFIGURE_ARGS+=	--disable-warnings-as-errors
 .if ${ARCH} == aarch64 || (defined(PPC_ABI) && ${PPC_ABI} == ELFv1)
 CONFIGURE_ARGS+=	--disable-dtrace
 .endif
-.if ${ARCH} != amd64 && !${ARCH:Mpowerpc64*}
-CONFIGURE_ARGS+=	--enable-aot=no
-.endif
 .if ${ARCH} == powerpc64 && ${OSREL:C/\.[0-9]//} == 12
 EXTRA_PATCHES=		${PATCHDIR}/extra-patch-src_hotspot_cpu_ppc_vm__version__ppc.hpp
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110051204.195C4MVv002854>