@@ -133,7 +133,7 @@ RUN cd /tmp && \
133
133
./configure CC=$TARGET_CC AR=$TARGET_AR READELF=$TARGET_READELF --host=armv7l-unknown-linux-gnueabihf --target=armv7l-unknown-linux-gnueabihf --prefix=$PREFIX --disable-shared --with-ensurepip=no --build=$(uname -m)-linux-gnu --disable-ipv6 ac_cv_have_long_long_format=yes ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no && \
134
134
sed -i 's/_PYTHON_HOST_PLATFORM=linux-arm/_PYTHON_HOST_PLATFORM=linux-armv7l/' Makefile && \
135
135
make -j4 && make -j4 install && \
136
- rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
136
+ cd /tmp && rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
137
137
# we don't need libpython*.a, and they're many megabytes
138
138
find $PREFIX -name '*.a' -print0 | xargs -0 rm -f && \
139
139
# We do not need the Python test suites
@@ -148,7 +148,7 @@ RUN cd /tmp && \
148
148
./configure CC=$TARGET_CC AR=$TARGET_AR READELF=$TARGET_READELF --host=armv7l-unknown-linux-gnueabihf --target=armv7l-unknown-linux-gnueabihf --prefix=$PREFIX --disable-shared --with-ensurepip=no --build=$(uname -m)-linux-gnu --disable-ipv6 ac_cv_have_long_long_format=yes ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no && \
149
149
sed -i 's/_PYTHON_HOST_PLATFORM=linux-arm/_PYTHON_HOST_PLATFORM=linux-armv7l/' Makefile && \
150
150
make -j4 && make -j4 install && \
151
- rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
151
+ cd /tmp && rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
152
152
# we don't need libpython*.a, and they're many megabytes
153
153
find $PREFIX -name '*.a' -print0 | xargs -0 rm -f && \
154
154
# We do not need the Python test suites
@@ -163,7 +163,7 @@ RUN cd /tmp && \
163
163
./configure CC=$TARGET_CC AR=$TARGET_AR READELF=$TARGET_READELF --host=armv7l-unknown-linux-gnueabihf --target=armv7l-unknown-linux-gnueabihf --prefix=$PREFIX --disable-shared --with-ensurepip=no --build=$(uname -m)-linux-gnu --disable-ipv6 ac_cv_have_long_long_format=yes ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no && \
164
164
sed -i 's/_PYTHON_HOST_PLATFORM=linux-arm/_PYTHON_HOST_PLATFORM=linux-armv7l/' Makefile && \
165
165
make -j4 && make -j4 install && \
166
- rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
166
+ cd /tmp && rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
167
167
# we don't need libpython*.a, and they're many megabytes
168
168
find $PREFIX -name '*.a' -print0 | xargs -0 rm -f && \
169
169
# We do not need the Python test suites
@@ -178,7 +178,7 @@ RUN cd /tmp && \
178
178
./configure CC=$TARGET_CC AR=$TARGET_AR READELF=$TARGET_READELF --host=armv7l-unknown-linux-gnueabihf --target=armv7l-unknown-linux-gnueabihf --prefix=$PREFIX --disable-shared --with-ensurepip=no --build=$(uname -m)-linux-gnu --disable-ipv6 ac_cv_have_long_long_format=yes ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no && \
179
179
sed -i 's/_PYTHON_HOST_PLATFORM=linux-arm/_PYTHON_HOST_PLATFORM=linux-armv7l/' Makefile && \
180
180
make -j4 && make -j4 install && \
181
- rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
181
+ cd /tmp && rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
182
182
# we don't need libpython*.a, and they're many megabytes
183
183
find $PREFIX -name '*.a' -print0 | xargs -0 rm -f && \
184
184
# We do not need the Python test suites
@@ -193,7 +193,7 @@ RUN cd /tmp && \
193
193
./configure CC=$TARGET_CC AR=$TARGET_AR READELF=$TARGET_READELF --host=armv7l-unknown-linux-gnueabihf --target=armv7l-unknown-linux-gnueabihf --prefix=$PREFIX --disable-shared --with-build-python=python3.11 --with-ensurepip=no --build=$(uname -m)-linux-gnu --disable-ipv6 ac_cv_have_long_long_format=yes ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no && \
194
194
sed -i 's/_PYTHON_HOST_PLATFORM=linux-arm/_PYTHON_HOST_PLATFORM=linux-armv7l/' Makefile && \
195
195
make -j4 && make -j4 install && \
196
- rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
196
+ cd /tmp && rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
197
197
# we don't need libpython*.a, and they're many megabytes
198
198
find $PREFIX -name '*.a' -print0 | xargs -0 rm -f && \
199
199
# We do not need the Python test suites
@@ -208,7 +208,7 @@ RUN cd /tmp && \
208
208
./configure CC=$TARGET_CC AR=$TARGET_AR READELF=$TARGET_READELF --host=armv7l-unknown-linux-gnueabihf --target=armv7l-unknown-linux-gnueabihf --prefix=$PREFIX --disable-shared --with-build-python=python3.12 --with-ensurepip=no --build=$(uname -m)-linux-gnu --disable-ipv6 ac_cv_have_long_long_format=yes ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no && \
209
209
sed -i 's/_PYTHON_HOST_PLATFORM=linux-arm/_PYTHON_HOST_PLATFORM=linux-armv7l/' Makefile && \
210
210
make -j4 && make -j4 install && \
211
- rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
211
+ cd /tmp && rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
212
212
# we don't need libpython*.a, and they're many megabytes
213
213
find $PREFIX -name '*.a' -print0 | xargs -0 rm -f && \
214
214
# We do not need the Python test suites
@@ -223,7 +223,7 @@ RUN cd /tmp && \
223
223
./configure CC=$TARGET_CC AR=$TARGET_AR READELF=$TARGET_READELF --host=armv7l-unknown-linux-gnueabihf --target=armv7l-unknown-linux-gnueabihf --prefix=$PREFIX --disable-shared --with-build-python=python3.13 --with-ensurepip=no --build=$(uname -m)-linux-gnu --disable-ipv6 ac_cv_have_long_long_format=yes ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no && \
224
224
sed -i 's/_PYTHON_HOST_PLATFORM=linux-arm/_PYTHON_HOST_PLATFORM=linux-armv7l/' Makefile && \
225
225
make -j4 && make -j4 install && \
226
- rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
226
+ cd /tmp && rm -rf Python-$VERS.tgz Python-$VERS $PREFIX/share && \
227
227
# we don't need libpython*.a, and they're many megabytes
228
228
find $PREFIX -name '*.a' -print0 | xargs -0 rm -f && \
229
229
# We do not need the Python test suites
0 commit comments