`install-tbb.bat` fails on windows
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.8k
- Forks
- 388
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 15
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with install-tbb.bat and reproduce the failure on Windows using a PATH that contains spaces. Check the setx command described in the issue, then verify the script completes successfully and preserves the existing PATH entries.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100