ease use of cmdstan makefiles

Đang mở
#791 14 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp
Lĩnh vực
build-system, cli

Hướng nghiên cứu

Bắt đầu bằng cách xác định các makefile của CmdStan và kiểm tra các giả định rằng thư mục làm việc là cấp cao nhất của CmdStan. Xác minh việc gọi make -f path/to/cmdstan/makefile model từ một thư mục khác, bao gồm cả hành vi xây dựng model hiện có; hoàn thành có nghĩa là người dùng có thể build mà không cần thay đổi thư mục.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
C++
Star
240
Fork
105
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của stan-dev/cmdstan

Tất cả issue của stan-dev/cmdstan

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.