Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/launchpad_ppa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
matrix:
include:
- distro: jammy
vendor_rust: "1.96.1"
vendor_rust: "1.96.0"
toolchain_source: "Requires backend-ai PPA dependency on ~lablup/+archive/ubuntu/rustc-release"
- distro: noble
vendor_rust: "1.96.1"
vendor_rust: "1.96.0"
toolchain_source: "Requires backend-ai PPA dependency on ~lablup/+archive/ubuntu/rustc-release"
- distro: resolute
vendor_rust: "1.96.1"
toolchain_source: "Uses the official Ubuntu 26.04 archive Rust 1.96+ toolchain"
vendor_rust: "1.96.0"
toolchain_source: "Requires backend-ai PPA dependency on ~lablup/+archive/ubuntu/rustc-release"

steps:
- name: Checkout code
Expand Down
6 changes: 3 additions & 3 deletions debian/README.packaging
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ The following packages are required and must be available to Launchpad through t
This project currently requires Rust 1.96 or newer because the vendored dependency set no longer builds with Rust 1.85. This means:
- Ubuntu 22.04 (Jammy): requires a versioned Rust 1.96 toolchain from the dependent PPA `~lablup/+archive/ubuntu/rustc-release`
- Ubuntu 24.04 (Noble): requires a versioned Rust 1.96 toolchain from the dependent PPA `~lablup/+archive/ubuntu/rustc-release`
- Ubuntu 26.04 (Resolute): can use the archive's Rust 1.96+ toolchain without the extra dependency PPA
- Ubuntu 26.04 (Resolute): requires a versioned Rust 1.96 toolchain from the dependent PPA `~lablup/+archive/ubuntu/rustc-release`

If building for older Ubuntu versions, you may need to:
1. Add a Launchpad PPA dependency on `~lablup/+archive/ubuntu/rustc-release` so Jammy and Noble can see `rustc-1.96` and `cargo-1.96`
1. Add a Launchpad PPA dependency on `~lablup/+archive/ubuntu/rustc-release` so Jammy, Noble, and Resolute can see `rustc-1.96` and `cargo-1.96`
2. Limit support to distributions with Rust 1.96+

### Build Process
Expand All @@ -37,7 +37,7 @@ If the build fails on Launchpad:
2. Common issues:
- Missing build dependencies: Add them to debian/control
- Rust version incompatibility: Ensure Rust 1.96+ is available
- Missing PPA dependency: Jammy/Noble need access to `rustc-1.96` and `cargo-1.96`
- Missing PPA dependency: Jammy/Noble/Resolute need access to `rustc-1.96` and `cargo-1.96`
- Missing vendored crates: Ensure `vendor/` and `.cargo/config.toml` are included in the source package
- Cargo registry access: The build will fail if it tries to download crates

Expand Down