ease use of cmdstan makefiles

オープン
#791 コメント 14 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
build-system, cli

調査の方向性

まず CmdStan の makefile を見つけ、作業ディレクトリが CmdStan のトップレベルであることを前提としている箇所を調査します。別のディレクトリから make -f path/to/cmdstan/makefile model を実行し、既存のモデルビルド動作も含めて検証します。ディレクトリを移動せずにユーザーがビルドできれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Feature makefile user experience
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

主要言語
C++
スター
240
フォーク
105
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stan-dev/cmdstan のほかの issue

stan-dev/cmdstan の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。