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

CMake: Fix warnings #113

Merged
merged 2 commits into from
Jan 1, 2018
Merged

CMake: Fix warnings #113

merged 2 commits into from
Jan 1, 2018

Conversation

ghost
Copy link

@ghost ghost commented Jan 1, 2018

This PR relies on Ninja's builtin module detection, which failed before because the module directory was previously the same.

Closes gh-114.

@isuruf
Copy link
Owner

isuruf commented Jan 1, 2018

@xoviat, sorry, I just did a rebase of the commits. I'll fix this

@ghost
Copy link
Author

ghost commented Jan 1, 2018

Not a problem. Don't touch it for now because I want to see the results of the Travis build.

@ghost
Copy link
Author

ghost commented Jan 1, 2018

@isuruf Is there any reason why this fix would not work? It's significantly simpler than the other fix.

isuruf
isuruf previously approved these changes Jan 1, 2018
Copy link
Owner

@isuruf isuruf left a comment

Choose a reason for hiding this comment

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

+1. Can you move the sources iso_c_bid.F95 etc to back to where it was to reduce the diff?

@ghost
Copy link
Author

ghost commented Jan 1, 2018

Note: issue filed at https://gitlab.kitware.com/cmake/cmake/issues/17606

The CMake Ninja generator requires the
"use" statement to declare dependnecies
rather than the "use, instrinsic" statement.

Since we're bootsrapping, the "intrinsic"
makes no functional difference and leads
to race conditions.
@isuruf
Copy link
Owner

isuruf commented Jan 1, 2018

Works for me locally on linux

@isuruf isuruf merged commit 39e9250 into windows Jan 1, 2018
@ghost ghost deleted the fix-race branch January 1, 2018 18:39
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