Moving company specific files to local.
This commit is contained in:
3
local/mg/.vimrc.local
Executable file
3
local/mg/.vimrc.local
Executable file
@@ -0,0 +1,3 @@
|
||||
set expandtab
|
||||
set path=.,/usr/include,/usr/include/c++/4.4.4,../,../../Isrc,../Isrc,./Isrc
|
||||
set tags+=../tags,../../tags
|
||||
17
local/mg/build_and_run.csh
Executable file
17
local/mg/build_and_run.csh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/csh
|
||||
|
||||
set dwa=~/devel/mg/dwa_02_23/ic/lv/aoi-dbg/
|
||||
|
||||
if ( { rsh amy-bld-07 "cd $dwa && cglu && cd locallv && gmake calibre" } ) then
|
||||
else
|
||||
exit
|
||||
endif
|
||||
if ( { calibre -drc -hier -turbo $1 } ) then
|
||||
else
|
||||
exit
|
||||
endif
|
||||
if ( { merge.csh } ) then
|
||||
else
|
||||
exit
|
||||
endif
|
||||
|
||||
84
local/mg/create_dwa.csh
Normal file
84
local/mg/create_dwa.csh
Normal file
@@ -0,0 +1,84 @@
|
||||
#!/bin/csh
|
||||
|
||||
if ( $1 == "" ) then
|
||||
echo 'DWA folder is not specified.'
|
||||
exit
|
||||
endif
|
||||
|
||||
|
||||
if ( $2 == "" ) then
|
||||
echo 'VCO is not specified.'
|
||||
exit
|
||||
endif
|
||||
|
||||
if ( $2 != "aoi" && $2 != "aoi-dbg" && $2 != "aoh" ) then
|
||||
echo 'VCO is unknown.'
|
||||
exit
|
||||
endif
|
||||
|
||||
set VVCO=$2
|
||||
|
||||
if ( $3 != "" ) then
|
||||
set PRJ=$3
|
||||
else
|
||||
set PRJ=""
|
||||
endif
|
||||
|
||||
######################
|
||||
# Create DWA
|
||||
######################
|
||||
mkdir -p $1
|
||||
cd $1
|
||||
setenv DWA `pwd`
|
||||
|
||||
ic_dwa -lv $IWA $DWA $VVCO
|
||||
|
||||
cd $DWA/ic/ic_superproj/$VVCO
|
||||
cglu
|
||||
pmake mk_imports imports
|
||||
|
||||
cd $DWA/ic/lv/$VVCO
|
||||
cglu
|
||||
cm_add_verfiles
|
||||
|
||||
cd $DWA/ic/lv/$VVCO
|
||||
|
||||
setenv CAL_DWA $DWA
|
||||
setenv CAL_IWA $IWA
|
||||
|
||||
######################
|
||||
# Syn project files.
|
||||
######################
|
||||
if ( $PRJ == "wrap" || $PRJ == "fill" ) then
|
||||
cd Dsrc/iclv
|
||||
foreach i (`ls Isrc/dfm_fill*`)
|
||||
cvs update `basename $i`
|
||||
touch `basename $i`
|
||||
end
|
||||
cd -
|
||||
endif
|
||||
|
||||
######################
|
||||
# Run ctags.
|
||||
######################
|
||||
cd Dsrc
|
||||
ptags
|
||||
cd -
|
||||
|
||||
######################
|
||||
# Build project.
|
||||
######################
|
||||
pmake lcl_exec ic_create_deps
|
||||
pmake systests lv_verify
|
||||
|
||||
#
|
||||
# Set path after build. Otherwise tcsh doesn't find binaries.
|
||||
#
|
||||
setenv MGC_HOME $DWA/ic/ic_superproj/$VVCO/Mgc_home
|
||||
setenv MGC_BIN $MGC_HOME/bin
|
||||
setenv PATH $MGC_BIN\:$PATH
|
||||
|
||||
#cd $DWA/ic/lv/$VCO-dbg/lithas/Dsrc
|
||||
#cvs update build.pl
|
||||
#cd
|
||||
#$DWA/ic/lv/$VCO/lithas/Isrc/build.pl debug calibre -j 8
|
||||
48
local/mg/create_iwa.csh
Normal file
48
local/mg/create_iwa.csh
Normal file
@@ -0,0 +1,48 @@
|
||||
#!/bin/csh
|
||||
|
||||
if ( $1 == '' ) then
|
||||
echo 'IWA folder is not specified.'
|
||||
exit
|
||||
endif
|
||||
|
||||
mkdir -p $1
|
||||
cd $1
|
||||
setenv IWA `pwd`
|
||||
|
||||
if ( $2 != '' ) then
|
||||
set VVCO=$VCO-$2
|
||||
else
|
||||
set VVCO=$VCO
|
||||
endif
|
||||
|
||||
#
|
||||
# Check out sources.
|
||||
#
|
||||
cvs checkout ic/lv/src ic/ic_superproj/src
|
||||
|
||||
######################
|
||||
cd $IWA/ic/lv
|
||||
mkwa . . $VVCO
|
||||
|
||||
cd $IWA/ic/ic_superproj
|
||||
mkwa . . $VVCO
|
||||
cd $IWA/ic/ic_superproj/$VVCO
|
||||
cglu
|
||||
gmake mk_imports imports
|
||||
|
||||
cd $IWA/ic/lv/$VVCO
|
||||
cglu
|
||||
cm_add_verfiles
|
||||
|
||||
setenv CAL_DWA $DWA
|
||||
setenv CAL_IWA $IWA
|
||||
|
||||
#pmake lcl_exec ic_create_deps
|
||||
|
||||
#
|
||||
# Set path after build. Otherwise tcsh doesn't find binaries.
|
||||
#
|
||||
setenv MGC_HOME $IWA/ic/ic_superproj/$VVCO/Mgc_home
|
||||
setenv MGC_BIN $MGC_HOME/bin
|
||||
setenv PATH $MGC_BIN\:$PATH
|
||||
|
||||
152
local/mg/cshrc
Normal file
152
local/mg/cshrc
Normal file
@@ -0,0 +1,152 @@
|
||||
#
|
||||
# Set DISPLAY if not set.
|
||||
#
|
||||
if ( $?DISPLAY == 0 ) then
|
||||
setenv DISPLAY amy-nbaghram-lnx:1.0
|
||||
# echo "Display is set to $DISPLAY"
|
||||
endif
|
||||
#
|
||||
# MG global
|
||||
#
|
||||
setenv VCO `/usr/mgc/bin/mgcvco`
|
||||
setenv MGC_SITE `domainname`
|
||||
|
||||
switch($MGC_SITE:q)
|
||||
case amy.mentorg.com:
|
||||
source /wv/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/peteoss/bin:/user/peteoss/$VCO/bin
|
||||
setenv PATH $PATH\:/user/pevtools/bin:/user/pevtools/$VCO/bin
|
||||
setenv PATH $PATH\:/usr/mgc/bin:/usr/mgc/lib/mgcms
|
||||
|
||||
setenv PEVTOOLSBIN /user/pevtools/bin
|
||||
if ( $?LD_LIBRARY_PATH ) then
|
||||
setenv LD_LIBRARY_PATH /user/pevtools/$VCO/lib64\:$LD_LIBRARY_PATH
|
||||
else
|
||||
setenv LD_LIBRARY_PATH /user/pevtools/$VCO/lib64
|
||||
endif
|
||||
|
||||
setenv LD_LIBRARY_PATH /user/peteoss/$VCO/lib64\:$LD_LIBRARY_PATH
|
||||
|
||||
#
|
||||
# MG development environment
|
||||
#
|
||||
setenv CVSROOT :pserver:calcvs:/cvs/ic
|
||||
setenv BUILD64 1
|
||||
|
||||
@ cpu_count = ( `/user/icdet/bin/count_processors` / 2 )
|
||||
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'
|
||||
alias create_dwa 'source $HOME/devel/scripts/mg/create_dwa.csh'
|
||||
alias create_iwa 'source $HOME/devel/scripts/mg/create_iwa.csh'
|
||||
|
||||
#if ( -x /share/cal_daily/latest ) then
|
||||
# setenv IWA /share/cal_nightly/latest
|
||||
if ( -x /share/cal_nightly/latest ) then
|
||||
setenv IWA /share/cal_nightly/latest
|
||||
else if ( -x /wv/cal_nightly/latest_ube ) then
|
||||
setenv IWA /wv/cal_nightly/latest_ube
|
||||
else if ( -x /sj/cal_nightly/latest_ube ) then
|
||||
setenv IWA /sj/cal_nightly/latest_ube
|
||||
endif
|
||||
|
||||
setenv CALIBRE_PRINT_STACK_TRACE 4242
|
||||
#setenv CALIBRE_DUMP_CORE_ON_ABORT 1
|
||||
setenv CALIBRE_DFM_FILL_WRAP_DUMP_COLLECTIONS 1
|
||||
setenv DFM_FILL_WRAP_2D_EXPERIMENTAL 1
|
||||
#setenv CALIBRE_MTFLEX_LOCAL_HOST_DIR $HOME/devel/mg/test/dfm_fill_wrap_vertical_shape
|
||||
#setenv CALIBRE_MTFLEX_LOCAL_HOST_DIR $HOME/devel/mg/test/dfm_fill_wrap_vertical_shape
|
||||
#setenv TMP $HOME/devel/mg/test/dfm_fill_wrap_vertical_shape
|
||||
#setenv TEMP $HOME/devel/mg/test/dfm_fill_wrap_vertical_shape
|
||||
|
||||
#
|
||||
# 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 ( -e /wv/pevtools/data_dir ) then
|
||||
setenv DESIGN_DIR /wv/pevtools/data_dir
|
||||
endif
|
||||
|
||||
if ( -e /amy/cal_dfm_qa/tot_master/calibre/dfm/fill/WRAP ) then
|
||||
setenv DFM_TEST_BASE /amy/cal_dfm_qa/tot_master/calibre/dfm/fill/WRAP
|
||||
setenv TEST_SUITE_TOP /amy/cal_dfm_qa/tot_master/calibre
|
||||
endif
|
||||
|
||||
if ( -e /wv/calgrid/sge/default/common/settings.csh ) then
|
||||
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
|
||||
|
||||
setenv CAL_OPTIONS "-turbo -hyper"
|
||||
|
||||
#
|
||||
# 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
|
||||
else 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 > /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 > /dev/null
|
||||
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
|
||||
setenv EDITOR /home/vkhachat/local_rh_x64/bin/gvim
|
||||
|
||||
#
|
||||
# ICWBEV
|
||||
#
|
||||
alias icwbev $HOME/local_rh_x64/private/fw/bin/icwbev
|
||||
alias oasis_info $HOME/local_rh_x64/private/fw/bin/oasis_info
|
||||
|
||||
#
|
||||
# Aliases
|
||||
#
|
||||
alias cdw 'cd $HOME/devel/mg'
|
||||
alias setmgchome 'source $HOME/devel/scripts/mg/setmgchome.csh'
|
||||
alias ptags 'ctags --recurse=yes --verbose -h ".h.C" base lvbase iclv ponte dfm locallv'
|
||||
8
local/mg/integrate.csh
Executable file
8
local/mg/integrate.csh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/csh
|
||||
|
||||
if ( $1 == "" || $2 == "" || $3 == "" ) then
|
||||
echo 'Syntax: <file name> <rev1> <rev2>.'
|
||||
exit
|
||||
endif
|
||||
|
||||
cvs diff -tc -r $2 -r $3 $1 | patch -l -F 3 $1
|
||||
4
local/mg/merge.csh
Executable file
4
local/mg/merge.csh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/csh
|
||||
|
||||
calibredrv `dirname $0`/merge.tcl
|
||||
|
||||
15
local/mg/merge.tcl
Normal file
15
local/mg/merge.tcl
Normal file
@@ -0,0 +1,15 @@
|
||||
proc merge_phase { prefix } {
|
||||
set pattern $prefix
|
||||
append pattern "_*"
|
||||
set dumps [glob $pattern ]
|
||||
foreach f $dumps {
|
||||
lappend input -in $f
|
||||
}
|
||||
#layout filemerge $input -out dump_merged.oas -smartdiff -mode append
|
||||
eval "layout filemerge $input -out dump_merged_$prefix.oas -smartdiff -mode append"
|
||||
}
|
||||
|
||||
merge_phase phase0
|
||||
merge_phase phase1
|
||||
merge_phase phase2
|
||||
merge_phase phase3
|
||||
11
local/mg/sync_home
Executable file
11
local/mg/sync_home
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/csh
|
||||
|
||||
cd
|
||||
|
||||
echo sync: bin
|
||||
rsync -avz amy-dev5:bin $HOME
|
||||
echo sync: .vim
|
||||
rsync -avz amy-dev5:.vim $HOME
|
||||
echo sync: local_rh_x64
|
||||
rsync -avz amy-dev5:local_rh_x64 $HOME
|
||||
|
||||
244
local/snps/.bashrc.local
Executable file
244
local/snps/.bashrc.local
Executable file
@@ -0,0 +1,244 @@
|
||||
# .bashrc
|
||||
|
||||
#
|
||||
# Source global definitions
|
||||
#
|
||||
if [ -f /etc/bashrc ]; then
|
||||
. /etc/bashrc
|
||||
else
|
||||
# System wide functions and aliases
|
||||
# Environment stuff goes in /etc/profile
|
||||
|
||||
# by default, we want this to get set.
|
||||
# Even for non-interactive, non-login shells.
|
||||
if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then
|
||||
umask 002
|
||||
else
|
||||
umask 022
|
||||
fi
|
||||
|
||||
# are we an interactive shell?
|
||||
if [ "$PS1" ]; then
|
||||
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"'
|
||||
# Turn on checkwinsize
|
||||
shopt -s checkwinsize
|
||||
[ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "
|
||||
fi
|
||||
|
||||
if ! shopt -q login_shell ; then # We're not a login shell
|
||||
for i in /etc/profile.d/*.sh; do
|
||||
if [ -r "$i" ]; then
|
||||
if [ "$PS1" ]; then
|
||||
. $i
|
||||
else
|
||||
. $i &>/dev/null
|
||||
fi
|
||||
fi
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# Don't source the rest twice.
|
||||
#
|
||||
#if [ "$BASHRC_VAHAGNK_DONT_SOURCE_THIS_FILE_TWICE" == "true" ]; then
|
||||
# return
|
||||
#fi
|
||||
#export BASHRC_VAHAGNK_DONT_SOURCE_THIS_FILE_TWICE=true
|
||||
|
||||
#
|
||||
# Useful functions.
|
||||
#
|
||||
function prepath() {
|
||||
[ -e $1 ] && PATH=$1:$PATH
|
||||
}
|
||||
function postpath() {
|
||||
[ -e $1 ] && PATH=$PATH:$1
|
||||
}
|
||||
|
||||
#
|
||||
# Find out system details.
|
||||
#
|
||||
kernel=`uname -s`
|
||||
hostnm=`hostname`
|
||||
krelease=`uname -r`
|
||||
#
|
||||
# Get synopsys variant.
|
||||
#
|
||||
if [ -z "$SYNVARIANT" ]; then
|
||||
SYNVARIANT=amd64
|
||||
[ -e /usr/local/bin/snps_arch ] && SYNVARIANT=`/usr/local/bin/snps_arch -64`
|
||||
fi
|
||||
#
|
||||
# SES Setup for Build
|
||||
# configure the DFM build environment
|
||||
#. /remote/nti/utility/startup/dfm-am.sh
|
||||
#
|
||||
siteid="none"
|
||||
[ -f /usr/local/bin/siteid ] && siteid=`/usr/local/bin/siteid`
|
||||
|
||||
if [ $siteid = us01 ]; then
|
||||
SYNOPSYS_SITE=US01
|
||||
DFM_MV_STARTUP_HOME=/remote/nti/utility/startup
|
||||
LM_LICENSE_FILE=26585@us01_lic4:26585@us01_lic5:26585@us01-lic6:26530@us01-lic10
|
||||
elif [ $siteid = us03 ]; then
|
||||
SYNOPSYS_SITE=US03
|
||||
DFM_MV_STARTUP_HOME=/remote/ntitoolsstartup
|
||||
LM_LICENSE_FILE=26585@us03-lic1:26585@us03-lic2:26585@us03-lic4:26585@us03-lic5
|
||||
elif [ $siteid = am04 ]; then
|
||||
SYNOPSYS_SITE=AM04
|
||||
DFM_MV_STARTUP_HOME=/remote/ntitoolsstartup
|
||||
LM_LICENSE_FILE=26585@am04-lic2:26585@am04-lic1
|
||||
else
|
||||
SYNOPSYS_SITE=
|
||||
DFM_MV_STARTUP_HOME=
|
||||
LM_LICENSE_FILE=
|
||||
fi
|
||||
|
||||
export SYNOPSYS_SITE
|
||||
export SYNOPSYS_BU=DFM
|
||||
export QSC=G
|
||||
prepath /depot/qsc/QSC${QSC}/bin
|
||||
|
||||
#
|
||||
# A bunch of license servers which we don't use currently.
|
||||
#
|
||||
|
||||
# avantd:tool
|
||||
LMFILE2=1700@stoat:27009@nefertiti
|
||||
# TE_CATS:snpslmd:numeritchd:avantd:tmald:CADABRA
|
||||
LMFILE3=1702@us01_lic1:1701@us01_lic1:1706@us01_lic1:7182@us01_lic1:1704@us01_lic1:1705@us01_lic1
|
||||
# snpslmd,numeritchd,TE_CATS
|
||||
LMFILE4=27000@crossroads
|
||||
# TE_CATS:snpslmd:numeritchd:avantd:tmald:CADABRA
|
||||
LMFILE5=1702@us01_lic2:26585@us01_lic2:1706@us01_lic2:27000@us01_lic2:1704@us01_lic2:1705@us01_lic2
|
||||
# snpslmd,numeritchd,TE_CATS
|
||||
LMFILE6=27000@tyndall
|
||||
# TE_CATS:snpslmd:numeritchd:avantd:tmald:CADABRA
|
||||
LMFILE7=1702@us01_lic3:26585@us01_lic3:1706@us01_lic3:27000@us01_lic3:1704@us01_lic3:1705@us01_lic3
|
||||
LMFILE=$LMFILE1:$LMFILE2:$LMFILE3:$LMFILE4:$LMFILE5:$LMFILE6:$LMFILE7
|
||||
#export LM_LICENSE_FILE=$LM_LICENSE_FILE:$LMFILE
|
||||
|
||||
|
||||
#
|
||||
# VIM
|
||||
#
|
||||
VIMDIR=/depot/vim-7.3/bin
|
||||
#if [ "$hostnm" == "icwb-nemrut" ]; then
|
||||
# VIMDIR=/depot/vim-7.1/bin
|
||||
#fi
|
||||
VIM=${VIMDIR}/vim
|
||||
if [ "$kernel" == "Linux" ]; then
|
||||
alias vi=$VIM
|
||||
alias vim=$VIM
|
||||
alias gvim=${VIMDIR}/gvim
|
||||
alias ctags="/depot/ctag-5.5.4/bin/ctags"
|
||||
fi
|
||||
|
||||
#
|
||||
# GIT
|
||||
#
|
||||
[ -f /remote/icwbam3/tools/etc/git-completion.bash ] && . /remote/icwbam3/tools/etc/git-completion.bash
|
||||
|
||||
#
|
||||
# P4
|
||||
#
|
||||
[ -f /remote/icwbam3/tools/etc/p4-completion.bash ] && . /remote/icwbam3/tools/etc/p4-completion.bash
|
||||
export P4PORT=p4p-`/usr/local/bin/siteid`:1700
|
||||
export P4USER=vahagnk
|
||||
export P4EDITOR=$VIM
|
||||
export P4CONFIG=.p4config
|
||||
alias p4="/depot/perforce/p4"
|
||||
alias p4v="/depot/perforce/p4v"
|
||||
|
||||
#
|
||||
# GCC
|
||||
#
|
||||
if [ -e /depot/gcc-4.7.2/bin ]; then
|
||||
PATH=/depot/gcc-4.7.2/bin:$PATH
|
||||
LD_LIBRARY_PATH=/depot/gcc-4.7.2/lib64:$LD_LIBRARY_PATH
|
||||
elif [ -e /depot/gcc-4.7.0/bin ]; then
|
||||
PATH=/depot/gcc-4.7.0/bin:$PATH
|
||||
LD_LIBRARY_PATH=/depot/gcc-4.7.0/lib64:$LD_LIBRARY_PATH
|
||||
elif [ -e /depot/gcc-4.5.2/bin ]; then
|
||||
PATH=/depot/gcc-4.5.2/bin:$PATH
|
||||
LD_LIBRARY_PATH=/depot/gcc-4.5.2/lib64:$LD_LIBRARY_PATH
|
||||
fi
|
||||
|
||||
#
|
||||
# GDB
|
||||
#
|
||||
prepath /depot/gdb-7.5.1/bin
|
||||
|
||||
#
|
||||
# VTune Amplifier
|
||||
#
|
||||
export INTEL_LICENSE_FILE=28518@us01-lic10:28518@us01-lic11:28518@us01-lic12:28518@tyndall
|
||||
alias vtune=/depot/vtune_amplifier_xe_2013_update5/bin64/amplxe-gui
|
||||
|
||||
#
|
||||
# TotalView
|
||||
#
|
||||
TV_LFILE=8127@us01-lic10:8127@us01-lic11:8127@us01-lic12
|
||||
LM_LICENSE_FILE=$LM_LICENSE_FILE:$TV_LFILE
|
||||
alias totalview="/depot/totalview_8.6.0-3/toolworks/totalview.8.6.0-3/bin/totalview"
|
||||
|
||||
#
|
||||
# PURIFY and all.
|
||||
#
|
||||
postpath /depot/coverity/swat/bin
|
||||
export RSU_TEMPLATE2_INI=/depot/pure/templates2.ini
|
||||
export RSU_LICENSE_MAP=/depot/pure/PurifyPlus_License_Map
|
||||
export PURECOVOPTIONS="-force-rebuild=no -log-file=./%v.%p.log -counts-file=./%v.%p.pcv -windows=no"
|
||||
export PUREOPTIONS="-force-rebuild=no -always-use-cache-dir=yes -cache-dir=$HOME/tmp/pure_cache"
|
||||
export QUANTIFYOPTIONS="-force-rebuild=no -always-use-cache-dir=yes -cache-dir=$HOME/tmp/pure_cache"
|
||||
#export LD_LIBRARY_PATH=$HOME/prj/fw/rmain/3pty/qt/4.7.2/amd64/lib:$LD_LIBRARY_PATH
|
||||
alias purecov="/depot/swe/a2007.12/bin/purecov"
|
||||
#alias quantify"/depot/swe/a2007.12/bin/quantify"
|
||||
|
||||
#
|
||||
# User specific environment and startup programs
|
||||
#
|
||||
prepath /remote/nti/bin
|
||||
postpath /depot/xclip-0.10/bin
|
||||
postpath /depot/tools/ccollab/bin
|
||||
postpath /remote/nti/install/lavis/lavis-4.1.0/bin
|
||||
|
||||
prepath $HOME/local/texlive/bin/x86_64-linux
|
||||
prepath $HOME/local/bin
|
||||
prepath $HOME/bin
|
||||
[ "$SYNVARIANT" == "amd64" ] && prepath /remote/icwbam3/tools/crte/amd64
|
||||
[ "$SYNVARIANT" == "amd64" ] && prepath /remote/icwbam3/tools/bin
|
||||
|
||||
#
|
||||
# ICWB build and run
|
||||
#
|
||||
export FW_DBG_MODE=batch
|
||||
#export FW_DBG_MODE=gdb
|
||||
export STACK_TRACER_SYMBOL_ENCRYPTION_DISABLED=1
|
||||
#export DERIVED_ARCH=$SYNVARIANT
|
||||
#export TARGET_ARCH=$SYNVARIANT
|
||||
|
||||
#
|
||||
# set alias for ICWB(EV)+
|
||||
#
|
||||
alias cdfw="cd ~/prj/fw/main"
|
||||
alias fwgdb="~/bin/fwtest.sh -fw gdb"
|
||||
alias fwrun="~/bin/fwtest.sh -fw run"
|
||||
alias fwtest="~/bin/fwtest.sh"
|
||||
#alias synmake="/remote/nti/bin/synmake"
|
||||
alias fwtags="find . -type d -exec /depot/ctag-5.5.4/bin/ctags -R --verbose
|
||||
--include \*.h --include \*.c --include \*.cpp --exclude=\"boost\" --exclude=\"hp64*\" --exclude=\"sparc64*\" --exclude=\"linux*\" --exclude=\"aix64*\" --exclude=\"suse32*\" --exclude=\"suse64*\" --exclude=\"win32\" --exclude=\"*stage*\" --exclude=\"*no_sync*\" -f \{\}/tags \{\} \;"
|
||||
alias cleantemp="rm -rf ~/temp/*icwb*"
|
||||
alias vncserver="/usr/bin/vncserver"
|
||||
alias cgrep="grep --include \*.cpp --include \*.h --include \*.c"
|
||||
alias localParse="/remote/nti/test_suite/icwb/common/utilities/localParse.pl"
|
||||
|
||||
#
|
||||
# Make sure to export PATH
|
||||
#
|
||||
export PATH
|
||||
export LM_LICENSE_FILE
|
||||
export SYNVARIANT
|
||||
|
||||
Reference in New Issue
Block a user