Commit 8f4261a8 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

removed CMT configuration files

and some related files
parent 1e8977e6
package Gaudi
version v27r1
branches doc cmt
use GaudiSys *
# Provide the processing module to be able to run gaudi parallel.
use pytools * LCG_Interfaces -no_auto_imports
apply_pattern ProjectVersionHeader
apply_pattern install_scripts
apply_pattern install_python_modules
set GAUDIEXE $(GAUDIROOT)/$(tag)/Gaudi.exe \
GAUDI_with_installarea $(Gaudi_cmtpath)/$(GAUDI_installarea_prefix)/$(tag)/bin/Gaudi.exe
# don't need to put the full path for the executable
# they are on the path
alias Gaudi "Gaudi.exe"
alias GaudiRun "gaudirun.py"
private
application Gaudi main.cpp
path_remove JOBOPTSEARCHPATH "/Gaudi/" target-winxp "\Gaudi\"
path_prepend JOBOPTSEARCHPATH "$(GAUDIROOT)/options" target-winxp "$(GAUDIROOT)\options"
apply_pattern QMTest
path_prepend JOBOPTSEARCHPATH "" \
QMTest&target-winxp "$(GAUDIROOT)\tests\pyjobopts" \
QMTest "$(GAUDIROOT)/tests/pyjobopts"
path_prepend PYTHONPATH "" \
QMTest&target-winxp "$(GAUDIROOT)\tests\python" \
QMTest "$(GAUDIROOT)/tests/python"
# =============================================================================
package GaudiAlg
version v17r1
# ============== structure ====================================================
branches GaudiAlg src cmt doc
# ============== dependencies =================================================
use GaudiKernel *
use GaudiUtils *
use ROOT * LCG_Interfaces
use AIDA * LCG_Interfaces -no_auto_imports
use Boost * LCG_Interfaces -no_auto_imports
# ============== own includes =================================================
apply_pattern install_more_includes more="GaudiAlg"
# ============== constituents =================================================
library GaudiAlgLib lib/*.cpp -import=AIDA -import=Boost -no_static
library GaudiAlg components/*.cpp -import=AIDA -import=Boost -no_static
# ============== patterns =====================================================
apply_pattern linker_library library="GaudiAlgLib"
apply_pattern component_library library="GaudiAlg"
private
macro_append Boost_linkopts " $(Boost_linkopts_regex) "
end_private
package GaudiAud
version v10r5
branches doc src cmt
use GaudiKernel *
# component library
library GaudiAud ../src/*.cpp -no_static
apply_pattern component_library library=GaudiAud
apply_pattern QMTest
# ============================================================================
# Created : 2011-10-31
# Maintainer : Marco Clemencic
# ============================================================================
package GaudiCommonSvc
version v4r1
# ============================================================================
# Structure, i.e. directories to process.
# ============================================================================
branches doc src cmt
# ============================================================================
# Used packages. Specify the version, * at the end specifies 'any revision'
# Put as many lines as needed, with all packages, without the '#'
# ============================================================================
use GaudiKernel *
use AIDA * LCG_Interfaces -no_auto_imports
use Boost * LCG_Interfaces -no_auto_imports
use ROOT * LCG_Interfaces -no_auto_imports
include_path none
# ============================================================================
# Component library building rule
# ============================================================================
library GaudiCommonSvc -no_static -import=AIDA -import=Boost -import=ROOT \
DataSvc/*.cpp \
HistogramSvc/*.cpp \
PersistencySvc/*.cpp \
*.cpp
# ============================================================================
# define component library link options
# ============================================================================
apply_pattern component_library library=GaudiCommonSvc
private
macro_append Boost_linkopts " $(Boost_linkopts_system) $(Boost_linkopts_filesystem) $(Boost_linkopts_thread) $(Boost_linkopts_regex)"
macro_append ROOT_linkopts " -lHist" \
target-winxp " libHist.lib" \
target-mac104 " -lHist"
end_private
# ============================================================================
# Created : 2011-10-31
# Maintainer : Marco Clemencic
# ============================================================================
package GaudiCoreSvc
version v4r1
# ============================================================================
# Structure, i.e. directories to process.
# ============================================================================
branches doc src cmt
# ============================================================================
# Used packages. Specify the version, * at the end specifies 'any revision'
# Put as many lines as needed, with all packages, without the '#'
# ============================================================================
use GaudiKernel *
use Boost * LCG_Interfaces -no_auto_imports
use Python * LCG_Interfaces
use tbb * LCG_Interfaces
use ROOT * LCG_Interfaces -no_auto_imports
include_path none
# ============================================================================
# Component library building rule
# ============================================================================
library GaudiCoreSvc -no_static -import=Boost -import=tbb -import=ROOT \
ApplicationMgr/*.cpp \
EventSelector/*.cpp \
IncidentSvc/*.cpp \
JobOptionsSvc/*.cpp \
MessageSvc/*.cpp
# ============================================================================
# define component library link options
# ============================================================================
# equivalent to apply_pattern component_library, except for the genconf part
apply_pattern libraryShr library=GaudiCoreSvc
apply_pattern library_Cshlibflags library=GaudiCoreSvc
apply_pattern generate_componentslist library=GaudiCoreSvc
path_append LD_LIBRARY_PATH "${tbb_home}/lib"
# this pattern is applied instead of "generate_configurables" to
# avoid infinite recursion.
apply_pattern generate_configurables_internal library=GaudiCoreSvc
private
# Select the specific Boost libraries
macro_append Boost_linkopts " $(Boost_linkopts_system) $(Boost_linkopts_filesystem) $(Boost_linkopts_regex) $(Boost_linkopts_thread) $(Boost_linkopts_python)"
apply_pattern PackageVersionHeader where="../$(tag)"
include_dirs "../$(tag)"
macro_append GaudiCoreSvc_dependencies " PackageVersionHeader "
end_private
macro_append GaudiCoreSvc_linkopts " -lrt "
package GaudiExamples
version v27r1
use ROOT * LCG_Interfaces
use RELAX * LCG_Interfaces -no_auto_imports
use AIDA * LCG_Interfaces
use Gaudi *
apply_pattern use_unless pkg=GaudiPartProp tag=ATLAS ver="*" opt="-no_auto_imports"
use PartPropSvc * -no_auto_imports
use GaudiPython * -no_auto_imports
use GaudiGSL *
use RootHistCnv * -no_auto_imports
apply_pattern use_unless pkg=RootCnv tag=ATLAS ver="*" opt="-no_auto_imports"
use Boost * LCG_Interfaces
use HepPDT * LCG_Interfaces
apply_pattern install_more_includes more=GaudiExamples
library GaudiExamplesLib -no_static Lib/*.cpp
macro GaudiExamples_src "AbortEvent/*.cpp \
AlgSequencer/*.cpp \
AlgTools/*.cpp \
DataOnDemand/*.cpp \
AlgErrAud/*.cpp \
GSLTools/*.cpp \
RandomNumber/*.cpp \
Histograms/*.cpp \
NTuples/*.cpp \
TupleEx/*.cpp \
CounterEx/*.cpp \
PartProp/*.cpp \
Properties/*.cpp \
ExtendedProperties/*.cpp \
IO/*.cpp \
ColorMsg/ColorMsgAlg.cpp \
History/History.cpp \
THist/*.cpp \
ErrorLog/ErrorLogTest.cpp \
EvtColsEx/EvtColAlg.cpp \
Maps/*.cpp \
MultipleLogStreams/*.cpp \
GaudiCommonTests/*.cpp \
IncidentSvc/*.cpp \
bug_34121/*.cpp \
Auditors/*.cpp \
Timing/*.cpp \
Selections/*.cpp \
SvcInitLoop/*.cpp \
StringKeys/*.cpp \
StatusCodeSvc/*.cpp \
FileMgr/*.cpp \
testing/*.cpp \
IntelProfiler/*.cpp \
PluginService/*.cpp "
macro_append GaudiExamples_src " MultiInput/*.cpp " \
ATLAS ""
library GaudiExamples -no_static ${GaudiExamples_src}
apply_pattern reflex_dictionary dictionary=GaudiExamples \
headerfiles=$(GAUDIEXAMPLESROOT)/src/IO/dict.h \
selectionfile=$(GAUDIEXAMPLESROOT)/src/IO/dict.xml \
options=" $(includes) "
macro GaudiExamplesDict_use_linkopts $(use_linkopts)
apply_pattern install_python_modules
#==> Gaudi with multiple threads
# commented out since it shall not link GaudiSvc
# application GaudiMT GaudiMT/GaudiMTMain.cpp \
# GaudiMT/MTEventLoopMgr.cpp \
# GaudiMT/MTMessageSvc.cpp \
# GaudiMT/MTHelloWorld.cpp \
# GaudiMT/GaudiMTExample_load.cpp \
# GaudiMT/GaudiMTExample_entry.cpp
#macro GaudiMT_cppflags " -I$(GAUDISVCROOT) " # needs to have access to "internal" header files
#macro_append GaudiMTlinkopts " -L$(GAUDISVCROOT)/$(tag) -lGaudiSvc -lpthread "
#macro_remove constituents "" target-winxp "GaudiMT" # not working on Windows
application Allocator Allocator/*.cpp
macro_append Allocator_dependencies GaudiExamples
#-------Options------------------------------------------------------------------
apply_pattern application_path
set STDOPTS ${GAUDIEXAMPLESROOT}/options
path_append JOBOPTSEARCHPATH "/NONEXISTINGDIR"
path_append JOBOPTSEARCHPATH ${GAUDIEXAMPLESROOT}/options
private
#apply_pattern component_library library=GaudiMTExample
apply_pattern linker_library library=GaudiExamplesLib
apply_pattern component_library library=GaudiExamples
macro_append ROOT_linkopts " -lHist " \
target-winxp " libHist.lib " \
target-mac104 " -lHist -lMatrix "
macro_append ROOT_linkopts "" \
ROOT_GE_5_15&target-mac104 " -lNet "
#------------------------------------------------------------------------------
# Create a python binary module
# -----------------------------
use Python * LCG_Interfaces -no_auto_imports
apply_pattern pyd_boost_module module=PyExample files=PythonModule/*.cpp
# we do not need/want to link the module against the package library
macro_remove PyExample_use_linkopts '$(GaudiExamples_linkopts)'
# otherwise we should have used
# apply_pattern pyd_boost_module module=PyExample files=PythonModule/*.cpp deps=GaudiExamplesLib
#------------------------------------------------------------------------------
apply_pattern QMTest
path_prepend PYTHONPATH "" \
QMTest "${GAUDIEXAMPLESROOT}/tests/qmtest"
# =============================================================================
# Created : 29/04/2002
# Maintainer : Vanya Belyaev Ivan.Belyaev@itep.ru
# =============================================================================
package GaudiGSL
version v9r2
# =============== package structure ===========================================
branches cmt doc src dict GaudiGSL GaudiMath
# =============== explicit dependencies =======================================
use GaudiKernel *
use GaudiAlg *
use GSL * LCG_Interfaces
use CLHEP * LCG_Interfaces
use AIDA * LCG_Interfaces -no_auto_imports
# =============== own includes (for interfaces only!) =========================
apply_pattern install_more_includes more=GaudiGSL offset=GaudiMath
# =============== constitutuents: 1) linker library ===========================
library GaudiGSLLib -import=AIDA -no_static ../src/Lib/*.cpp
apply_pattern linker_library library=GaudiGSLLib
# =============== constitutuents: 2) component library ========================
# library GaudiGSL -import=AIDA -no_static ../src/Components/*.cpp
# apply_pattern component_library library=GaudiGSL
# =============== constitutuents: 3) LCG dictonary ============================
apply_pattern reflex_dictionary dictionary=GaudiGSLMath \
headerfiles=$(GAUDIGSLROOT)/dict/GaudiGSLMath.h \
selectionfile=$(GAUDIGSLROOT)/dict/GaudiGSLMath.xml \
options="--split --reflex"
macro_prepend GaudiGSLMathDict_shlibflags " $(GaudiGSL_linkopts) "
# ==================== test application =======================================
private
apply_pattern application_path
application ExceptionsTest -check -group=tests Tests/ExceptionsTest.cpp
macro_prepend ExceptionsTestlinkopts " $(GaudiGSL_linkopts) $(use_linkopts) "
application DerivativeTest -check -group=tests Tests/DerivativeTest.cpp
macro_prepend DerivativeTestlinkopts " $(GaudiGSL_linkopts) $(use_linkopts) "
application SimpleFuncTest -check -group=tests Tests/SimpleFuncTest.cpp
macro_prepend SimpleFuncTestlinkopts " $(GaudiGSL_linkopts) $(use_linkopts) "
application IntegralInTest -check -group=tests Tests/IntegralInTest.cpp
macro_prepend IntegralInTestlinkopts " $(GaudiGSL_linkopts) $(use_linkopts) "
application Integral1Test -check -group=tests Tests/Integral1Test.cpp
macro_prepend Integral1Testlinkopts " $(GaudiGSL_linkopts) $(use_linkopts) "
application 2DoubleFuncTest -check -group=tests Tests/2DoubleFuncTest.cpp
macro_prepend 2DoubleFuncTestlinkopts " $(GaudiGSL_linkopts) $(use_linkopts) "
application 3DoubleFuncTest -check -group=tests Tests/3DoubleFuncTest.cpp
macro_prepend 3DoubleFuncTestlinkopts " $(GaudiGSL_linkopts) $(use_linkopts) "
application PFuncTest -check -group=tests Tests/PFuncTest.cpp
macro_prepend PFuncTestlinkopts " $(GaudiGSL_linkopts) $(use_linkopts) "
application InterpTest -check -group=tests Tests/InterpTest.cpp
macro_prepend InterpTestlinkopts " $(GaudiGSL_linkopts) $(use_linkopts) "
application GSLAdaptersTest -check -group=tests Tests/GSLAdaptersTest.cpp
macro_prepend GSLAdaptersTestlinkopts " $(GaudiGSL_linkopts) $(use_linkopts) "
# Note: libgslcblas is needed by libgsl, but the link is missing.
macro_prepend GSL_linkopts " -Wl,--no-as-needed " \
target-darwin "" \
target-winxp ""
macro_append GSL_linkopts " -Wl,--as-needed " \
target-darwin "" \
target-winxp "" \
target-icc ""
# Note: we pass only "--no-as-needed" to icc because the icc linker seems not
# to understand positional arguments, so the last of "--as-needed" or
# "--no-as-needed" wins.
# =============================================================================
# The END
# =============================================================================
package GaudiHive
version v2
use ROOT * LCG_Interfaces
use Boost * LCG_Interfaces
use tbb * LCG_Interfaces
use GaudiAlg *
library GaudiHive -import=Boost -import=tbb -no_static ../src/*.cpp
apply_pattern component_library library=GaudiHive
macro_append Boost_linkopts ' $(Boost_linkopts_graph) ${Boost_linkopts_thread} ${Boost_linkopts_system} '
macro_append GaudiHive_use_linkopts " -lrt "
include_dirs $(GAUDIHIVEROOT)
package GaudiKernel
version v33r1
author "LHCb Gaudi Team"
branches GaudiKernel cmt doc src
private
# genconfuser.py cannot be used in GaudiKernel
# Note: the tag must be set before including GaudiPolicy
apply_tag skip_genconfuser
end_private
use GaudiPolicy *
use GaudiPluginService *
use Reflex * LCG_Interfaces
use Boost * LCG_Interfaces
use tbb * LCG_Interfaces
apply_pattern install_more_includes more=GaudiKernel
#-----Linker library
library GaudiKernel -no_static Lib/*.cpp
apply_pattern linker_library library=GaudiKernel
apply_pattern ld_library_path
apply_pattern install_scripts
apply_pattern install_python_modules
#-----Dictionary generation
apply_pattern reflex_dictionary dictionary=GaudiKernel \
headerfiles=$(GAUDIKERNELROOT)/dict/dictionary.h \
selectionfile=$(GAUDIKERNELROOT)/dict/dictionary.xml
macro GaudiKernelDict_use_linkopts $(use_linkopts)
# MCl: ensure that the headers are installed before the build of the dictionary (should not be needed)
macro_append GaudiKernelGen_dependencies "install_more_includes"
#-----Generate Configurables
macro genconfig_cmd $(GAUDIKERNELROOT)/$(tag)/genconf.exe \
GAUDI_with_installarea genconf.exe \
GAUDIATLAS_with_installarea genconf.exe
private
macro Boost_linkopts_log " -lboost_log-$(Boost_compiler_version)-mt-$(Boost_debug)$(Boost_file_version) "
macro Boost_linkopts_log_setup " -lboost_log_setup-$(Boost_compiler_version)-mt-$(Boost_debug)$(Boost_file_version) "
application genconf -import=Boost Util/genconf.cpp
macro_append genconflinkopts "-ldl $(GaudiKernel_linkopts) $(Boost_linkopts) $(Boost_linkopts_filesystem) $(Boost_linkopts_regex) $(Boost_linkopts_program_options) $(Boost_linkopts_log) $(Boost_linkopts_log_setup)"
macro_append genconf_pp_cppflags "-DBOOST_LOG_DYN_LINK"
macro genconf_dependencies GaudiKernel
# FIXME: (MCl) I do not understand why genconf gets the CppUnit link options,
# but it happens, so I have to explicitly remove them.
macro_remove genconflinkopts "$(CppUnit_linkopts)"
macro_append cppflags "" \
target-linux " -pedantic -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-long-long " \
target-darwin "" \
target-winxp ""
## For Gaudi::Sleep and Gaudi::NanoSleep
macro_append Boost_linkopts ' $(Boost_linkopts_thread) $(Boost_linkopts_date_time)'
## For DirSearchPath
macro_append Boost_linkopts ' $(Boost_linkopts_system) $(Boost_linkopts_filesystem) '
## For AttribStringParser
macro_append Boost_linkopts ' $(Boost_linkopts_regex) '
application DirSearchPath_test -group=tests ../tests/src/DirSearchPath_test.cpp
application PathResolver_test -group=tests ../tests/src/PathResolver_test.cpp
application Memory_test -group=tests ../tests/src/Memory_test.cpp
application Parsers_test -group=tests ../tests/src/parsers.cpp
use CppUnit * LCG_Interfaces -no_auto_imports
application test_SerializeSTL -group=tests -import=CppUnit \
../tests/src/test_SerializeSTL.cpp
# FIXME: (MCl) this hides warnings from a broken header file in CppUnit, but may
# hide problems in the actual test source.
macro_append app_test_SerializeSTL_cppflags ' -Wno-unused-parameter ' \
no-hide-warnings '' \
target-winxp '' \
target-icc ''
application test_GaudiTime -group=tests -import=CppUnit \
../tests/src/test_GaudiTime.cpp
# FIXME: (MCl) this hides warnings from a broken header file in CppUnit, but may
# hide problems in the actual test source.
macro_append app_test_GaudiTime_cppflags ' -Wno-unused-parameter ' \
no-hide-warnings '' \
target-winxp '' \
target-icc ''
application test_GaudiTiming -group=tests -import=CppUnit \
../tests/src/test_GaudiTiming.cpp
# FIXME: (MCl) this hides warnings from a broken header file in CppUnit, but may
# hide problems in the actual test source.
macro_append app_test_GaudiTiming_cppflags ' -Wno-unused-parameter ' \
no-hide-warnings '' \
target-winxp '' \
target-icc ''
application test_headers_build -group=tests ../tests/src/test_headers_build.cpp
# FIXME: (MCl) hides the warning due to hidden virtual functions in the __shadow__ classes
# generated in the dictionaries.
# On Windows hides warning C4996 (security-related warning)
macro_append dictionary_dict_cpp_cppflags ' -Wno-overloaded-virtual ' no-hide-warnings '' target-winxp ' -D_SCL_SECURE_NO_WARNINGS'
macro_append GaudiKernel_arflags " /expectedoutputsize:1000000000 "
apply_pattern QMTest
end_private
package GaudiMP
version v3r5
branches GaudiMP cmt doc src dict python scripts
use GaudiKernel *
use GaudiAlg *
use GaudiPython * -no_auto_imports
use Python * LCG_Interfaces -no_auto_imports
use ROOT * LCG_Interfaces -no_auto_imports
use Boost * LCG_Interfaces -no_auto_imports
apply_pattern install_more_includes more=GaudiMP
apply_pattern install_python_modules
apply_pattern install_scripts
#-------Applications and Libraries-----------------------------------------------
library GaudiMPLib Lib/*.cpp -import=Python -import=ROOT -import=Boost -no_static
apply_pattern linker_library library=GaudiMPLib
library GaudiMP component/*.cpp -import=Python -import=ROOT -import=Boost -no_static
apply_pattern component_library library=GaudiMP
#-------LCG Dictionaries---------------------------------------------------------
apply_pattern reflex_dictionary dictionary=GaudiMP \
headerfiles=$(GAUDIMPROOT)/dict/gaudimp_dict.h \
selectionfile=../dict/selection.xml \
options="--no_templatetypedefs -I$(Python_inc)" \
imports="Python -import=ROOT"
#--------------------------------------------------------------------------------
private
macro GaudiMP_PyROOT_linkopts " -L$(ROOT_home)/lib -lPyROOT"
macro_append GaudiMP_linkopts " $(GaudiMP_PyROOT_linkopts)"
macro_append GaudiMP_linkopts " $(Boost_linkopts_system) $(Boost_linkopts_filesystem) $(Boost_linkopts_regex) $(Boost_linkopts_thread)"
#--------------------------------------------------------------------------------
# The rootmap name we have to use depends on the version of ROOT: ROOT 5.14 (LCG <= 53*) and ROOT 5.15 (LCG >= 54)
macro rootmap_name "rootmap" ROOT_GE_5_15 "reflex.rootmap"
# macro test_GPyTest_rootmap $(GAUDIPYTHONROOT)/$(tag)/$(rootmap_name) \
# GAUDI_with_installarea $(CMTINSTALLAREA)/$(tag)/lib/$(rootmap_name) \
# GAUDIATLAS_with_installarea $(CMTINSTALLAREA)/$(tag)/lib/$(rootmap_name)
end_private
# ============================================================================
# Created : 2012-01-25
# Maintainer : Illya Shapoval
# ============================================================================
package GaudiMTTools
version v1r2
# ============================================================================
# Structure, i.e. directories to process.
# ============================================================================
branches doc src cmt
# ============================================================================
# Used packages. Specify the version, * at the end specifies 'any revision'
# Put as many lines as needed, with all packages, without the '#'
# ============================================================================
use GaudiAlg v*
use Boost v* LCG_Interfaces -no_auto_imports
include_path none
# ============================================================================
# Component library building rule
# ============================================================================
library GaudiMTTools -import=Boost -no_static *.cpp
# ============================================================================
# define component library link options
# ============================================================================
apply_pattern component_library library=GaudiMTTools
private
macro_append Boost_linkopts ' $(Boost_linkopts_thread) $(Boost_linkopts_system) '
end_private
# ============================================================================