Add parameters to supply `./configure` cache files
Đá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
- 64/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- build-system, cli
Hướng nghiên cứu
Start at the ./configure invocation and the command-line/environment argument handling. Trace how config.cache is selected for each Python 3.16 build, then verify that --configure-cache-file takes precedence over EVERY_PYTHON_CONFIGURE_CACHE_FILE and that invalid cache files produce the stated failure behavior. Done means repeated revisions can reuse a supplied cache file while users retain an easy CLI opt-out.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Say, --configure-cache-file and EVERY_PYTHON_CONFIGURE_CACHE_FILE.
This is mostly to speed up bisecting, where many first-seen revisions are built, and ./configure is currently being run for every single new revision without cache files. I also often find myself playing bingo with revisions, and most of the time the same config.cache would be fine. We're probably talking tens of seconds of difference.
If I have a fresh config.cache in any Python 3.16 directory, I can just supply that and it could be reused for most of the 3.16 revisions I'd want. It could happen that the cache is invalid, but then we could bail and let the user deal with it (then cli option would ideally take precedence over env var for an easy opt-out).
Would you be interested in a PR? :)
- Ngôn ngữ chính
- Python
- Star
- 17
- Fork
- 3
- Merge trung bình
- 2 giờ 24 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của savannahostrowski/every-python
-
Add RAM disk building modeĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
savannahostrowski/every-python#72 · 1 bình luận ·
Tất cả issue của savannahostrowski/every-python
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
openwisp/openwisp-utils#777 ·
-
Boolean statistics (Covered, Confident, JaccardDistant) aggregate to 1.0 without float weightsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
google-research/weatherbenchX#310 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
huggingface/peft#3955 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
author-page correction
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
acl-org/acl-anthology#10313 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
AOSSIE-Org/Gitcord-GithubDiscordBot#147 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày