improve CmdStan installation process: instructions, scripts, package installers

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp, python, shell

調査の方向性

CmdStan Makefile、そのビルドタスク、ならびに記載されている shell ユーティリティと Python テスト要件から始めてください。release tar.gz のインストールプロセスとプラットフォーム固有の toolchain オプションを確認してください。この issue では完成した単一の変更を定義していないため、完了には合意されたインストール方法とサポート対象プラットフォームの範囲が必要になります。

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

説明

Feature release/packaging user experience windows
Summary:

This issue is a place to discuss pain points and solutions for the problem of installing a CmdStan release tar.gz file.

This solution doesn't include installing CmdStan from GitHub; although documentation for that process should be reviewed and corrected/updated/expanded as needed.

Description:

Pain points:

  • users don't have system install permissions
  • users don't have requisite toolchain installed on their system.
  • OS updates cause problems for existing installation by changing the toolchain
  • CmdStan library and binaries take non-trivial time to compile - installation on a wimpy machine is slow.
  • In order to speed up Stan model compile time, libraries, headers, and command.o are precompiled by the Makefile build task; but the latter two need to be recompiled if threading or processing lib changes.

Components of a solution:

  1. Provide developer toolchain: c++ compiler + GNU-make + unix utilities used by Makefile
    • MacOSX: run xcode-select vs. install xcode command line tools in Stan-specific place
    • Linux: do all versions of Linux have GNU-make? if so, clang binaries as above
    • Windows - fork RTools and build Stan-specific version
  2. Provide pre-compiled binaries for CmdStan release, assuming vanilla threading and processor
  3. Provide user with install options:
    • instructions
    • script
    • pkg installer utility

Platforms we need to support:

  • MacOS - how far back?
  • Linux: redhat (RHEL, Fedora, CentOS - rpm package manager), debian (Ubuntu - dpkg manager)
  • Windows 7, 10

Stan Makefile calls to shell and os utilities: echo,uname,expr,where,find,curl, also need Python to run tests

主要言語
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 を短くまとめたダイジェスト。