Added MIPS 64-bit port.

Fri, 29 Apr 2016 00:05:39 +0800

author
aoqi
date
Fri, 29 Apr 2016 00:05:39 +0800
changeset 1
2bcf2a10b799
parent 0
75a576e87639
child 1133
50aaf272884f

Added MIPS 64-bit port.

common/autoconf/generated-configure.sh file | annotate | diff | comparison | revisions
common/bin/hgforest.sh file | annotate | diff | comparison | revisions
     1.1 --- a/common/autoconf/generated-configure.sh	Wed Apr 27 01:39:08 2016 +0800
     1.2 +++ b/common/autoconf/generated-configure.sh	Fri Apr 29 00:05:39 2016 +0800
     1.3 @@ -14,6 +14,12 @@
     1.4  ## M4sh Initialization. ##
     1.5  ## -------------------- ##
     1.6  
     1.7 +#
     1.8 +# This file has been modified by Loongson Technology in 2015. These
     1.9 +# modifications are Copyright (c) 2015 Loongson Technology, and are made
    1.10 +# available on the same license terms set forth above.
    1.11 +#
    1.12 +
    1.13  # Be more Bourne compatible
    1.14  DUALCASE=1; export DUALCASE # for MKS sh
    1.15  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1.16 @@ -3868,7 +3874,7 @@
    1.17  #CUSTOM_AUTOCONF_INCLUDE
    1.18  
    1.19  # Do not change or remove the following line, it is needed for consistency checks:
    1.20 -DATE_WHEN_GENERATED=1403797630
    1.21 +DATE_WHEN_GENERATED=1410971760
    1.22  
    1.23  ###############################################################################
    1.24  #
    1.25 @@ -6860,6 +6866,12 @@
    1.26        VAR_CPU_BITS=64
    1.27        VAR_CPU_ENDIAN=big
    1.28        ;;
    1.29 +    mips64el)
    1.30 +      VAR_CPU=mips64
    1.31 +      VAR_CPU_ARCH=mips
    1.32 +      VAR_CPU_BITS=64
    1.33 +      VAR_CPU_ENDIAN=little
    1.34 +      ;;
    1.35      *)
    1.36        as_fn_error $? "unsupported cpu $build_cpu" "$LINENO" 5
    1.37        ;;
    1.38 @@ -6991,6 +7003,12 @@
    1.39        VAR_CPU_BITS=64
    1.40        VAR_CPU_ENDIAN=big
    1.41        ;;
    1.42 +    mips64el)
    1.43 +      VAR_CPU=mips64
    1.44 +      VAR_CPU_ARCH=mips
    1.45 +      VAR_CPU_BITS=64
    1.46 +      VAR_CPU_ENDIAN=little
    1.47 +      ;;
    1.48      *)
    1.49        as_fn_error $? "unsupported cpu $host_cpu" "$LINENO" 5
    1.50        ;;
    1.51 @@ -7145,6 +7163,10 @@
    1.52    elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
    1.53      # On all platforms except macosx, we replace x86_64 with amd64.
    1.54      OPENJDK_TARGET_CPU_OSARCH="amd64"
    1.55 +  elif test "x$OPENJDK_TARGET_OS" = xlinux && test "x$OPENJDK_TARGET_CPU" = xmips64; then
    1.56 +    # 2013/11/13 Jin: to be exactly same with OpenJDK 6(mips64)
    1.57 +    #   System.getProperty("os.arch"): mips64 -> mips64el
    1.58 +    OPENJDK_TARGET_CPU_OSARCH="mips64el"
    1.59    fi
    1.60  
    1.61  
     2.1 --- a/common/bin/hgforest.sh	Wed Apr 27 01:39:08 2016 +0800
     2.2 +++ b/common/bin/hgforest.sh	Fri Apr 29 00:05:39 2016 +0800
     2.3 @@ -23,6 +23,12 @@
     2.4  # questions.
     2.5  #
     2.6  
     2.7 +#
     2.8 +# This file has been modified by Loongson Technology in 2013. These
     2.9 +# modifications are Copyright (c) 2013 Loongson Technology, and are made
    2.10 +# available on the same license terms set forth above.
    2.11 +#
    2.12 +
    2.13  # Shell script for a fast parallel forest command
    2.14  command="$1"
    2.15  pull_extra_base="$2"
    2.16 @@ -144,7 +150,9 @@
    2.17    (
    2.18      (
    2.19        if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then
    2.20 -        pull_newrepo="`echo ${pull_base}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`"
    2.21 +        # 2013.2.27 Jin: fix the repo url for ssh
    2.22 +        #pull_newrepo="`echo ${pull_base}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`"
    2.23 +        pull_newrepo=${pull_base}/$i
    2.24          echo hg clone ${pull_newrepo} ${i}
    2.25          path="`dirname ${i}`"
    2.26          if [ "${path}" != "." ] ; then
    2.27 @@ -158,13 +166,13 @@
    2.28              sleep 5
    2.29            done
    2.30          fi
    2.31 -        (PYTHONUNBUFFERED=true hg clone ${pull_newrepo} ${i}; echo "$?" > ${tmp}/${repopidfile}.pid.rc )&
    2.32 +        (PYTHONUNBUFFERED=true hg clone ${pull_newrepo} ${i}; echo "$?" > ${tmp}/${repopidfile}.pid.rc )
    2.33        else
    2.34          echo "cd ${i} && hg $*"
    2.35 -        cd ${i} && (PYTHONUNBUFFERED=true hg "$@"; echo "$?" > ${tmp}/${repopidfile}.pid.rc )&
    2.36 +        cd ${i} && (PYTHONUNBUFFERED=true hg "$@"; echo "$?" > ${tmp}/${repopidfile}.pid.rc )
    2.37        fi
    2.38        echo $! > ${tmp}/${repopidfile}.pid
    2.39 -    ) 2>&1 | sed -e "s@^@${reponame}:   @") &
    2.40 +    ) 2>&1 | sed -e "s@^@${reponame}:   @") 
    2.41  
    2.42    if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then
    2.43      sleep 2

mercurial