agent/make/saenv.sh

changeset 1
2d8a650513c2
parent 0
f90c822e73f8
child 6876
710a3c8b516e
     1.1 --- a/agent/make/saenv.sh	Wed Apr 27 01:25:04 2016 +0800
     1.2 +++ b/agent/make/saenv.sh	Fri Apr 29 00:06:10 2016 +0800
     1.3 @@ -23,6 +23,12 @@
     1.4  #  
     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  # This file sets common environment variables for all SA scripts
    1.14  
    1.15  OS=`uname`
    1.16 @@ -42,6 +48,10 @@
    1.17       SA_LIBPATH=$STARTDIR/../src/os/linux/amd64:$STARTDIR/linux/amd64
    1.18       OPTIONS="-Dsa.library.path=$SA_LIBPATH"
    1.19       CPU=amd64
    1.20 +   elif [ "$ARCH" = "mips64" ] ; then
    1.21 +     SA_LIBPATH=$STARTDIR/../src/os/linux/mips:$STARTDIR/linux/mips
    1.22 +     OPTIONS="-Dsa.library.path=$SA_LIBPATH"
    1.23 +     CPU=mips
    1.24     else
    1.25       SA_LIBPATH=$STARTDIR/../src/os/linux/i386:$STARTDIR/linux/i386
    1.26       OPTIONS="-Dsa.library.path=$SA_LIBPATH"

mercurial