-
Notifications
You must be signed in to change notification settings - Fork 64
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
CCPP code generator needs to parse all available suites if SUITES argument is not present #293
Comments
How should it do this search? We are already pulling suites from multiple repositories. Only the host model knows where all the suite files may be located, how can this search be hard coded into capgen? |
Not hardcoded. I think there should be two options: either pass a list of suites, or a list of directories containing suite definition files as arguments. Since suite definition files all have a fixed format |
Fixed in #292 for |
No, you are not missing something, just that the requested interface was not spelled out in the issue text. Currently, the
We could extend this to be:
|
Sounds good. Note that
The name of the suites (e.g.
which should be changed to say
When we switch to |
I have a question that relates to this feature (as well as scheme and host-model lists). Thoughts? Do we require that a suite's filename match the suite name? Should I check suite names instead of suite filenames? |
Fixed in #339 |
This currently applies to
ccpp_prebuild.py
only, but logic needs to be put in place forcap_gen.py
in the future as well.EMC has requested that the CCPP code generator compiles all available suites into the executable if the
--suites=abc,xyz
argument is not specified when callingccpp_prebuild.py
. In the case ofccpp_prebuild.py
, this can easily be done, because the CCPP prebuild config contains the location of all suites (SUITES_DIR
).For
cap_gen.py
, we could implement logic to either list individual suites or a directory containing a number of suites, which would then get compiled into the executable.Will be fixed by #292 for
ccpp_prebuild.py
.The text was updated successfully, but these errors were encountered: