common/autoconf/generated-configure.sh

Print this page
rev 1213 : 8064357: AARCH64: Top-level JDK changes
Reviewed-by: kvn


4311 # Check if the VS env variables were setup prior to running configure.
4312 # If not, then find vcvarsall.bat and run it automatically, and integrate
4313 # the set env variables into the spec file.
4314 
4315 
4316 
4317 
4318 
4319 
4320 
4321 
4322 
4323 
4324 
4325 # This line needs to be here, verbatim, after all includes and the dummy hook
4326 # definitions. It is replaced with custom functionality when building
4327 # custom sources.
4328 #CUSTOM_AUTOCONF_INCLUDE
4329 
4330 # Do not change or remove the following line, it is needed for consistency checks:
4331 DATE_WHEN_GENERATED=1414663067
4332 
4333 ###############################################################################
4334 #
4335 # Initialization / Boot-strapping
4336 #
4337 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4338 # thus it jumps back and forth, each time gaining something needed later on.
4339 #
4340 ###############################################################################
4341 
4342 # If we are requested to print additional help, do that and then exit.
4343 # This must be the very first call.
4344 
4345   if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4346     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4347     $PRINTF "Which are valid to use depends on the build platform.\n"
4348     for toolchain in $VALID_TOOLCHAINS_all; do
4349       # Use indirect variable referencing
4350       toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4351       TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}


13567   # First argument is the cpu name from the trip/quad
13568   case "$build_cpu" in
13569     x86_64)
13570       VAR_CPU=x86_64
13571       VAR_CPU_ARCH=x86
13572       VAR_CPU_BITS=64
13573       VAR_CPU_ENDIAN=little
13574       ;;
13575     i?86)
13576       VAR_CPU=x86
13577       VAR_CPU_ARCH=x86
13578       VAR_CPU_BITS=32
13579       VAR_CPU_ENDIAN=little
13580       ;;
13581     arm*)
13582       VAR_CPU=arm
13583       VAR_CPU_ARCH=arm
13584       VAR_CPU_BITS=32
13585       VAR_CPU_ENDIAN=little
13586       ;;






13587     powerpc)
13588       VAR_CPU=ppc
13589       VAR_CPU_ARCH=ppc
13590       VAR_CPU_BITS=32
13591       VAR_CPU_ENDIAN=big
13592       ;;
13593     powerpc64)
13594       VAR_CPU=ppc64
13595       VAR_CPU_ARCH=ppc
13596       VAR_CPU_BITS=64
13597       VAR_CPU_ENDIAN=big
13598       ;;
13599     powerpc64le)
13600       VAR_CPU=ppc64
13601       VAR_CPU_ARCH=ppc
13602       VAR_CPU_BITS=64
13603       VAR_CPU_ENDIAN=little
13604       ;;
13605     s390)
13606       VAR_CPU=s390


13699   # First argument is the cpu name from the trip/quad
13700   case "$host_cpu" in
13701     x86_64)
13702       VAR_CPU=x86_64
13703       VAR_CPU_ARCH=x86
13704       VAR_CPU_BITS=64
13705       VAR_CPU_ENDIAN=little
13706       ;;
13707     i?86)
13708       VAR_CPU=x86
13709       VAR_CPU_ARCH=x86
13710       VAR_CPU_BITS=32
13711       VAR_CPU_ENDIAN=little
13712       ;;
13713     arm*)
13714       VAR_CPU=arm
13715       VAR_CPU_ARCH=arm
13716       VAR_CPU_BITS=32
13717       VAR_CPU_ENDIAN=little
13718       ;;






13719     powerpc)
13720       VAR_CPU=ppc
13721       VAR_CPU_ARCH=ppc
13722       VAR_CPU_BITS=32
13723       VAR_CPU_ENDIAN=big
13724       ;;
13725     powerpc64)
13726       VAR_CPU=ppc64
13727       VAR_CPU_ARCH=ppc
13728       VAR_CPU_BITS=64
13729       VAR_CPU_ENDIAN=big
13730       ;;
13731     powerpc64le)
13732       VAR_CPU=ppc64
13733       VAR_CPU_ARCH=ppc
13734       VAR_CPU_BITS=64
13735       VAR_CPU_ENDIAN=little
13736       ;;
13737     s390)
13738       VAR_CPU=s390


14544     BUILDING_MULTIPLE_JVM_VARIANTS=no
14545   fi
14546 
14547 
14548 
14549 
14550 
14551 
14552 
14553 
14554 
14555 
14556   INCLUDE_SA=true
14557   if test "x$JVM_VARIANT_ZERO" = xtrue ; then
14558     INCLUDE_SA=false
14559   fi
14560   if test "x$JVM_VARIANT_ZEROSHARK" = xtrue ; then
14561     INCLUDE_SA=false
14562   fi
14563   if test "x$OPENJDK_TARGET_OS" = xaix ; then



14564     INCLUDE_SA=false
14565   fi
14566 
14567 
14568   if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
14569     MACOSX_UNIVERSAL="true"
14570   fi
14571 
14572 
14573 
14574 
14575   ###############################################################################
14576   #
14577   # Set the debug level
14578   #    release: no debug information, all optimizations, no asserts.
14579   #    optimized: no debug information, all optimizations, no asserts, HotSpot target is 'optimized'.
14580   #    fastdebug: debug information (-g), all optimizations, all asserts
14581   #    slowdebug: debug information (-g), no optimizations, all asserts
14582   #
14583   DEBUG_LEVEL="release"




4311 # Check if the VS env variables were setup prior to running configure.
4312 # If not, then find vcvarsall.bat and run it automatically, and integrate
4313 # the set env variables into the spec file.
4314 
4315 
4316 
4317 
4318 
4319 
4320 
4321 
4322 
4323 
4324 
4325 # This line needs to be here, verbatim, after all includes and the dummy hook
4326 # definitions. It is replaced with custom functionality when building
4327 # custom sources.
4328 #CUSTOM_AUTOCONF_INCLUDE
4329 
4330 # Do not change or remove the following line, it is needed for consistency checks:
4331 DATE_WHEN_GENERATED=1416588259
4332 
4333 ###############################################################################
4334 #
4335 # Initialization / Boot-strapping
4336 #
4337 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4338 # thus it jumps back and forth, each time gaining something needed later on.
4339 #
4340 ###############################################################################
4341 
4342 # If we are requested to print additional help, do that and then exit.
4343 # This must be the very first call.
4344 
4345   if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4346     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4347     $PRINTF "Which are valid to use depends on the build platform.\n"
4348     for toolchain in $VALID_TOOLCHAINS_all; do
4349       # Use indirect variable referencing
4350       toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4351       TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}


13567   # First argument is the cpu name from the trip/quad
13568   case "$build_cpu" in
13569     x86_64)
13570       VAR_CPU=x86_64
13571       VAR_CPU_ARCH=x86
13572       VAR_CPU_BITS=64
13573       VAR_CPU_ENDIAN=little
13574       ;;
13575     i?86)
13576       VAR_CPU=x86
13577       VAR_CPU_ARCH=x86
13578       VAR_CPU_BITS=32
13579       VAR_CPU_ENDIAN=little
13580       ;;
13581     arm*)
13582       VAR_CPU=arm
13583       VAR_CPU_ARCH=arm
13584       VAR_CPU_BITS=32
13585       VAR_CPU_ENDIAN=little
13586       ;;
13587     aarch64)
13588       VAR_CPU=aarch64
13589       VAR_CPU_ARCH=aarch64
13590       VAR_CPU_BITS=64
13591       VAR_CPU_ENDIAN=little
13592       ;;
13593     powerpc)
13594       VAR_CPU=ppc
13595       VAR_CPU_ARCH=ppc
13596       VAR_CPU_BITS=32
13597       VAR_CPU_ENDIAN=big
13598       ;;
13599     powerpc64)
13600       VAR_CPU=ppc64
13601       VAR_CPU_ARCH=ppc
13602       VAR_CPU_BITS=64
13603       VAR_CPU_ENDIAN=big
13604       ;;
13605     powerpc64le)
13606       VAR_CPU=ppc64
13607       VAR_CPU_ARCH=ppc
13608       VAR_CPU_BITS=64
13609       VAR_CPU_ENDIAN=little
13610       ;;
13611     s390)
13612       VAR_CPU=s390


13705   # First argument is the cpu name from the trip/quad
13706   case "$host_cpu" in
13707     x86_64)
13708       VAR_CPU=x86_64
13709       VAR_CPU_ARCH=x86
13710       VAR_CPU_BITS=64
13711       VAR_CPU_ENDIAN=little
13712       ;;
13713     i?86)
13714       VAR_CPU=x86
13715       VAR_CPU_ARCH=x86
13716       VAR_CPU_BITS=32
13717       VAR_CPU_ENDIAN=little
13718       ;;
13719     arm*)
13720       VAR_CPU=arm
13721       VAR_CPU_ARCH=arm
13722       VAR_CPU_BITS=32
13723       VAR_CPU_ENDIAN=little
13724       ;;
13725     aarch64)
13726       VAR_CPU=aarch64
13727       VAR_CPU_ARCH=aarch64
13728       VAR_CPU_BITS=64
13729       VAR_CPU_ENDIAN=little
13730       ;;
13731     powerpc)
13732       VAR_CPU=ppc
13733       VAR_CPU_ARCH=ppc
13734       VAR_CPU_BITS=32
13735       VAR_CPU_ENDIAN=big
13736       ;;
13737     powerpc64)
13738       VAR_CPU=ppc64
13739       VAR_CPU_ARCH=ppc
13740       VAR_CPU_BITS=64
13741       VAR_CPU_ENDIAN=big
13742       ;;
13743     powerpc64le)
13744       VAR_CPU=ppc64
13745       VAR_CPU_ARCH=ppc
13746       VAR_CPU_BITS=64
13747       VAR_CPU_ENDIAN=little
13748       ;;
13749     s390)
13750       VAR_CPU=s390


14556     BUILDING_MULTIPLE_JVM_VARIANTS=no
14557   fi
14558 
14559 
14560 
14561 
14562 
14563 
14564 
14565 
14566 
14567 
14568   INCLUDE_SA=true
14569   if test "x$JVM_VARIANT_ZERO" = xtrue ; then
14570     INCLUDE_SA=false
14571   fi
14572   if test "x$JVM_VARIANT_ZEROSHARK" = xtrue ; then
14573     INCLUDE_SA=false
14574   fi
14575   if test "x$OPENJDK_TARGET_OS" = xaix ; then
14576     INCLUDE_SA=false
14577   fi
14578   if test "x$OPENJDK_TARGET_CPU" = xaarch64; then
14579     INCLUDE_SA=false
14580   fi
14581 
14582 
14583   if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
14584     MACOSX_UNIVERSAL="true"
14585   fi
14586 
14587 
14588 
14589 
14590   ###############################################################################
14591   #
14592   # Set the debug level
14593   #    release: no debug information, all optimizations, no asserts.
14594   #    optimized: no debug information, all optimizations, no asserts, HotSpot target is 'optimized'.
14595   #    fastdebug: debug information (-g), all optimizations, all asserts
14596   #    slowdebug: debug information (-g), no optimizations, all asserts
14597   #
14598   DEBUG_LEVEL="release"