diff --git a/make/autoconf/lib-ffi.m4 b/make/autoconf/lib-ffi.m4 index 6aec7bc3bd2..0905c3cd225 100644 --- a/make/autoconf/lib-ffi.m4 +++ b/make/autoconf/lib-ffi.m4 @@ -149,7 +149,7 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI], else AC_MSG_ERROR([Could not locate libffi.so.? for bundling]) fi - elif test "x${OPENJDK_TARGET_CPU}" = "xx86_64"; then + elif test "x${OPENJDK_TARGET_CPU}" = "xx86_64" || test "x${OPENJDK_TARGET_CPU}" = "xaarch64"; then if test -e ${SYSROOT}/usr/lib64/libffi.so.? ; then LIBFFI_LIB_FILE="${SYSROOT}/usr/lib64/libffi.so.?" elif test -e ${SYSROOT}/usr/lib/x86_64-linux-gnu/libffi.so.? ; then diff --git a/make/conf/jib-profiles.js b/make/conf/jib-profiles.js index 20fd9a92eff..af65ba7a756 100644 --- a/make/conf/jib-profiles.js +++ b/make/conf/jib-profiles.js @@ -588,6 +588,17 @@ var getJibProfilesProfiles = function (input, common, data) { ]) }, + "linux-aarch64-zero": { + target_os: "linux", + target_cpu: "aarch64", + dependencies: ["devkit", "gtest"], + configure_args: concat(common.configure_args_64bit, [ + "--with-zlib=system", + "--with-jvm-variants=zero", + "--enable-libffi-bundling" + ]) + }, + "linux-x86-zero": { target_os: "linux", target_cpu: "x86",