mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8236110: Windows (MSVC 2013) build failures after JDK-8233299
Reviewed-by: erikj
This commit is contained in:
parent
cbcb488d77
commit
9847d8161b
1 changed files with 18 additions and 1 deletions
|
@ -345,10 +345,27 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Only enable ZGC on supported platforms
|
# Only enable ZGC on supported platforms
|
||||||
|
if (test "x$OPENJDK_TARGET_OS" = "xwindows" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"); then
|
||||||
|
AC_MSG_CHECKING([if zgc can be built on windows])
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_PROGRAM([[#include <windows.h>]],
|
||||||
|
[[struct MEM_EXTENDED_PARAMETER x;]])
|
||||||
|
],
|
||||||
|
[
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
CAN_BUILD_ZGC_ON_WINDOWS="yes"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
AC_MSG_RESULT([no, missing required APIs])
|
||||||
|
CAN_BUILD_ZGC_ON_WINDOWS="no"
|
||||||
|
]
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING([if zgc can be built])
|
AC_MSG_CHECKING([if zgc can be built])
|
||||||
if (test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64") || \
|
if (test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64") || \
|
||||||
(test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xaarch64") || \
|
(test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xaarch64") || \
|
||||||
(test "x$OPENJDK_TARGET_OS" = "xwindows" && test "x$OPENJDK_TARGET_CPU" = "xx86_64") || \
|
(test "x$CAN_BUILD_ZGC_ON_WINDOWS" = "xyes") || \
|
||||||
(test "x$OPENJDK_TARGET_OS" = "xmacosx" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"); then
|
(test "x$OPENJDK_TARGET_OS" = "xmacosx" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"); then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue