# HG changeset patch # User ohair # Date 1212596826 25200 # Node ID 9eeb4966acae4ce3ee77d01c4a3b73bf0ac04596 # Parent 27509b7d21ed783b3f6eb7b7612781c675a30c2f 6563752: Build and test JDK7 with Sun Studio 12 Express compilers (prep makefiles) Summary: Changes to support building with SS12. Reviewed-by: tbell diff -r 27509b7d21ed -r 9eeb4966acae make/common/shared/Compiler-sun.gmk --- a/make/common/shared/Compiler-sun.gmk Thu May 22 09:37:38 2008 -0700 +++ b/make/common/shared/Compiler-sun.gmk Wed Jun 04 09:27:06 2008 -0700 @@ -31,6 +31,9 @@ # Sun Studio Compiler settings specific to Solaris ifeq ($(PLATFORM), solaris) + # FIXUP: Change to SS12 when validated + #COMPILER_VERSION=SS12 + #REQUIRED_CC_VER=5.9 COMPILER_VERSION=SS11 REQUIRED_CC_VER=5.8 CC = $(COMPILER_PATH)cc @@ -51,8 +54,8 @@ # Sun Studio Compiler settings specific to Linux ifeq ($(PLATFORM), linux) # This has not been tested - COMPILER_VERSION=SS11 - REQUIRED_CC_VER=5.8 + COMPILER_VERSION=SS12 + REQUIRED_CC_VER=5.9 CC = $(COMPILER_PATH)cc CPP = $(COMPILER_PATH)cc -E CXX = $(COMPILER_PATH)CC diff -r 27509b7d21ed -r 9eeb4966acae make/jprt.config --- a/make/jprt.config Thu May 22 09:37:38 2008 -0700 +++ b/make/jprt.config Wed Jun 04 09:27:06 2008 -0700 @@ -123,9 +123,15 @@ solaris_arch=i386 fi - # Get the SS11 compilers into path (make sure it matches ALT setting) - compiler_path=${jdk_devtools}/${solaris_arch}/SUNWspro/SS11/bin - compiler_name=SS11 + # Get the compilers into path (make sure it matches ALT setting) + if [ "${JPRT_SOLARIS_COMPILER_NAME}" != "" ] ; then + compiler_name=${JPRT_SOLARIS_COMPILER_NAME} + else + # FIXUP: Change to SS12 when validated + #compiler_name=SS12 + compiler_name=SS11 + fi + compiler_path=${jdk_devtools}/${solaris_arch}/SUNWspro/${compiler_name}/bin ALT_COMPILER_PATH="${compiler_path}" export ALT_COMPILER_PATH dirMustExist "${compiler_path}" ALT_COMPILER_PATH