Skip to content

Commit

Permalink
Merge pull request #931 from infosiftr/riscv-speedup
Browse files Browse the repository at this point in the history
Attempt to speed up riscv64 builds
  • Loading branch information
tianon authored Jun 13, 2024
2 parents b968d48 + 2d4fb58 commit 676a087
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion 3.10/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 3.10/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 3.11/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 3.11/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 3.12/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 3.12/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 3.13-rc/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 3.13-rc/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Dockerfile-linux.template
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,15 @@ RUN set -eux; \
./configure \
--build="$gnuArch" \
--enable-loadable-sqlite-extensions \
{{
# skip optimizations on alpine on riscv64 (except python 3.8 and 3.9)
# only 3.8 and 3.9 complete building on riscv64 with optimizations, 3.10-3.13rc all hit the 3 hour limit
if (is_alpine | not) or ( [ "3.8", "3.9" ] | index(rcVersion) ) then (
-}}
--enable-optimizations \
{{ ) else ( -}}
$(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') \
{{ ) end -}}
--enable-option-checking=fatal \
--enable-shared \
{{
Expand Down

0 comments on commit 676a087

Please sign in to comment.