Question: Run `compile_example` in call to `install_cmdstan` even if already installed?
tillahoffmann opened this issue · 3 comments
tillahoffmann commented
The install_cmdstan
script verifies the installation by calling compile_example
after (re)-building cmdstan
. Should we also call it after identifying that cmdstan
is already installed to check the installation is functional (or add a flag to compile the example if cmdstan
is already installed)? The main motivation is that sometimes the existing installation breaks, e.g., due to precompiled header changes.
WardBrian commented
I think this is a good idea
tillahoffmann commented
Alright, will put together a PR. Preference for
- always run
compile_example
- don't run
compile_example
by default but add a flag to run it - run
compile_example
by default but add a flag to not run it?
WardBrian commented
I think it is fine to always do it. We may want to check if the executable exists and delete it first