copy-Win2afs Overview
copy-Win2afs
runs cmt config, cmt build vsnet and copies all win32_vc71_dbg directories from Win32 to afs.
Usage
def help() :
print """Copies Win32 binaries below the current directory to the corresponding AFS location\n
Usage:
copy-Win2afs [options] \n
Options:
-o <directory>, --output <directory>
AFS directory where binaries will be copied if not the default.
Default is %GAUDISOFT% or %LHCBRELEASES%.\n
example:
C:\lhcb\DAVINCI\DAVINCI_v12r4
copy-Win2afs
will configure and copy , but not overwite, all %CMTCONFIG% to $LHCBRELEASES/DAVINCI/DAVINCI_v12r4 \n
copy-Win2afs -r
will configure and overwite, if any directory exists alkready on afs
copy-Win2afs -s
will not configure but copy
copy-Win2afs -o Z:\cern.ch\lhcb\software\DEV
will copy all %CMTCONFIG% to $LHCBDEV/DAVINCI/DAVINCI_v12r4
"""
sys.exit()
Full description
- %CMTCONFIG% directories will be copied from win32 to the equivalent location on AFS.
- by default, unless the -s option is present on the command line
- cmt config will be run on all packages on AFS
- cmt build vsnet will be run on all packages on AFS
- get the list of used packages by the Container package ( GaudiRelease or <Project>Sys ) requirements file.
- loop over used packages to copy the %CMTCONFIG% directory from win32 to AFS
- copy the InstallArea\%CMTCONFIG% from win32 to AFS
--
FlorenceRanjard - 30 Mar 2007