-
Notifications
You must be signed in to change notification settings - Fork 45
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
Jinja2 expansion xml files should go to CMAKE_CURRENT_BINARY_DIR #54
Comments
All build products should always go to the build directory. That helps to prevent them from being committed to the repo. |
Totally agree! This was backwards compatibility when we switched from one ecce.xml in the repository to a template with build products. The benchmarks are still using a crazy installation scheme where we are running against a non-installed version in its source directory. So, yes, and for every rule there's an exception that may or may not have been a good idea at the time ;-) |
Fixing that issue required having a way to refer to ip6 without using a symlink. You see, it's all related :-) |
I think this is good idea. Would it have any impact on the typical workflow of changing something in |
Yes, I'd suggest that workflow would be easiest resolved by setting DETECTOR_PATH to a custom location. |
#672) ### Briefly, what does this PR introduce? The build system writes the evaluated jinja templates (entrypoint xml files) into the source directory instead of a build directory. This PR moves these temporary build artifacts into the build directory instead. TODO: - [x] fix common_bench to do a proper install into a prefix instead of a build into the source directory ### What kind of change does this PR introduce? - [x] Bug fix (issue #54) - [ ] New feature (issue #__) - [ ] Documentation update - [ ] Other: __ ### Please check if this PR fulfills the following: - [ ] Tests for the changes have been added - [ ] Documentation has been added / updated - [ ] Changes have been communicated to collaborators ### Does this PR introduce breaking changes? What changes might users need to make to their code? No. ### Does this PR change default behavior? Yes, no more xml files will be written to the source directory; `make install` or bust.
Is your feature request related to a problem? Please describe.
Users may
make
the epic code and end up with anepic.xml
file in their source dir. They may do something with this file, which refers to environment variables. That may lead to confusing results.Describe the solution you'd like
With produced xml files in the build directory, it is less likely that they would be used inadvertently assuming they work from the source dir top level.
Describe alternatives you've considered
Alternative is not changing.
The text was updated successfully, but these errors were encountered: