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 cmake bug when ldc is a submodule #860

Merged
merged 1 commit into from
Mar 15, 2015

Conversation

smolt
Copy link
Member

@smolt smolt commented Mar 9, 2015

This change fixes a cmake error that can happen when ldc is included as a git submodule.

CMake Error at CMakeLists.txt:215 (string):
  string end index: 6 is out of range -1 - 0

The change is a selection of updates from a more recent version of GetGitRevisionDescription.cmake at https://github.com/rpavlik/cmake-modules.

Note for error verification - the error doesn't happen if there is a tag on the submodule commit.

Allow ldc to be a submodule.  This uses changes from
https://github.com/rpavlik/cmake-modules.

(cherry picked from commit 0be5ead)
@smolt
Copy link
Member Author

smolt commented Mar 11, 2015

Looks like Travis failures are something unrelated to this change. A test taking too long and getting killed?

redstar added a commit that referenced this pull request Mar 15, 2015
Fix cmake bug when ldc is a submodule
@redstar redstar merged commit fc3d381 into ldc-developers:master Mar 15, 2015
@redstar
Copy link
Member

redstar commented Mar 15, 2015

Yes, std.algorithm is often killed.

@smolt smolt deleted the allowAsSubmodule branch March 16, 2015 00:01
@smolt
Copy link
Member Author

smolt commented Mar 16, 2015

Thanks Kai! By the way, are the "cherry picked ..." messages in the topic branch commit useful or just noise, or a don't care?

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