]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] gh-152769: fixup enabling of perf trampoline on musl (Alpine Linux) (#153995)
authorJonathan J. Helmus <jjhelmus@gmail.com>
Sun, 19 Jul 2026 09:39:05 +0000 (04:39 -0500)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2026 09:39:05 +0000 (09:39 +0000)
Co-authored-by: Victor Stinner <vstinner@python.org>
configure
configure.ac

index 08a7c663ce0a9c242522588c3c68a512cf124b3a..af350fbb132d78d1b07707a31a660c785657b2a2 100755 (executable)
--- a/configure
+++ b/configure
@@ -14431,10 +14431,10 @@ case $PLATFORM_TRIPLET in #(
     perf_trampoline=yes ;; #(
   aarch64-linux-gnu) :
     perf_trampoline=yes ;; #(
-  x86_64-linux-gnu) :
-    perf_trampoline=yes ;; #(
   x86_64-linux-musl) :
     perf_trampoline=yes ;; #(
+  aarch64-linux-musl) :
+    perf_trampoline=yes ;; #(
   darwin) :
     case $MACOSX_DEPLOYMENT_TARGET in #(
   10.[0-9]|10.1[0-1]) :
index ead82d6da0b54505a3b4129412237af9b65708e7..a8bd6b884a131c47961fae7c08a33e797635da84 100644 (file)
@@ -3873,8 +3873,8 @@ AC_MSG_CHECKING([perf trampoline])
 AS_CASE([$PLATFORM_TRIPLET],
   [x86_64-linux-gnu], [perf_trampoline=yes],
   [aarch64-linux-gnu], [perf_trampoline=yes],
-  [x86_64-linux-gnu], [perf_trampoline=yes],
   [x86_64-linux-musl], [perf_trampoline=yes],
+  [aarch64-linux-musl], [perf_trampoline=yes],
   [darwin], [AS_CASE([$MACOSX_DEPLOYMENT_TARGET],
                 [[10.[0-9]|10.1[0-1]]], [perf_trampoline=no],
                 [perf_trampoline=yes]