MG: create_dwa and setmgchome added.
This commit is contained in:
43
mg/create_dwa.csh
Normal file
43
mg/create_dwa.csh
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
#!/bin/csh
|
||||||
|
|
||||||
|
mkdir -p $1
|
||||||
|
cd $1
|
||||||
|
setenv DWA `pwd`
|
||||||
|
|
||||||
|
setenv VVCO $VCO-dbg
|
||||||
|
|
||||||
|
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/$VCO-dbg/lithas/Dsrc
|
||||||
|
#cvs update build.pl
|
||||||
|
|
||||||
|
cd $DWA/ic/lv/$VCO-dbg
|
||||||
|
|
||||||
|
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 $DWA/ic/ic_superproj/$VVCO/Mgc_home
|
||||||
|
setenv MGC_BIN $MGC_HOME/bin
|
||||||
|
setenv PATH $MGC_BIN\:$PATH
|
||||||
|
|
||||||
|
#cd
|
||||||
|
#$DWA/ic/lv/$VCO/lithas/Isrc/build.pl debug calibre -j 8
|
||||||
|
|
||||||
|
#cd $WA/ic/lv/$VCO
|
||||||
|
#cglu
|
||||||
|
#gmake $PB systests lv_verify -j8
|
||||||
|
#gmake $PB systests lv_verify
|
||||||
5
mg/cshrc
5
mg/cshrc
@@ -40,6 +40,7 @@ set cpu_count=`/user/icdet/bin/count_processors`
|
|||||||
setenv PB "GMAKE_LIB_PARALLEL=-j$cpu_count GMAKE_SYSTESTS_PARALLEL=-j$cpu_count"
|
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`
|
setenv PB2 "GMAKE_EXEC_PARALLEL=-j"`/user/icdet/bin/figure_gmake_exec_ness`
|
||||||
alias pmake 'gmake $PB $PB2'
|
alias pmake 'gmake $PB $PB2'
|
||||||
|
alias create_dwa 'source $HOME/devel/scripts/mg/create_dwa.csh'
|
||||||
|
|
||||||
if ( -x /share/cal_nightly/latest ) then
|
if ( -x /share/cal_nightly/latest ) then
|
||||||
setenv IWA /share/cal_nightly/latest
|
setenv IWA /share/cal_nightly/latest
|
||||||
@@ -110,5 +111,5 @@ alias oasis_info $HOME/local_rh_x64/private/fw/bin/oasis_info
|
|||||||
#
|
#
|
||||||
# Aliases
|
# Aliases
|
||||||
#
|
#
|
||||||
|
alias cdw 'cd $HOME/devel/mg'
|
||||||
|
alias setmgchome 'source $HOME/devel/scripts/mg/setmgchome.csh'
|
||||||
|
|||||||
15
mg/setmgchome.csh
Normal file
15
mg/setmgchome.csh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/csh
|
||||||
|
|
||||||
|
if ( $1 != '' ) then
|
||||||
|
set DIR=`readlink -f $1`
|
||||||
|
else
|
||||||
|
set DIR=`pwd`
|
||||||
|
endif
|
||||||
|
|
||||||
|
setenv DWA $DIR
|
||||||
|
setenv VVCO $VCO-dbg
|
||||||
|
|
||||||
|
setenv MGC_HOME $DWA/ic/ic_superproj/$VVCO/Mgc_home
|
||||||
|
setenv MGC_BIN $MGC_HOME/bin
|
||||||
|
setenv PATH $MGC_BIN\:$PATH
|
||||||
|
|
||||||
Reference in New Issue
Block a user