Skip to content

Commit d646890

Browse files
committed
Always run compile_example in install_cmdstan (fixes #703).
1 parent 2cf6120 commit d646890

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmdstanpy/install_cmdstan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,6 @@ def install_version(
421421
clean_all(verbose)
422422
print('Rebuilding version {}'.format(cmdstan_version))
423423
build(verbose, progress=progress, cores=cores)
424-
print('Test model compilation')
425-
compile_example(verbose)
426424
print('Installed {}'.format(cmdstan_version))
427425

428426

@@ -637,6 +635,8 @@ def run_install(args: Union[InteractiveSettings, InstallationSettings]) -> None:
637635
)
638636
else:
639637
print('CmdStan version {} already installed'.format(args.version))
638+
print('Test model compilation')
639+
compile_example(args.verbose)
640640

641641

642642
def parse_cmdline_args() -> Dict[str, Any]:

0 commit comments

Comments
 (0)