You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a VisionFive2 board that I currently use to build riscv64 packages for my software and php itself (https://hub.docker.com/r/danog/php), I'd be more than willing to set up a woodpecker runner and submit a PR with the configuration needed to run the php-src testsuite on native riscv64 hardware :)
QEMU is super slow compared to real hardware, for example here are some basic benchmarks compiling php-src, running on my visionfive2 board and on QEMU on an AMD EPYC 7401P:
AFAIK, all CIs currently used to test other php-src on arm64 and s390x run on native hardware. Woodpecker is a great FOSS CI system based on Docker meant for self-hosting, unlike GHA self-hosted runners which are an absolute mess to work with (and currently don't support riscv64, unless we were to use a reverse-engineered Golang implementation of GHA runners like https://github.com/ChristopherHX/github-act-runner).
Activity
mvorisek commentedon Sep 22, 2023
Wouldn't QEMU for RISC testing be better using standard GH (or any Docker based CI)?
danog commentedon Sep 22, 2023
QEMU is super slow compared to real hardware, for example here are some basic benchmarks compiling php-src, running on my visionfive2 board and on QEMU on an AMD EPYC 7401P:
./configure --enable-debug --without-pcre-jit --without-sqlite3 --without-pdo-sqlitestarfive (1m14s)
QEMU (6m45s)
make -j4starfive (7m52s)
QEMU: still in progress after 30m, aborted...
AFAIK, all CIs currently used to test other php-src on arm64 and s390x run on native hardware.
Woodpecker is a great FOSS CI system based on Docker meant for self-hosting, unlike GHA self-hosted runners which are an absolute mess to work with (and currently don't support riscv64, unless we were to use a reverse-engineered Golang implementation of GHA runners like https://github.com/ChristopherHX/github-act-runner).
NattyNarwhal commentedon Sep 22, 2023
I’d be worried about things like QEMU not properly emulating atomics, memory model, etc. Things that aren’t obvious, but can trip you up badly.