Replies: 3 comments
-
@dmnks feel free to correct/extend, but the test-suite does run as a separate step in the "native" mode using already built binaries. That's only supported on Fedora at the moment but that's AIUI just a matter of somebody adding + maintaining a native dockerfile for their target distro. |
Beta Was this translation helpful? Give feedback.
-
@pmatilai I was referring to |
Beta Was this translation helpful? Give feedback.
-
Oh. Reading more carefully now, I can see a lack of "the" and a relevant plural in "running test suites" 😅 Adjusted the title to make it clear. All the build scriptlets have (some) support for remote execution through this:
It requires setting up some shared mounts of course (for %_tmpdir and the build area at least), I've never tried that in practise. |
Beta Was this translation helpful? Give feedback.
-
To the best of my understanding, cross-compilation currently is incompatible with running test suites, unless one uses QEMU or other pure-software emulation mechanisms. These cause problems with code that depends on CPU features.
At the same time, the rise of languages such as Rust and C++, which require more CPU and RAM during build, is making it very difficult to natively compile on slow processors.
One potential solution would be for RPM to support running the test suite remotely, or at least in a separate step.
Beta Was this translation helpful? Give feedback.
All reactions