112 lines
3.3 KiB
Bash
112 lines
3.3 KiB
Bash
#
|
|
# MG global
|
|
#
|
|
setenv VCO `/usr/mgc/bin/mgcvco`
|
|
setenv MGC_SITE `domainname`
|
|
|
|
switch($MGC_SITE:q)
|
|
case amy.mentorg.com:
|
|
source /user/icdet/bin/detalias.arm.csh
|
|
setenv MGLS_LICENSE_FILE 1717@amy-lic-01.amy.mentorg.com
|
|
#setenv WG_SERVER /share/ic_wg_server/CACHED_WG_SERVER
|
|
#setenv MGC_SERVER $WG_SERVER
|
|
breaksw
|
|
case wv.mentorg.com:
|
|
source /user/icdet/bin/detalias.csh
|
|
setenv MGLS_LICENSE_FILE 1717@wv-lic-01:1717@wv-lic-02:1717@wv-lic-03:1717@wv-lic-04:1717@wv-lic-05:1700@pevlic1:1700@pevlic4
|
|
breaksw
|
|
case sje.mentorg.com:
|
|
source /user/icdet/bin/detalias.csh
|
|
setenv MGLS_LICENSE_FILE 1717@wv-lic-01:1717@wv-lic-02:1717@wv-lic-03:1717@wv-lic-04:1717@wv-lic-05:1700@pevlic1:1700@pevlic4
|
|
breaksw
|
|
endsw
|
|
|
|
setenv LM_LICENSE_FILE $MGLS_LICENSE_FILE\:1717@wv-lic-toolworks.wv.mentorg.com
|
|
|
|
setenv PATH $PATH\:/user/icdet/bin:/user/icbuild/bin
|
|
setenv PATH $PATH\:/user/pevtools/bin:/user/pevtools/$VCO/bin
|
|
setenv PATH $PATH\:/usr/mgc/bin:/usr/mgc/lib/mgcms
|
|
|
|
setenv LD_LIBRARY_PATH /user/pevtools/$VCO/lib
|
|
setenv PEVTOOLSBIN /user/pevtools/bin
|
|
|
|
#
|
|
# MG development environment
|
|
#
|
|
setenv CVSROOT :pserver:calcvs:/cvs/ic
|
|
setenv BUILD64 1
|
|
|
|
set cpu_count=`/user/icdet/bin/count_processors`
|
|
setenv PB "GMAKE_LIB_PARALLEL=-j$cpu_count GMAKE_SYSTESTS_PARALLEL=-j$cpu_count"
|
|
setenv PB2 "GMAKE_EXEC_PARALLEL=-j"`/user/icdet/bin/figure_gmake_exec_ness`
|
|
alias pmake 'gmake $PB $PB2'
|
|
|
|
#
|
|
# MG test environment (These are needed for terra)
|
|
#
|
|
#export MGC_HOME=/amy/cal_nightly/latest/ic/ic_superproj/$VCO/Mgc_home
|
|
#export MGC_HOME=/wv/icdet/work_areas/latest_ube/ic/ic_superproj/$VCO/Mgc_home/
|
|
#export MGC_BIN=$MGC_HOME/bin
|
|
#export PATH=$MGC_BIN:$PATH
|
|
|
|
if ( -x /wv/calgrid/sge/default/common/settings.csh ) then
|
|
setenv DESIGN_DIR /user/pevtools/data_dir
|
|
setenv DFM_TEST_BASE /wv/cal_dfm_qa/tot_master/calibre/dfm/rq/
|
|
setenv TEST_SUITE_TOP /wv/amy_dfm_qa/tot_master/calibre
|
|
setenv CALIBRE_SKIP_OS_CHECKS 1
|
|
source /wv/calgrid/sge/default/common/settings.csh
|
|
setenv SGE_ROOT /wv/calgrid/uge811
|
|
endif
|
|
|
|
#
|
|
# VTune
|
|
#
|
|
if ( -x /opt/intel/vtune_amplifier_xe/amplxe-vars.csh ) then
|
|
source /opt/intel/vtune_amplifier_xe/amplxe-vars.csh
|
|
setenv LM_LICENSE_FILE $LM_LICENSE_FILE\:1717@rukbat.wv.mentorg.com
|
|
alias vtune amplxe-gui
|
|
endif
|
|
|
|
if ( -x /opt/intel/inspector_xe_2011/inspxe-vars.csh ) then
|
|
source /opt/intel/inspector_xe_2011/inspxe-vars.csh
|
|
endif
|
|
|
|
#
|
|
# Private settings
|
|
#
|
|
setenv PATH $HOME/local_rh_x64/bin:$HOME/bin:$HOME/devel/scripts/mg:$HOME/devel/scripts/bash:$PATH
|
|
setenv LD_LIBRARY_PATH $HOME/local_rh_x64/lib:$HOME/local_rh_x64/lib64\:$LD_LIBRARY_PATH
|
|
|
|
#
|
|
# ICWBEV
|
|
#
|
|
alias icwbev $HOME/local_rh_x64/private/fw/bin/icwbev
|
|
alias oasis_info $HOME/local_rh_x64/private/fw/bin/oasis_info
|
|
|
|
#
|
|
# Aliases
|
|
#
|
|
|
|
#############
|
|
# if test -n "$DISPLAY"; then
|
|
# if echo "$DISPLAY"|grep -q "localhost"; then
|
|
# unset DISPLAY
|
|
# fi
|
|
# fi
|
|
#
|
|
# if test -z "$DISPLAY"; then
|
|
# if test -n "$SSH_CLIENT"; then
|
|
# REMOTEIP=`expr "$SSH_CLIENT" : '.*\([0-9]\{3\}\.[0-9]\{3\}\.[0-9]*\.[0-9]\{1,3\}\)'`
|
|
# export DISPLAY=$REMOTEIP:0.0
|
|
# elif test -n "$REMOTEHOST";then
|
|
# export DISPLAY=$REMOTEHOST:0.0
|
|
# fi
|
|
# fi
|
|
#####################
|
|
# export MGC_AMS_HOME=/tools/ELDO
|
|
# export PATH=$PATH:$MGC_AMS_HOME/bin
|
|
#####################
|
|
#for review-board
|
|
# export PATH=/tools/ActivePython-2.5.4.4.x86_64/bin/:$PATH
|
|
|