File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 9696# Configure nerfs RUNSHARED when cross-compiling, which prevents PGO from running when
9797# we can in fact run the target binaries (e.g. x86_64 host and i686 target). Undo that.
9898if [ -n " ${CROSS_COMPILING} " ]; then
99- if [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_13} " ]; then
99+ if [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_14} " ]; then
100+ patch -p1 -i ${ROOT} /patch-dont-clear-runshared-14.patch
101+ elif [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_13} " ]; then
100102 patch -p1 -i ${ROOT} /patch-dont-clear-runshared-13.patch
101103 elif [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_11} " ]; then
102104 patch -p1 -i ${ROOT} /patch-dont-clear-runshared.patch
Original file line number Diff line number Diff line change 1+ diff --git a/configure b/configure
2+ index 57be576e3ca..a87c6eb8f2e 100755
3+ --- a/configure
4+ +++ b/configure
5+ @@ -7617,10 +7617,6 @@ fi
6+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5
7+ printf "%s\n" "$LDLIBRARY" >&6; }
8+
9+ - if test "$cross_compiling" = yes; then
10+ - RUNSHARED=
11+ - fi
12+ -
13+ # HOSTRUNNER - Program to run CPython for the host platform
14+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking HOSTRUNNER" >&5
15+ printf %s "checking HOSTRUNNER... " >&6; }
You can’t perform that action at this time.
0 commit comments