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

Stan programs with includes - compiler should output list of paths to includes for make #2324

Closed
mitzimorris opened this issue Jun 14, 2017 · 1 comment
Assignees

Comments

@mitzimorris
Copy link
Member

Summary:

Follow-up functionality for Feature/2224 stan includes, from comment
#2289 (comment)

generate a separate file with the include files

Proposal is to generate a list of files like this:

main.stan
foo/bar/baz.stan
...
with one relative path per file (the relative paths of the includes will be based on however they're found)? It will require us to take another argument to the compiler and parser in the form of a std::ostream& and the files will be written one per line in ASCII with forward-slashes as delimeters (or whatever might have been input if it's mixed on Windows) terminated by \n with a final \n.

To be used by the makefile in CmdStan to only build the executable when something in the list of files has changed.


#### Current Version:
v2.15.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants