Skip to content

use shortpath and cleanup#460

Merged
rok-cesnovar merged 7 commits intomasterfrom
use_shortpath_and_cleanup
Mar 5, 2021
Merged

use shortpath and cleanup#460
rok-cesnovar merged 7 commits intomasterfrom
use_shortpath_and_cleanup

Conversation

@rok-cesnovar
Copy link
Copy Markdown
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
Copy Markdown
Member Author

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

Comment thread NEWS.md

### Bug fixes

* Fixed bug with spaces in path to the temporary folder on Windows. (#460)
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants