-
Notifications
You must be signed in to change notification settings - Fork 147
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
Fix git branch logging and egs_home vs HEN_HOUSE code comparisons #898
Conversation
4e081f9
to
d02635a
Compare
@rtownson perhaps we can remove the git branch name altogether, and only keep the git commit hash? The branch name may cause confusion in fact, since it is a label that can point to any commit. What do you think? |
@ftessier sure, I see your point. It should always be paired with a commit to avoid confusion, but the potential issue with long branch names might not be worth keeping it around. |
@rtownson something like this, to remove all instances of |
Remove the git branch information and provide the commit hash only. The branch name is just a label that can point to any commit, so it remains equivocal. This also solves the issue with long branch names where the fortran code would fail to compile because of exceeding the line length. Also, fix the comparisons between egs_home and HEN_HOUSE/user_code apps, so that it doesn't report a difference when the HEN_HOUSE version doesn't exist.
c921e00
to
5d384d6
Compare
Rebased on develop and squashed. |
Fix compilation failure of BEAMnrc accelerators since the addition of git and compile time logging. This also adds back printing of the git hash, which was mistakenly removed in PR #898.
Fix compilation failure of BEAMnrc accelerators since the addition of git and compile time logging. This also adds back printing of the git hash, which was mistakenly removed in PR #898. Fix this for the compilation of the shared library as well. Also, add newline at end of beamnrc.spec.
Fix compilation failure of BEAMnrc accelerators since the addition of git and compile time logging. This also adds back printing of the git hash, which was mistakenly removed in PR #898. Fix this for the compilation of the shared library as well.
Fix compilation failure of BEAMnrc accelerators since the addition of git and compile time logging. This also adds back printing of the git hash, which was mistakenly removed in PR #898. Fix this for the compilation of the shared library as well.
Fix compilation failure of BEAMnrc accelerators since the addition of git and compile time logging. This also adds back printing of the git hash, which was mistakenly removed in PR #898. Fix this for the compilation of the shared library as well.
Fix an issue with long branch names where the fortran code would fail to compile because of exceeding the line length. This isn't completely fixed, but now a few more characters are allowed before it crashes. Correct me if I'm wrong, but I think it's not possible to fix completely, because it seems like the DEFINE replacement means that we can't use mortrans usual automatic line wrapping.
Fix the comparisons between egs_home and HEN_HOUSE/user_code applications, so that it doesn't report a difference when the HEN_HOUSE version doesn't exist to start with.
This fixes minor issues introduced in PR #414.