Allow offline builds for Linux distribution packaging

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
62/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ệ
cmake, cpp
Lĩnh vực
build-system, cli

Hướng nghiên cứu

Start with the dependency setup in CMakeLists.txt around line 59, where sendspin-cpp is downloaded. Check how CMake can use a system-provided shared or static sendspin-cpp library and make the download optional for offline packaging builds. Done when builds can use the provided library without network access while the existing download path remains available.

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

Mô tả

Currently the CMake configuration expects to download the sendspin-cpp library during build time, https://github.com/Sendspin/sendspin-cpp-cli/blob/main/CMakeLists.txt#L59. This however is incompatible with Linux distributions that would like to package this tool as they require offline builds, so no network access once the build has started. Such distributions would also already provide sendspin-cpp as either a shared or static library so there would be no need to download it from within CMake either.

It would be great if this usecase were supported and downloading during CMake execution was made optional.

Ngôn ngữ chính
C++
Star
14
Fork
5
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
26

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

  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 Sendspin/sendspin-cpp-cli

Tất cả issue của Sendspin/sendspin-cpp-cli

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.