-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable event builder #1414
Disable event builder #1414
Conversation
Can you please change the CI script as well, so that we still build this stuff in our CI builds? (we should still build it there, to make sure it does not break, as long, as we still have it) --- a/FairRoot_build_test.cmake
+++ b/FairRoot_build_test.cmake
@@ -1,5 +1,5 @@
################################################################################
-# Copyright (C) 2021-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
+# Copyright (C) 2021-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
# #
# This software is distributed under the terms of the #
# GNU Lesser General Public Licence (LGPL) version 3, #
@@ -50,6 +50,9 @@ endif()
if ((NOT DEFINED BUILD_PROOF_SUPPORT) OR BUILD_PROOF_SUPPORT)
list(APPEND options "-DBUILD_PROOF_SUPPORT=ON")
endif()
+if ((NOT DEFINED BUILD_EVENT_BUILDER) OR BUILD_EVENT_BUILDER)
+ list(APPEND options "-DBUILD_EVENT_BUILDER=ON")
+endif()
if (USE_CLANG_TIDY)
list(APPEND options "-DCMAKE_CXX_CLANG_TIDY=clang-tidy")
endif() |
b2b5f28
to
21b0f69
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Loogs good to me.
21b0f69
to
6c7bbda
Compare
CHANGELOG.md
Outdated
@@ -75,6 +75,9 @@ file an issue, so that we can see how to handle this. | |||
* Proof was deprecated by ROOT | |||
* The affected code in FairRoot is disabled by default now | |||
* It can still be enabled with `-DBUILD_PROOF_SUPPORT=ON`. | |||
* Deprecated FairEventBuilder and FairEventBuilderManager | |||
* The funcionality, introduced to enable event reconstruction, is not used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* The funcionality, introduced to enable event reconstruction, is not used. | |
* The functionality, introduced to enable event reconstruction, is not used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
The classes `FairEventBuilder` and `FairEventBuilderManager`, originally introduced to enable event reconstruction in time-based mode seem not to be used by any experiment. Therefore, implemented `BUILD_EVENT_BUILDER` flag in preparation to disable them.
It can still be enabled with `BUILD_EVENT_BUILDER=ON`
6c7bbda
to
96c3b2d
Compare
Introduced
BUILD_EVENT_BUILDER
flag, that allowsdisabling build of
FairEventBuilder
andFairEventBuilderManager
classes.Set it to
OFF
.Consequence of discussion in PR #1406.
Checklist: