Comments (2)
I suggest to handle the checks already in the top level CMakeLists.txt accompanied with a descriptive fatal error, e.g. GTest is required for BUILD_TESTING. This can guide much faster to the underlying problem.
I agree and will definitely keep your suggestion in mind if I have any say in the next round of cmake patches ;) But I feel I am stepping on too many toes at the moment with changing the way things are..
IMHO FairRoot's mixture of BUILD_*
, *_BUILD
and WITH_*
switches as well as the conditional automatic switches depending on *_FOUND
and other things needs refactoring, streamlining and more documentation. Unfortunately, there are many opinions on this topic. See #511 for some recent discussion with @ktf. I don't even know @fuhlig1's opinion yet.
The rationale behind my last cmake cleanup in the patchset you mentioned is simple: I did not want to touch too much outside of the fairmq
submodule yet until I understand the full picture (e.g. I do not like that FairMQ is only built as a side effect as well as the nanomsg transport), but I needed some changes/fixes for my current work.
from fairroot.
Hi Denis,
good, considered the discussion in #511, this issue here is a duplicate. The title should have alerted me already. Closing.
Ciao
Matthias
from fairroot.
Related Issues (20)
- CMake 3.27 support not working due to deprecation of Dart HOT 6
- Modernize `<DartMeasurement>` tags to `<CTestMeasurement>`
- Problem with running jobs for FairMuone HOT 6
- FairRoot v18.8.1 not working with FairSoft jan24 release HOT 4
- Geant3 quite broken on (our CI) macOS HOT 2
- ERROR CMAKE FAIRROOT MACOS 14 (SONOMA) HOT 5
- ERRORS WITH DEFINE ENVIRONMENT VARIABLES AT cmake -DCMAKE... Sonoma 14.2 HOT 4
- `FairModule::AddSensitiveVolume` searches volume set twice
- Sink closed before generator finalizes HOT 3
- Adopt latest FairMQ APIs
- Update CI matrix HOT 1
- `flatc: warning: field names should be lowercase snake_case`
- cling fatal error: module file not found HOT 2
- Fixing Geoloader leak probably introduced new bugs HOT 4
- CI: Refine jenkins `clang-tidy` analyzer
- `warning: 'virtual bool FairTimeStamp::operator<(const FairTimeStamp*) const' was hidden [-Woverloaded-virtual=]`
- RPATH resolution sometimes broken when linking against `FairRoot::FastSim` HOT 7
- Further cleanup ascii geometry related classes
- Make install tree FHS compliant
- Document `clang-format` version used by our CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fairroot.