Opened 18 years ago

Closed 17 years ago

#28 closed Feature request (fixed)

Extent cmt/project.cmt file syntax/grammar

Reported by: garonne <garonne@…> Owned by: arnault
Priority: high Milestone:
Component: a. Usage Version:
Severity: normal Keywords:
Cc: OS: All
If Other, could you precise: Experiment: Atlas
If Other, could you precise:
Stack trace:
Steps to reproduce:

Description (last modified by /C=FR/O=CNRS/OU=UMR8607/CN=Vincent Garonne/emailAddress=garonne@…)

The particular motivation for this came from LCGCMT, where LHCb wish to install it at CERN within an InstallArea, whereas ATLAS does. Currently this implies two separate installations, but the ability to do something like:

macro use_strategy "LHCb" without_installarea "ATLAS" with_installarea
build_strategy $(use_strategy)
private
...

or

project GEANT4
  build_strategy with_installarea
  setup_strategy root
  private
  use GAUDI GAUDI_v16r3

Dans ce projet GAUDI n'est utilisé que pour obtenir la version de CLHEP et les flags de compilation

Change History (3)

comment:1 Changed 18 years ago by anonymous

Summary: Extent cmt/project.cmt fileExtent cmt/project.cmt file syntax/grammar

comment:2 Changed 18 years ago by /C=FR/O=CNRS/OU=UMR8607/CN=Vincent Garonne/emailAddress=garonne@…

Description: modified (diff)
Experiment: Atlas
OS: All

comment:3 Changed 17 years ago by /C=FR/O=CNRS/OU=UMR8607/CN=Vincent Garonne/emailAddress=garonne@…

Resolution: fixed
Status: newclosed

This is actually implemented and should be available for the v1r20 version.

An example of project file could be:

project Project

author garonne

container container v1

# Policy definitions used by all packages belonging to this project
tag ATLAS
#apply_tag ATLAS

macro use_build_strategy "without_installarea" \
                   ATLAS "with_installarea"

macro use_setup_strategy "no_root" \
                   ATLAS "root"

macro use_structure_strategy "with_version_directory" \
                       ATLAS "without_version_directory"
                                              
build_strategy     $(use_build_strategy)
setup_strategy     $(use_setup_strategy)
structure_strategy $(use_structure_strategy)


Note: See TracTickets for help on using tickets.