From 2b014a81f867b0dd4dd8e90a03802eb2cf213868 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 18 Dec 2024 17:55:59 -0600 Subject: [PATCH] Remove pgo-only builds on macOS and Linux (#444) Closes https://github.com/astral-sh/python-build-standalone/issues/442 --- ci-targets.yaml | 10 ---------- src/release.rs | 10 +++------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/ci-targets.yaml b/ci-targets.yaml index 17d2d0e6..940f1454 100644 --- a/ci-targets.yaml +++ b/ci-targets.yaml @@ -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" @@ -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" @@ -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 @@ -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 @@ -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 diff --git a/src/release.rs b/src/release.rs index 7a5a64cc..faae6111 100644 --- a/src/release.rs +++ b/src/release.rs @@ -77,7 +77,7 @@ pub static RELEASE_TRIPLES: Lazy> = 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", @@ -162,13 +162,9 @@ pub static RELEASE_TRIPLES: Lazy> = 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",