From 3677a7cf32a9d9112f4b6319e55be4db6c51f85f Mon Sep 17 00:00:00 2001 From: Vahagn Khachatryan Date: Wed, 10 Sep 2014 19:04:52 +0400 Subject: [PATCH] MG: post-review and prepare_for_checkin added to path. Amplifier config script is silenced in order to let git to work correctly. --- mg/cshrc | 46 +++++++++++++++++++++------------------------- 1 file changed, 21 insertions(+), 25 deletions(-) diff --git a/mg/cshrc b/mg/cshrc index 0128751..95544d4 100644 --- a/mg/cshrc +++ b/mg/cshrc @@ -49,7 +49,7 @@ alias pmake 'gmake $PB $PB2' #export MGC_BIN=$MGC_HOME/bin #export PATH=$MGC_BIN:$PATH -if ( -x /wv/calgrid/sge/default/common/settings.csh ) then +if ( -e /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 @@ -59,16 +59,33 @@ if ( -x /wv/calgrid/sge/default/common/settings.csh ) then endif # -# VTune +# post-review +# +if ( -e /tools/ActivePython-2.5.6.10-linux-x86/bin/post-review ) then + setenv PATH $PATH\:/tools/ActivePython-2.5.6.10-linux-x86/bin +endif +if ( -e /wv/pevtools/ActivePython-2.5.4.4-linux-x86_64/bin/post-review ) then + setenv PATH $PATH:/wv/pevtools/ActivePython-2.5.4.4-linux-x86_64/bin +endif + +# +# Eugene's check-in script +# +if ( -x /home/anikin/bin/prepare_for_checkin ) then + alias prepare_for_checkin /home/anikin/bin/prepare_for_checkin +endif + +# +# VTune and inspector # if ( -x /opt/intel/vtune_amplifier_xe/amplxe-vars.csh ) then - source /opt/intel/vtune_amplifier_xe/amplxe-vars.csh + source /opt/intel/vtune_amplifier_xe/amplxe-vars.csh > /dev/null 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 + source /opt/intel/inspector_xe_2011/inspxe-vars.csh > /dev/null endif # @@ -87,25 +104,4 @@ 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