-
Ulrich Schwickerath authoredUlrich Schwickerath authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
make_dellib 51.55 KiB
#! /usr/bin/perl -w
#
# This script replaces the dellib library creation scripts,
# created by Olof3 Barring and Jean-Damien Durand. The main
# reason for this rewrite is the dramatic change of the DELPHI
# computing environment since 1995...
#
# This script creates the same directory structure as the old
# procedure, but should be much lighter to use.
#
# Jan van Eldik, August 1999
#
# Main features:
# - every library verson is standalone. No more links to previous
# versions! This makes it easier to manipulate the versions,
# at the expense of some disk space
# - includes archiving on Castor
# - uses /tmp as temporary workspace, which recuperates some
# of the extra diskspace
# - one file creates all: dstana and delana (and delsim...)
# - supports OSF, Linux, HP and AIX
# - in case of file clash between different export areas,
# the youngest file is used
# - uses rsync to synchronize AFS and Delshift versions
#
# To do list:
#
# - DSTANA:
# - fix BLOCK DATA problems for dstana
#
# - DELANA:
#
# - DELSIM:
# - ignore ufield
# - LEP1 should be converted to nypatchy!!!! Currently only problem for "delsim" library
# - simrun36: file "richall.car" is very different between DELSIM and DELANA...
# call the SIM version now "richsim.car"
# - libmodsim: I get one routine more: "srdig1.o" from richall.car
# - replace the delphi version of COMIS by an additional graflib
# (delphi version is 95a version of comis)
#
###############################################################################################
#
# Cron jobs:
# the file ~dellib/cron/acron.jobs contains lines like these:
#
# # daily update of delana library tree in PRERELEASE version:
# 10 2 * * * dxplus /afs/cern.ch/user/v/vaneldik/linux/make_dellib -p delana -v prerelease -o all
# # daily update of a selection of files in $DELPHI_DAT:
# 00 21 * * * dxplus /afs/cern.ch/user/v/vaneldik/linux/make_dellib -p dstana -u all
# # hourly update of $DELPHI_DAT/FAT_GROU.NAMES:
# 01 * * * * dxplus /afs/cern.ch/user/v/vaneldik/linux/make_dellib -p dstana -u fatgrou
#
###############################################################################################
# Last Changes:
# 08/04/2016 US remove dependencies on AFS, support CC7
# 26/06/2009 US added support for SLC5 (32bit, gfortran compiler)
# 01/04/2006 US added support for SLC4 (i386 only)
# 31/01/2003 US database code unreadable now. Copied to tasks area and changed script
# 11/12/2002 US new platform: RH7.3
# 31/05/2002 US synchronisation with official 93d shortdst code
# 28/05/2002 US support for 96g
# 27/05/2002 US lots of code clean up, changed the default AFStopdir for delsim
# 23/04/2002 US several updates during last days for compilation with gfortran. switched source code
# for dstana for LEP1 versions to the standart directories
# 31/01/2002 US added switch to create data executables of delana for the event server
# 11/01/2002 US dropped IBMRT support. Phased out 1.1.2002
# 21/11/2001 US new version of ux put into usual export area, changed back
# added 97g simana
# 07/11/2001 US temporary new export area for ux