-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Makefile generated dependency files infinitely #668
Comments
Okay, I think I figured it out. Here's what I did:
And now it works. Maybe this will help someone in the future. |
Thanks for hunting that down and reporting back. Yes, each dependency is included as a target. What this allows is for files to be moved / removed and it'll continue to work. Without this, when a file is removed, targets would fail to build, often without a good message. With this, there are some weird conditions where it'll go into the behavior you described, but I haven't pinpointed where that is yet. (It shouldn't really be in a weird infinite loop, but somehow it is.) Thanks. If you see it again, let me know. |
Do I need to keep that dependency generation edited out? Is it not flushed with clean-all? |
The xcode install doesn't do anything for me.
|
I do not see |
@bob-carpenter, is this something you're seeing now? What git hashes are your CmdStan, Stan, and Math at now? |
I checked out a binary version of 2.18.1 so it'd work, so no hashes other than the release. But it ran into the same problem without the math dependencies thing that @seantalts mentioned above. I'm not sure how to get the hash for my current branch. As usual, I don't understand even simple answers on Git stackoverflow. But here's what it looks like when I check out develop and run cmdstan: develop |
The main issue for my problem is: #682 @seantalts just commented that he had the same problem (though I don't see that here), so I reopened this one, too. |
I see. Let me go and comment on #682.
…On Wed, Mar 27, 2019 at 5:17 PM Bob Carpenter ***@***.***> wrote:
The main issue for my problem is: #682
<#682>
@seantalts <https://github.com/seantalts> just commented that he had the
same problem (though I don't see that here), so I reopened this one, too.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#668 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAZ_F9EbzC8dxaQqVlqkPlVC8rprcmoKks5va9_VgaJpZM4ZyZg_>
.
|
closing - current makefile changed to avoid circular dependencies. |
I might have something set up wrong with the submodules, but figured I'd post the discussion here as an issue in case we figure it out and it's helpful to others.
I'm seeing endless loops of lines like:
Where these -MM etc flags indicate that we're generating dependency files.
I'd expect to not see these lines go by more than once, and to eventually be able to build stanc etc.
Current Version:
develop all the way down
The text was updated successfully, but these errors were encountered: