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

use shortpath and cleanup #460

Merged
merged 7 commits into from Mar 5, 2021
Merged

use shortpath and cleanup #460

merged 7 commits into from Mar 5, 2021

Conversation

rok-cesnovar
Copy link
Member

Summary

  • Adds using short path on Windows for the path to the model. This should eliminate any remaining Windows issues wrt to spaces in paths.

  • cleans up some of the code that that helped with some edge cases for earlier versions of cmdstan:

    • C++ compiler warnings for < 2.24
    • installing of windows-stanc on cmdstan 2.23
    • a workaround for M1 macOS for cmdstan < 2.26

    For all these cases we should get rid of this code for maintanance reasons. Users should install 2.26+ when installing a new CmdStan.

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):
Rok Češnovar

By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the following licenses:

@rok-cesnovar
Copy link
Member Author

These are simple so I will merge when/if tests pass.

@@ -2,6 +2,8 @@

### Bug fixes

* Fixed bug with spaces in path to the temporary folder on Windows. (#460)
Copy link
Member

Choose a reason for hiding this comment

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

Lol that's a pretty good gotcha

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah it was reported a few times, mostly with users that set their username as "firstname lastname".

@rok-cesnovar rok-cesnovar merged commit 53d663c into master Mar 5, 2021
@rok-cesnovar rok-cesnovar deleted the use_shortpath_and_cleanup branch March 5, 2021 20:50
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.

None yet

2 participants