Add install target for Linux/OSX systems
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- cpp
- Bereich
- build-system, cli, operating-systems
Rechercherichtung
Überprüfe die Makefile-Änderungen im Branch feature/install_target und beginne damit, den dokumentierten Ablauf make -j4 build und sudo make install unter Linux auszuführen. Verifiziere, dass die Installation CmdStan nach /opt oder /usr/local/opt auf OSX installiert, den cmdstan_model-Wrapper erstellt und das Kompilieren eines Modells über diesen Befehl ermöglicht; Tests unter OSX und die Benennung der Befehle bleiben offene Fragen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary:
A request that's come up before is the ability to centrally install cmdstan after building. I've put together an initial attempt at a makefile target, so that a user can run:
make -j4 build
sudo make install
Which will copy the cmdstan directory to the /opt folder (/usr/local/opt in OSX) and create a wrapper around the call to make to reference the correct directory: cmdstan_model.
The user can then just call cmdstan_model path/to/model to compile stan models.
The makefile changes are on this branch
I still need to do some testing on the OSX side, but was hoping to get input on the current approach.
Is cmdstan_model a good name here? It's likely that print and diagnose will need a similar prefix to avoid clashing with system binaries.
Current Version:
v2.27.0
- Vorherrschende Sprache
- C++
- Sterne
- 240
- Forks
- 105
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus stan-dev/cmdstan
-
Release CmdStan 2.40Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 55/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 45/100
-
code-cleanup
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
-
diagnose exit codeOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 52/100
Alle Issues in stan-dev/cmdstan
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
charmplusplus/charm#4210 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG] VPN auth dialog spawned by the secret agent fails with "TLS support is not available" on NixOSOffenbug nixos umbriel
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
noctalia-dev/noctalia#5310 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/docdb kind/bug priority/medium status/awaiting-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
yugabyte/yugabyte-db#37426 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Engine] Two prompt block scorers enabled at once: WMMA silently wins and no log line is printedOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Niko1221/Strata#5693 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 4 Tagen