File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 97
97
# Configure nerfs RUNSHARED when cross-compiling, which prevents PGO from running when
98
98
# we can in fact run the target binaries (e.g. x86_64 host and i686 target). Undo that.
99
99
if [ -n " ${CROSS_COMPILING} " ]; then
100
- if [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_11} " ]; then
100
+ if [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_13} " ]; then
101
+ patch -p1 -i ${ROOT} /patch-dont-clear-runshared-13.patch
102
+ elif [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_11} " ]; then
101
103
patch -p1 -i ${ROOT} /patch-dont-clear-runshared.patch
102
104
else
103
105
patch -p1 -i ${ROOT} /patch-dont-clear-runshared-legacy.patch
Original file line number Diff line number Diff line change
1
+ diff -u 13-a/configure.ac 13-b/configure.ac
2
+ --- 13-a/configure.ac 2024-05-08 05:21:00.000000000 -0400
3
+ +++ 13-b/configure.ac 2024-05-19 12:44:04.530770938 -0400
4
+ @@ -1564,10 +1564,6 @@
5
+ fi
6
+ AC_MSG_RESULT([$LDLIBRARY])
7
+
8
+ - if test "$cross_compiling" = yes; then
9
+ - RUNSHARED=
10
+ - fi
11
+ -
12
+ AC_MSG_CHECKING([HOSTRUNNER])
13
+ AC_ARG_VAR([HOSTRUNNER], [Program to run CPython for the host platform])
14
+ if test -z "$HOSTRUNNER"
You can’t perform that action at this time.
0 commit comments