ease use of cmdstan makefiles
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 238
- Forks
- 106
- Avg merge
- 2h 29m
- Merged PRs (30d)
- 6
Description
Summary:
This aims to simplify how users can use cmdstan with its makefiles.
Description:
Currently users have to change into the directory of cmdstan in order to build any Stan program like
cd path/to/cmdstan
make path/to/model
It would be much nicer if the user would not have to change into the directory of cmdstan, but can merely do this in any directory:
make -f path/to/cmdstan/makefile model
This currently does not work as the makefiles expect to be in the top-level directory of cmdstan. If the above would work, then users can define an alias like
alias stanmake=`make -f absolute/path/to/cmdstan/makefile`
and then people can just to
stanmake model
and that's it. Much simpler.
Reproducible Steps:
NA
Current Output:
NA
Expected Output:
NA
Additional Information:
Provide any additional information here.
Current Version:
v2.21.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 by locating the CmdStan makefiles and inspect assumptions that the working directory is the CmdStan top level. Verify the requested make -f path/to/cmdstan/makefile model invocation from another directory, including the existing model-building behavior; done means users can build without changing directories.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100