Skip to content

Commit

Permalink
Remove pgo-only builds on macOS and Linux (#444)
Browse files Browse the repository at this point in the history
Closes #442
  • Loading branch information
zanieb authored Dec 18, 2024
1 parent cb332f8 commit 2b014a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
10 changes: 0 additions & 10 deletions ci-targets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ darwin:
- "3.13"
build_options:
- debug
- pgo
- pgo+lto
build_options_conditional:
- options:
- freethreaded+debug
- freethreaded+pgo
- freethreaded+pgo+lto
minimum-python-version: "3.13"

Expand All @@ -30,12 +28,10 @@ darwin:
- "3.13"
build_options:
- debug
- pgo
- pgo+lto
build_options_conditional:
- options:
- freethreaded+debug
- freethreaded+pgo
- freethreaded+pgo+lto
minimum-python-version: "3.13"

Expand Down Expand Up @@ -151,12 +147,10 @@ linux:
- "3.13"
build_options:
- debug
- pgo
- pgo+lto
build_options_conditional:
- options:
- freethreaded+debug
- freethreaded+pgo
- freethreaded+pgo+lto
minimum-python-version: "3.13"
run: true
Expand All @@ -173,12 +167,10 @@ linux:
- "3.13"
build_options:
- debug
- pgo
- pgo+lto
build_options_conditional:
- options:
- freethreaded+debug
- freethreaded+pgo
- freethreaded+pgo+lto
minimum-python-version: "3.13"
run: true
Expand All @@ -195,12 +187,10 @@ linux:
- "3.13"
build_options:
- debug
- pgo
- pgo+lto
build_options_conditional:
- options:
- freethreaded+debug
- freethreaded+pgo
- freethreaded+pgo+lto
minimum-python-version: "3.13"
run: true
Expand Down
10 changes: 3 additions & 7 deletions src/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
let mut h = BTreeMap::new();

// macOS.
let macos_suffixes = vec!["debug", "pgo", "pgo+lto"];
let macos_suffixes = vec!["debug", "pgo+lto"];
let macos_suffixes_313 = vec![
"freethreaded+debug",
"freethreaded+pgo",
Expand Down Expand Up @@ -162,13 +162,9 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
);

// Linux.
let linux_suffixes_pgo = vec!["debug", "pgo", "pgo+lto"];
let linux_suffixes_pgo = vec!["debug", "pgo+lto"];
let linux_suffixes_nopgo = vec!["debug", "lto", "noopt"];
let linux_suffixes_pgo_freethreaded = vec![
"freethreaded+debug",
"freethreaded+pgo",
"freethreaded+pgo+lto",
];
let linux_suffixes_pgo_freethreaded = vec!["freethreaded+debug", "freethreaded+pgo+lto"];
let linux_suffixes_nopgo_freethreaded = vec![
"freethreaded+debug",
"freethreaded+lto",
Expand Down

0 comments on commit 2b014a8

Please sign in to comment.