Skip to content

Commit 5a7f390

Browse files
committed
Don't run the testsuite on riscv64
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: #195 Signed-off-by: Wesley Schwengle <[email protected]>
1 parent 3ea8171 commit 5a7f390

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

generate.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ =head1 DESCRIPTION
319319
{{docker_copy_perl_patch}}
320320
WORKDIR /usr/src/perl
321321
322+
ARG TARGETARCH
323+
322324
RUN {{docker_slim_run_install}} \
323325
&& curl -fL {{url}} -o perl-{{version}}.tar.gz \
324326
&& echo '{{sha256}} *perl-{{version}}.tar.gz' | sha256sum --strict --check - \
@@ -330,7 +332,7 @@ =head1 DESCRIPTION
330332
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \
331333
&& ./Configure -Darchname="$gnuArch" "$archFlag" {{args}} {{extra_flags}} -des \
332334
&& make -j$(nproc) \
333-
&& {{test}} \
335+
&& { [ "${TARGETARCH}" = 'riscv64' ] || {{test}}; } \
334336
&& make install \
335337
&& cd /usr/src \
336338
&& curl -fLO {{cpanm_dist_url}} \

0 commit comments

Comments
 (0)