Add structure for upgrades#3702
Conversation
|
Fine to me, I'd just make the CI to test the code, as long as we don't have strong reasons to believe this is slowing down too much the process. |
That is why I made the |
Ah, actually I didn't see that. Perhaps that is not ideal, since all people will build with it without even knowing. |
Sorry, I did. Looks good. |
|
Ok, it seems @mconcas wants the default to be Either way, I think it would be good if the CI covers both cases. Where do we have to configure that? |
| # for the complete picture of how BUILD_SIMULATION is handled see | ||
| # ../dependencies/O2SimulationDependencies.cmake | ||
|
|
||
| option(ENABLE_UPGRADES "Enable detectros for upgrades" ON) |
|
It's ok for me. Consistent with what @mconcas has in his branch. |
|
IMO the ENABLE_UPGRADES should be OFF by default. That might not matter much now that we are not yet in production (even though it will slow down an already not-really-fast build a bit or a lot depending on what goes into the Upgrades subdirectory...) , but soon my feeling is that we won't want to risk breaking a release or loosing time debugging one for detectors that are not actually part of data taking. |
- fix typo
|
Ok, so let's not build the upgrades by default, it doesn't take much to enable them for those affected. Once this PR has converged, I can take of the changes in NB: In addition, typo fixed and messages added that upgrades are built. |
|
Perhaps a dedicated builder should be added, when we will have more to test rather than just the compilation, depending also on CI available resources. |
|
I would add more builders only if we have more CI resources. |
|
Do we have any outstanding issues here? If not, can we merge this, please, so that we can then also move on with #3699? |
@ktf @davidrohr @mconcas @mpuccio @marcovanleeuwen
As discussed some time ago, introduction of
Upgradesdirectory to contain evolving detectors for future upgrades (s.a. ITS3, FoCal, post-LS4, ...). Please comment if this looks fine to you or if you'd prefer to handle this differently