-
Notifications
You must be signed in to change notification settings - Fork 2
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
Build against daq buildtools v1.2.x #6
Build against daq buildtools v1.2.x #6
Conversation
…tibility since true path is now in the parent superproject CMakeLists.txt file
JCF: get listrev to work with daq-buildtools' Issue 28, multi-reposit…
Adapt to schema-based config
…nt head of the daq-buildtools' develop branch, as opposed to the most recent frozen release of daq-buildtools
I have followed the instructions for Compiling and running under v1.2.1, added the listrev repo underneath the sourcecode directory, and successfully built all of the software packages. I see that the 'Compiling and Running' instructions say that the old command for running a DAQProcess needs to be updated, but they don't suggest a new command. Should the approval of this PR include a verification that the listrev apps can be run? Something else that I noticed: the JSON files from listrev/test aren't installed anywhere. Is that expected? (In earlier versions of some packages, we copied the JSON files to a build or install directory, I think.) |
Thanks for the comments.
|
Just some more info related to:
The code and README of this package shows one approach: https://github.com/brettviren/dune-daq-repl This can do similar to talk to the REST server command facility but as of now it talks to the After one small fix which I need to PR to |
Hi, In my current testing, I'm using the "Compiling and Running under v1.2.1" instructions.
|
|
I noticed that the "reasonable defaults" were removed from RandomDataListGenerator, and that seems unfortunate to me. I would like to learn more about how parameters can be allowed to be optional in the "job" JSON, and it seems like the 'reasonable defaults' could have been part of demonstrating how that is done... |
Hi @bieryAtFnal I think you refer to the two values set here: https://github.com/DUNE-DAQ/listrev/blob/master/src/RandomDataListGenerator.hpp#L64 They are moved into the schema as default values for specific fields in a record: https://github.com/brettviren/listrev/blob/config-proto/schema/listrev-rdlg-schema.jsonnet#L13 These should show up as default values set in the definition of the C++ struct: https://github.com/brettviren/listrev/blob/config-proto/src/rdlg/Structs.hpp#L25 However, clearly they are not there. This was working at some point so I must have introduced some regression. I'll fix it through: Thanks for finding this! |
Hi @brettviren , I'm starting to build up an understanding of the different default values for parameters in the code generation model.
|
Yes, I think you have the picture.
|
Out of curiosity, what is the daq-buildtools function to build a second or third source code library in a package? I see that daq_add_library() should be used to "produce the main library provided by a project", but what if a package would like to produce several non-plugin libraries? |
@bieryAtFnal For the moment we have adopted a simplified model where a package provides a library at most. |
Apologies, I have closed this PR a little too abruptly. The title made me forget the ongoing discussion of the configuration aspects, which was part of this PR but is not strictly related to |
Subject says it all.