Skip to content

Commit 66a258d

Browse files
committed
Don't run Perl tests when on riscv64
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: #195 Signed-off-by: Wesley Schwengle <[email protected]>
1 parent 3ea8171 commit 66a258d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ =head1 DESCRIPTION
330330
&& archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" \
331331
&& ./Configure -Darchname="$gnuArch" "$archFlag" {{args}} {{extra_flags}} -des \
332332
&& make -j$(nproc) \
333-
&& {{test}} \
333+
&& { [ "$(dpkg --print-architecture)" = 'riscv64' ] || {{test}}; } \
334334
&& make install \
335335
&& cd /usr/src \
336336
&& curl -fLO {{cpanm_dist_url}} \

0 commit comments

Comments
 (0)