Skip to content
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 bug in finding path to ./git/log/HEAD if Marian is a submodule. #644

Merged
merged 5 commits into from
Jul 21, 2020

Conversation

ugermann
Copy link
Collaborator

@ugermann ugermann commented Apr 28, 2020

Description

This PR fixes a bug in determining the location of .git/log/HEAD when Marian is a submodule in
another project.

List of changes:

How to test

add Marian as a submodule in another project, add_subdirs(where/marian/is/located) and run cmake for the parent project.

Checklist

  • I have tested the code manually
  • I have run regression tests
  • I have read and followed CONTRIBUTING.md
  • I have updated CHANGELOG.md

Someone might want to maintain different build directories for
different configurations, so build_info.cpp needs to be created
in the build directory, not in the source directory, as it pertains
to cmake options, not actual source code.
@ugermann
Copy link
Collaborator Author

Fixes #645

@snukky snukky self-assigned this Jul 17, 2020
Copy link
Member

@snukky snukky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and approved.

@snukky snukky merged commit b28905a into master Jul 21, 2020
@snukky snukky deleted the ug-marian-as-submodule branch February 15, 2022 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants