Skip to content

Commit 8d2b5ff

Browse files
authored
Merge pull request #411 from infosiftr/profile-task
Remove explicit PROFILE_TASK for 3.8+
2 parents 8363975 + 81462d1 commit 8d2b5ff

File tree

25 files changed

+36
-133
lines changed

25 files changed

+36
-133
lines changed

3.5/alpine3.10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ RUN set -ex \
7676
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
7777
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
7878
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
79-
# https://github.com/docker-library/python/issues/160#issuecomment-509426916
79+
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
8080
PROFILE_TASK='-m test.regrtest --pgo \
8181
test_array \
8282
test_base64 \

3.5/alpine3.9/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ RUN set -ex \
7676
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
7777
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
7878
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
79-
# https://github.com/docker-library/python/issues/160#issuecomment-509426916
79+
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
8080
PROFILE_TASK='-m test.regrtest --pgo \
8181
test_array \
8282
test_base64 \

3.5/buster/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RUN set -ex \
4545
--with-system-ffi \
4646
--without-ensurepip \
4747
&& make -j "$(nproc)" \
48-
# https://github.com/docker-library/python/issues/160#issuecomment-509426916
48+
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
4949
PROFILE_TASK='-m test.regrtest --pgo \
5050
test_array \
5151
test_base64 \

3.5/buster/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ RUN set -ex \
6868
--with-system-ffi \
6969
--without-ensurepip \
7070
&& make -j "$(nproc)" \
71-
# https://github.com/docker-library/python/issues/160#issuecomment-509426916
71+
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
7272
PROFILE_TASK='-m test.regrtest --pgo \
7373
test_array \
7474
test_base64 \

3.5/stretch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RUN set -ex \
4545
--with-system-ffi \
4646
--without-ensurepip \
4747
&& make -j "$(nproc)" \
48-
# https://github.com/docker-library/python/issues/160#issuecomment-509426916
48+
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
4949
PROFILE_TASK='-m test.regrtest --pgo \
5050
test_array \
5151
test_base64 \

3.5/stretch/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ RUN set -ex \
6868
--with-system-ffi \
6969
--without-ensurepip \
7070
&& make -j "$(nproc)" \
71-
# https://github.com/docker-library/python/issues/160#issuecomment-509426916
71+
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
7272
PROFILE_TASK='-m test.regrtest --pgo \
7373
test_array \
7474
test_base64 \

3.6/alpine3.10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ RUN set -ex \
7878
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
7979
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8080
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
81-
# https://github.com/docker-library/python/issues/160#issuecomment-509426916
81+
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
8282
PROFILE_TASK='-m test.regrtest --pgo \
8383
test_array \
8484
test_base64 \

3.6/alpine3.9/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ RUN set -ex \
7878
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
7979
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8080
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
81-
# https://github.com/docker-library/python/issues/160#issuecomment-509426916
81+
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
8282
PROFILE_TASK='-m test.regrtest --pgo \
8383
test_array \
8484
test_base64 \

3.6/buster/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RUN set -ex \
4545
--with-system-ffi \
4646
--without-ensurepip \
4747
&& make -j "$(nproc)" \
48-
# https://github.com/docker-library/python/issues/160#issuecomment-509426916
48+
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
4949
PROFILE_TASK='-m test.regrtest --pgo \
5050
test_array \
5151
test_base64 \

3.6/buster/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ RUN set -ex \
6868
--with-system-ffi \
6969
--without-ensurepip \
7070
&& make -j "$(nproc)" \
71-
# https://github.com/docker-library/python/issues/160#issuecomment-509426916
71+
# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
7272
PROFILE_TASK='-m test.regrtest --pgo \
7373
test_array \
7474
test_base64 \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy