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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2007-05-03 - FlorenceRanjard
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback