Fri, 15 Mar 2019 17:22:25 +0000
8217753: Enable HotSpot builds on 5.x Linux kernels
Summary: Remove Linux kernel version check as very unlikely a kernel older than 2.4 will be used.
Reviewed-by: erikj
make/linux/Makefile | file | annotate | diff | comparison | revisions |
1.1 --- a/make/linux/Makefile Thu Mar 14 01:13:45 2019 +0000 1.2 +++ b/make/linux/Makefile Fri Mar 15 17:22:25 2019 +0000 1.3 @@ -227,20 +227,7 @@ 1.4 @echo " $(TARGETS_SHARK)" 1.5 @echo " $(TARGETS_MINIMAL1)" 1.6 1.7 -checks: check_os_version check_j2se_version 1.8 - 1.9 -# We do not want people accidentally building on old systems (e.g. Linux 2.2.x, 1.10 -# Solaris 2.5.1, 2.6). 1.11 -# Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok. 1.12 - 1.13 -SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4% 1.14 -OS_VERSION := $(shell uname -r) 1.15 -EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION)) 1.16 - 1.17 -check_os_version: 1.18 -ifeq ($(DISABLE_HOTSPOT_OS_VERSION_CHECK)$(EMPTY_IF_NOT_SUPPORTED),) 1.19 - $(QUIETLY) >&2 echo "*** This OS is not supported:" `uname -a`; exit 1; 1.20 -endif 1.21 +checks: check_j2se_version 1.22 1.23 # jvmti.make requires XSLT (J2SE 1.4.x or newer): 1.24 XSLT_CHECK = $(REMOTE) $(RUN.JAVAP) javax.xml.transform.TransformerFactory