Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4c3ad30

Browse filesBrowse files
authored
Merge pull request #1038 from mmoll/no_lto_on_riscv
disable LTO in RISC-V to speed up build
2 parents a74a6c7 + 90aa427 commit 4c3ad30
Copy full SHA for 4c3ad30

File tree

Expand file treeCollapse file tree

32 files changed

+32
-37
lines changed
Filter options
Expand file treeCollapse file tree

32 files changed

+32
-37
lines changed

‎3.10/alpine3.20/Dockerfile

Copy file name to clipboardExpand all lines: 3.10/alpine3.20/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.10/alpine3.21/Dockerfile

Copy file name to clipboardExpand all lines: 3.10/alpine3.21/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.10/bookworm/Dockerfile

Copy file name to clipboardExpand all lines: 3.10/bookworm/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.10/bullseye/Dockerfile

Copy file name to clipboardExpand all lines: 3.10/bullseye/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.10/slim-bookworm/Dockerfile

Copy file name to clipboardExpand all lines: 3.10/slim-bookworm/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.10/slim-bullseye/Dockerfile

Copy file name to clipboardExpand all lines: 3.10/slim-bullseye/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.11/alpine3.20/Dockerfile

Copy file name to clipboardExpand all lines: 3.11/alpine3.20/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.11/alpine3.21/Dockerfile

Copy file name to clipboardExpand all lines: 3.11/alpine3.21/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.11/bookworm/Dockerfile

Copy file name to clipboardExpand all lines: 3.11/bookworm/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.11/bullseye/Dockerfile

Copy file name to clipboardExpand all lines: 3.11/bullseye/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.11/slim-bookworm/Dockerfile

Copy file name to clipboardExpand all lines: 3.11/slim-bookworm/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.11/slim-bullseye/Dockerfile

Copy file name to clipboardExpand all lines: 3.11/slim-bullseye/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.12/alpine3.20/Dockerfile

Copy file name to clipboardExpand all lines: 3.12/alpine3.20/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.12/alpine3.21/Dockerfile

Copy file name to clipboardExpand all lines: 3.12/alpine3.21/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.12/bookworm/Dockerfile

Copy file name to clipboardExpand all lines: 3.12/bookworm/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.12/bullseye/Dockerfile

Copy file name to clipboardExpand all lines: 3.12/bullseye/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.12/slim-bookworm/Dockerfile

Copy file name to clipboardExpand all lines: 3.12/slim-bookworm/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.12/slim-bullseye/Dockerfile

Copy file name to clipboardExpand all lines: 3.12/slim-bullseye/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.13/alpine3.20/Dockerfile

Copy file name to clipboardExpand all lines: 3.13/alpine3.20/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.13/alpine3.21/Dockerfile

Copy file name to clipboardExpand all lines: 3.13/alpine3.21/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.13/bookworm/Dockerfile

Copy file name to clipboardExpand all lines: 3.13/bookworm/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.13/bullseye/Dockerfile

Copy file name to clipboardExpand all lines: 3.13/bullseye/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.13/slim-bookworm/Dockerfile

Copy file name to clipboardExpand all lines: 3.13/slim-bookworm/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.13/slim-bullseye/Dockerfile

Copy file name to clipboardExpand all lines: 3.13/slim-bullseye/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.14-rc/alpine3.20/Dockerfile

Copy file name to clipboardExpand all lines: 3.14-rc/alpine3.20/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.14-rc/alpine3.21/Dockerfile

Copy file name to clipboardExpand all lines: 3.14-rc/alpine3.21/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.14-rc/bookworm/Dockerfile

Copy file name to clipboardExpand all lines: 3.14-rc/bookworm/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.14-rc/bullseye/Dockerfile

Copy file name to clipboardExpand all lines: 3.14-rc/bullseye/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.14-rc/slim-bookworm/Dockerfile

Copy file name to clipboardExpand all lines: 3.14-rc/slim-bookworm/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.14-rc/slim-bullseye/Dockerfile

Copy file name to clipboardExpand all lines: 3.14-rc/slim-bullseye/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Dockerfile-linux.template

Copy file name to clipboardExpand all lines: Dockerfile-linux.template
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,10 @@ RUN set -eux; \
180180
--enable-shared \
181181
{{
182182
# <3.10 does not have -fno-semantic-interposition enabled and --with-lto does nothing for performance
183+
# skip LTO on alpine on riscv64: https://github.com/docker-library/python/pull/935, https://github.com/docker-library/python/pull/1038
183184
if rcVersion == "3.9" then "" else (
184185
-}}
185-
--with-lto \
186+
$(test "$gnuArch" != 'riscv64-linux-musl' && echo '--with-lto') \
186187
{{ ) end -}}
187188
--with-ensurepip \
188189
; \

‎generate-stackbrew-library.sh

Copy file name to clipboardExpand all lines: generate-stackbrew-library.sh
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,6 @@ for version; do
136136
;;
137137
esac
138138

139-
# https://github.com/docker-library/python/pull/931 (riscv64 builds on 3.11+ take way too long 😞)
140-
case "$version" in
141-
3.9 | 3.10) ;;
142-
*) variantArches="$(sed <<<" $variantArches " -e 's/ riscv64 / /g')" ;;
143-
esac
144-
145139
# https://github.com/python/cpython/issues/93619 (Linking error when building 3.11 beta on mips64le) + https://peps.python.org/pep-0011/ (mips is not even tier 3)
146140
case "$version" in
147141
3.9) ;;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.