Skip to content

Update release artifacts for musl to include +static variant #556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025
Merged
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
16 changes: 12 additions & 4 deletions src/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,14 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
// Linux.
let linux_suffixes_pgo = vec!["debug", "pgo+lto"];
let linux_suffixes_nopgo = vec!["debug", "lto", "noopt"];
let linux_suffixes_musl = vec![
"debug",
"lto",
"noopt",
"debug+static",
"lto+static",
"noopt+static",
];
let linux_suffixes_pgo_freethreaded = vec!["freethreaded+debug", "freethreaded+pgo+lto"];
let linux_suffixes_nopgo_freethreaded = vec![
"freethreaded+debug",
Expand Down Expand Up @@ -270,7 +278,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
h.insert(
"x86_64-unknown-linux-musl",
TripleRelease {
suffixes: linux_suffixes_nopgo.clone(),
suffixes: linux_suffixes_musl.clone(),
install_only_suffix: "lto",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
conditional_suffixes: vec![],
Expand All @@ -279,7 +287,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
h.insert(
"x86_64_v2-unknown-linux-musl",
TripleRelease {
suffixes: linux_suffixes_nopgo.clone(),
suffixes: linux_suffixes_musl.clone(),
install_only_suffix: "lto",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
conditional_suffixes: vec![],
Expand All @@ -288,7 +296,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
h.insert(
"x86_64_v3-unknown-linux-musl",
TripleRelease {
suffixes: linux_suffixes_nopgo.clone(),
suffixes: linux_suffixes_musl.clone(),
install_only_suffix: "lto",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
conditional_suffixes: vec![],
Expand All @@ -297,7 +305,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
h.insert(
"x86_64_v4-unknown-linux-musl",
TripleRelease {
suffixes: linux_suffixes_nopgo.clone(),
suffixes: linux_suffixes_musl.clone(),
install_only_suffix: "lto",
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
conditional_suffixes: vec![],
Expand Down