stan
stan copied to clipboard
`install-tbb.bat` fails on windows
Summary:
After building on windows, install-tbb.bat fails with an error:
ERROR: Invalid syntax. Default option is not allowed more than '2' time(s).
I think that this is due to spaces in PATH entries.
Additional Information:
Adding quotes around the argument to PATH fixed the problem for me.
Replaced this:
setx Path %~dp0stan\lib\stan_math\lib\tbb;%OLD_SYSTEM_PATH%
with this:
setx Path "%~dp0stan\lib\stan_math\lib\tbb;%OLD_SYSTEM_PATH%"
Current Version:
v2.33.0