Skip to content

Conversation

waterkip
Copy link
Contributor

cpanm runs tests for everything it installs, which might be a good thing or a bad thing. It depends mostly on flavor. cpm will install modules without running tests by default for example. This commits still uses cpanm, but with the --notest flag so we can improve on our build times.

Closes: #195

cpanm runs tests for everything it installs, which might be a good thing
or a bad thing. It depends mostly on flavor. cpm will install modules
without running tests by default for example. This commits still uses
cpanm, but with the --notest flag so we can improve on our build times.

Closes: Perl#195

Signed-off-by: Wesley Schwengle <[email protected]>
generate.pl Outdated
@@ -319,6 +319,8 @@ =head1 DESCRIPTION
{{docker_copy_perl_patch}}
WORKDIR /usr/src/perl

ARG TARGETARCH
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately we don't officially support or recommend relying on TARGETARCH -- I would suggest using dpkg --print-architecture and/or apk --print-arch instead (I don't think we've got any Alpine here, but just in case / for completeness).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, ok. I'll change it

@waterkip waterkip force-pushed the 195-notest_for_cpanm branch 2 times, most recently from 8a3a8ad to b85018d Compare August 29, 2025 15:17
I tried to rely on TARGETARCH, but unfortunatly Docker doesn't
officially supports or recommends using it.

If we ever need alpine support: apk --print-arch

The testsuite takes to long on the single riscv64 for all trixie builds.

Context:
> Unfortunately, our singular riscv64 build server in Docker Official
> Images is unable to complete any of the perl image builds. We have a
> 3-hour time limit on all builds (to ensure things don't get stuck and
> prevent resource monopolization) and none of them are able to complete
> in that time. Is there anything that could be skipped or changed on
> riscv64 builds to help them complete faster?

https://doi-janky.infosiftr.net/job/meta/job/riscv64/job/build/13644/pipeline-overview/

Closes: Perl#195

Signed-off-by: Wesley Schwengle <[email protected]>
Signed-off-by: Wesley Schwengle <[email protected]>
Copy link
Contributor

@tianon tianon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀 👍

@waterkip waterkip force-pushed the 195-notest_for_cpanm branch from b85018d to 25f8602 Compare August 29, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

riscv64 trixie builds
2 participants