...
installation is described here. for the testbeam there is explicitely needed to install module module.
In case of problem with compilation of labview, following patch helped to make the corryvreckan compiled:
Code Block | ||||
---|---|---|---|---|
| ||||
-------------------------------- CMakeLists.txt --------------------------------
index 9f4fa2cc..f11e401a 100644
@@ -120,6 +120,10 @@ ENDIF()
###################################
# Prerequisistes for Corryvreckan #
###################################
+#set (THREADS_PREFER_PTHREAD_FLAG ON)
+FIND_PACKAGE(Threads REQUIRED)
+FIND_PACKAGE(OpenMP REQUIRED)
+FIND_PACKAGE(MPI REQUIRED )
# Define the libraries
SET(CORRYVRECKAN_LIBRARIES "")
@@ -176,9 +180,9 @@ ADD_RUNTIME_DEP(thisroot.sh)
###################################
# Set the clang-format version required by the CI for correct formatting:
-SET(CLANG_FORMAT_VERSION "10")
+SET(CLANG_FORMAT_VERSION "11")
# Set the clang-tidy version of the linter required by the CI:
-SET(CLANG_TIDY_VERSION "10")
+SET(CLANG_TIDY_VERSION "11")
# Set the source files to clang-format (FIXME: determine this better)
FILE(GLOB_RECURSE
------------------- src/modules/OnlineMonitor/CMakeLists.txt -------------------
index 46d97097..8ae1f40e 100644
@@ -11,7 +11,8 @@ IF(NOT ROOT_MACROS_FILE)
MESSAGE(WARNING "Cannot find ROOT macros, including generic file as fallback.")
INCLUDE(${ROOT_USE_FILE})
ELSE()
- INCLUDE(${ROOT_MACROS_FILE})
+ INCLUDE(${ROOT_USE_FILE})
+# INCLUDE(${ROOT_MACROS_FILE})
ENDIF()
# Generate the ROOT dictionary
-------------------------- src/objects/CMakeLists.txt --------------------------
index 246b7b6d..f2430f74 100644
@@ -12,7 +12,7 @@ IF(NOT ROOT_MACROS_FILE)
MESSAGE(WARNING "Cannot find ROOT macros, including generic file as fallback.")
INCLUDE("${ROOT_USE_FILE}")
ELSE()
- INCLUDE(${ROOT_MACROS_FILE})
+ INCLUDE("${ROOT_USE_FILE}")# INCLUDE(${ROOT_MACROS_FILE})
ENDIF()
# Generate the ROOT dictionary |
Code Block | ||
---|---|---|
| ||
mkdir build cd build cmake -DBUILD_EventLoaderEUDAQ2=ON -Deudaq_DIR=$PATH_TO_EUDAQ/install/cmake ../ make install |
...