-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add dedicated hpp generation step for future cmdstan compatibility #863
Conversation
Also a good reminder to set up the CI to test against cmdstan |
You can also update your make command to "make foo.hpp foo" and it should build both the executable and hpp (if you also need the .o you can list it there as well) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #863 +/- ##
==========================================
- Coverage 88.36% 88.35% -0.01%
==========================================
Files 12 12
Lines 4528 4527 -1
==========================================
- Hits 4001 4000 -1
Misses 527 527 ☔ View full report in Codecov by Sentry. |
Ah good call, that should be a bit cleaner, will do |
Hmm it looks like
Given that this indicates some flakiness with the |
@rok-cesnovar just a heads up that we'll need this in before the 2.34 release |
Reviewing this later today, thanks for the heads up! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, had some downtime just now. This looks great to me!
Submission Checklist
Summary
As discovered in this thread on the forum, the next version of
cmdstan
will automatically delete the.hpp
file during themake
process. This causes R to error when we try to read it in for later use in the model-methods compilation.This PR adds a separate step for generating and reading the hpp file into the Model object
Copyright and Licensing
Please list the copyright holder for the work you are submitting
(this will be you or your assignee, such as a university or company):
Andrew Johnson
By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the following licenses: