forked from mcoquet642/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathO2RootMacroExclusionList.cmake
More file actions
77 lines (69 loc) · 3.79 KB
/
O2RootMacroExclusionList.cmake
File metadata and controls
77 lines (69 loc) · 3.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Copyright CERN and copyright holders of ALICE O2. This software is distributed
# under the terms of the GNU General Public License v3 (GPL Version 3), copied
# verbatim in the file "COPYING".
#
# See http://alice-o2.web.cern.ch/license for full licensing information.
#
# In applying this license CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization or
# submit itself to any jurisdiction.
include_guard()
include(O2GetListOfMacros)
#
# List of macros that are allowed (hopefully temporarily) to escape testing.
#
list(APPEND O2_ROOT_MACRO_EXCLUSION_LIST
Detectors/ITSMFT/ITS/macros/EVE/rootlogon.C
Detectors/ITSMFT/ITS/macros/test/rootlogon.C
Detectors/MUON/MCH/Simulation/macros/rootlogon.C
Detectors/Passive/macro/PutFrameInTop.C
Detectors/TPC/reconstruction/macro/addInclude.C
Detectors/TPC/reconstruction/macro/getTPCTransformationExample.C
Detectors/TRD/base/macros/OCDB2CCDB.C
Detectors/TRD/base/macros/OCDB2CCDBTrapConfig.C
Detectors/TRD/base/macros/Readocdb.C
Detectors/TRD/base/macros/PrintTrapConfig.C
Detectors/TRD/base/macros/ConvertRun2DigitsAndTracklets.C
Detectors/EMCAL/calib/macros/ReadTestBadChannelMap_CCDBApi.C
GPU/GPUTracking/Merger/macros/checkPropagation.C # Needs AliRoot AliExternalTrackParam
GPU/GPUTracking/Merger/macros/fitPolynomialFieldIts.C # Needs AliRoot AliMagF
GPU/GPUTracking/Merger/macros/fitPolynomialFieldTpc.C # Needs AliRoot AliMagF
GPU/GPUTracking/Merger/macros/fitPolynomialFieldTrd.C # Needs AliRoot AliMagF
GPU/GPUTracking/Standalone/tools/dump.C # Needs AliRoot ALiHLTSystem
GPU/GPUTracking/TRDTracking/macros/checkDbgOutput.C # Needs AliRoot TStatToolkit
GPU/TPCFastTransformation/alirootMacro/createTPCFastTransform.C # Needs AliTPCCalibDB
GPU/TPCFastTransformation/alirootMacro/generateTPCDistortionNTupleAliRoot.C # Needs AliTPCCalibDB
GPU/TPCFastTransformation/alirootMacro/initTPCcalibration.C # Needs AliTPCCalibDB
GPU/TPCFastTransformation/devtools/loadlibs.C # Special macro
GPU/TPCFastTransformation/alirootMacro/moveTPCFastTransform.C # Relies on initTPCcalibration.C
GPU/GPUTracking/TRDTracking/macros/run_trd_tracker.C # Not yet ready
Detectors/TOF/prototyping/ConvertRun2CalibrationToO2.C
Generators/share/external/hijing.C
Generators/share/external/QEDepem.C
macro/SetIncludePath.C
macro/loadExtDepLib.C
macro/load_all_libs.C
macro/putCondition.C
macro/rootlogon.C)
if(NOT BUILD_SIMULATION)
# some complete sub_directories are not added to the build when not building
# simulation, so the corresponding o2_add_test_root_macro won't be called at
# all
o2_get_list_of_macros(${CMAKE_SOURCE_DIR}/macro macros)
list(APPEND O2_ROOT_MACRO_EXCLUSION_LIST ${macros})
o2_get_list_of_macros(${CMAKE_SOURCE_DIR}/Detectors/gconfig macros)
list(APPEND O2_ROOT_MACRO_EXCLUSION_LIST ${macros})
list(APPEND O2_ROOT_MACRO_EXCLUSION_LIST Generators/share/external/QEDLoader.C)
list(APPEND O2_ROOT_MACRO_EXCLUSION_LIST Generators/share/egconfig/pythia8_userhooks_charm.C)
list(APPEND O2_ROOT_MACRO_EXCLUSION_LIST Generators/share/external/trigger_mpi.C)
endif()
if(NOT pythia6_FOUND)
list(APPEND O2_ROOT_MACRO_EXCLUSION_LIST Generators/share/external/pythia6.C)
endif()
list(REMOVE_DUPLICATES O2_ROOT_MACRO_EXCLUSION_LIST)
# check exclusion list contains only existing macros
foreach(m ${O2_ROOT_MACRO_EXCLUSION_LIST})
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/${m})
message(FATAL_ERROR "Exclusion list contains a non-existing macro : ${m}")
endif()
endforeach()