8275449: Add linux-aarch64-zero build profile

Reviewed-by: erikj
This commit is contained in:
Mikhailo Seledtsov 2021-10-20 18:16:58 +00:00
parent 46b5bfbc38
commit 0021a2f462
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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",