Skip to content

Commit c0605bd

Browse files
authored
Add structure for upgrades (#3702)
* Add structure for upgrades and disable upgrades by default
1 parent 70e566e commit c0605bd

6 files changed

Lines changed: 33 additions & 0 deletions

File tree

CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
/DataFormats/Detectors/TOF @noferini
4141
/DataFormats/Detectors/TPC @davidrohr @wiechula @shahor02
4242
/DataFormats/Detectors/TRD @jolopezl @bazinski @tdietel
43+
/DataFormats/Detectors/Upgrades @qgp @marcovanleeuwen
4344
/DataFormats/Detectors/ZDC @coppedis
4445

4546
#/DataFormats/Headers
@@ -66,6 +67,7 @@
6667
/Detectors/TOF @noferini
6768
/Detectors/TPC @davidrohr @wiechula @shahor02
6869
/Detectors/TRD @jolopezl @bazinski @tdietel
70+
/Detectors/Upgrades @qgp @marcovanleeuwen
6971
/Detectors/ZDC @coppedis
7072

7173
/EventVisualisation @jmyrcha @AliceO2Group/framework-admins

DataFormats/Detectors/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ add_subdirectory(ZDC)
2121
add_subdirectory(TRD)
2222
add_subdirectory(PHOS)
2323
add_subdirectory(CPV)
24+
25+
if(ENABLE_UPGRADES)
26+
add_subdirectory(Upgrades)
27+
endif()
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright CERN and copyright holders of ALICE O2. This software is distributed
2+
# under the terms of the GNU General Public License v3 (GPL Version 3), copied
3+
# verbatim in the file "COPYING".
4+
#
5+
# See http://alice-o2.web.cern.ch/license for full licensing information.
6+
#
7+
# In applying this license CERN does not waive the privileges and immunities
8+
# granted to it by virtue of its status as an Intergovernmental Organization or
9+
# submit itself to any jurisdiction.
10+
11+
message(STATUS "Building dataformats for upgrades")

Detectors/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ if(BUILD_SIMULATION)
4141
endif()
4242

4343
o2_data_file(COPY Geometry DESTINATION Detectors)
44+
45+
if(ENABLE_UPGRADES)
46+
add_subdirectory(Upgrades)
47+
endif()

Detectors/Upgrades/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright CERN and copyright holders of ALICE O2. This software is distributed
2+
# under the terms of the GNU General Public License v3 (GPL Version 3), copied
3+
# verbatim in the file "COPYING".
4+
#
5+
# See http://alice-o2.web.cern.ch/license for full licensing information.
6+
#
7+
# In applying this license CERN does not waive the privileges and immunities
8+
# granted to it by virtue of its status as an Intergovernmental Organization or
9+
# submit itself to any jurisdiction.
10+
11+
message(STATUS "Building detectors for upgrades")

cmake/O2DefineOptions.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ function(o2_define_options)
2828
# for the complete picture of how BUILD_SIMULATION is handled see
2929
# ../dependencies/O2SimulationDependencies.cmake
3030

31+
option(ENABLE_UPGRADES "Enable detectors for upgrades" OFF)
3132
endfunction()

0 commit comments

Comments
 (0)