Skip to content
This repository was archived by the owner on Oct 17, 2019. It is now read-only.

Commit 1b34d4a

Browse files
committed
Extraction of RORC and InfoLogger
1 parent fd40d70 commit 1b34d4a

File tree

235 files changed

+132
-34488
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+132
-34488
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ macro(PrintModuleName name)
3636
message(STATUS \n-------- ${name} --------)
3737
endmacro()
3838

39-
PrintModuleName("InfoLogger")
40-
add_subdirectory(InfoLogger)
4139
PrintModuleName("DataFormat")
4240
add_subdirectory(DataFormat)
4341
PrintModuleName("DataSampling")
@@ -48,8 +46,6 @@ PrintModuleName("QualityControl")
4846
add_subdirectory(QualityControl)
4947
PrintModuleName("QualityControlModules")
5048
add_subdirectory(QualityControlModules)
51-
PrintModuleName("RORC")
52-
add_subdirectory(RORC)
5349
PrintModuleName("Readout")
5450
add_subdirectory(Readout)
5551
PrintModuleName("GUI")

Control/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ ENDIF ()
6262
# Add compiler flags for warnings and (more importantly) fPIC and debug symbols
6363
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -fPIC")
6464

65-
link_o2_subproject(InfoLogger)
66-
6765
add_subdirectory(StateMachine)
6866
add_subdirectory(ControlFairMQ)
6967

Control/cmake/ControlDependencies.cmake

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ find_package(Git QUIET)
33
find_package(Zookeeper)
44
find_package(FairRoot)
55
find_package(Common REQUIRED)
6+
find_package(InfoLogger REQUIRED)
67

7-
## TODO this should relaly not be needed
8-
#FIND_LIBRARY(ZMQ_LIB zmq)
98
# TODO is it needed ?
109
if(BOOST_FOUND OR Boost_FOUND)
1110
set(BOOST_FOUND 1)
@@ -29,11 +28,13 @@ o2_define_bucket(
2928
pthread
3029
${Zookeeper_LIBRARIES}
3130
${Common_LIBRARIES}
31+
${InfoLogger_LIBRARIES}
3232

3333
SYSTEMINCLUDE_DIRECTORIES
3434
${Boost_INCLUDE_DIRS}
3535
${Zookeeper_INCLUDE_DIRS}
3636
${Common_INCLUDE_DIRS}
37+
${InfoLogger_INCLUDE_DIRS}
3738
)
3839

3940
o2_define_bucket(
@@ -54,11 +55,12 @@ o2_define_bucket(
5455

5556
DEPENDENCIES
5657
${Common_LIBRARIES}
57-
InfoLogger
5858
${Boost_LOG_LIBRARY}
5959
${Boost_THREAD_LIBRARY}
6060
${Boost_SYSTEM_LIBRARY}
61+
${Boost_PROGRAM_OPTIONS_LIBRARY}
6162
${FAIRROOT_LIBRARIES}
63+
${InfoLogger_LIBRARIES}
6264
pthread
6365
dl
6466

@@ -68,4 +70,5 @@ o2_define_bucket(
6870
${FAIRROOT_INCLUDE_DIR}
6971
${FAIRROOT_INCLUDE_DIR}/fairmq
7072
${Common_INCLUDE_DIRS}
73+
${InfoLogger_INCLUDE_DIRS}
7174
)

DataSampling/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -fPIC")
6464
set(MODULE_NAME "DataSampling")
6565

6666
link_o2_subproject(DataFormat)
67-
link_o2_subproject(InfoLogger)
6867

6968
O2_SETUP(NAME ${MODULE_NAME})
7069

DataSampling/cmake/DataSamplingDependencies.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
find_package(Boost 1.59 COMPONENTS thread system timer program_options random filesystem chrono exception regex serialization log log_setup unit_test_framework date_time REQUIRED)
22
find_package(FairRoot)
33
find_package(Common REQUIRED)
4+
find_package(InfoLogger REQUIRED)
45

56
if(FAIRROOT_FOUND)
67
# this should go away when fairrot provides a proper Find script or proper config scripts
@@ -23,13 +24,14 @@ o2_define_bucket(
2324
${Boost_SYSTEM_LIBRARY_DEBUG}
2425
${Boost_LOG_LIBRARY_DEBUG}
2526
${Boost_FILESYSTEM_LIBRARY}
26-
InfoLogger
2727
${Common_LIBRARIES}
2828
DataFormat
29+
${InfoLogger_LIBRARIES}
2930

3031
SYSTEMINCLUDE_DIRECTORIES
3132
${Boost_INCLUDE_DIRS}
3233
${Common_INCLUDE_DIRS}
34+
${InfoLogger_INCLUDE_DIRS}
3335
)
3436

3537
o2_define_bucket(

GUI/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ include(O2Utils)
2626
include(GuiDependencies)
2727
include(O2) # to be removed
2828

29-
link_o2_subproject(InfoLogger)
30-
3129
# Set the default build type to "RelWithDebInfo"
3230
if(NOT CMAKE_BUILD_TYPE)
3331
set(CMAKE_BUILD_TYPE "RelWithDebInfo"

GUI/cmake/GuiDependencies.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
find_package(Boost COMPONENTS unit_test_framework program_options log thread system REQUIRED)
22
find_package(Git QUIET)
33
find_package(ZeroMQ REQUIRED)
4+
find_package(InfoLogger REQUIRED)
5+
46
# because FindZeroMQ.cmake differs from system to system.
57
if(NOT ZeroMQ_INCLUDE_DIR)
68
set(ZeroMQ_INCLUDE_DIR ${ZEROMQ_INCLUDE_DIR})
@@ -23,11 +25,12 @@ o2_define_bucket(
2325

2426
DEPENDENCIES
2527
${ZeroMQ_LIBRARIES}
26-
InfoLogger
28+
${InfoLogger_LIBRARIES}
2729

2830
SYSTEMINCLUDE_DIRECTORIES
2931
${Boost_INCLUDE_DIRS}
3032
${ZeroMQ_INCLUDE_DIR}
33+
${InfoLogger_INCLUDE_DIRS}
3134
)
3235

3336
o2_define_bucket(
@@ -40,6 +43,7 @@ o2_define_bucket(
4043
${Boost_THREAD_LIBRARY}
4144
${Boost_LOG_LIBRARY}
4245
${Boost_SYSTEM_LIBRARY}
46+
${Boost_PROGRAM_OPTIONS_LIBRARY}
4347
pthread
4448
dl
4549

InfoLogger/.clang-format

Lines changed: 0 additions & 49 deletions
This file was deleted.

InfoLogger/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)