The tests should behave as before with openmpi 5.0.2-4 where the warnings were disabled (by default): https://gitlab.archlinux.org/archlinux/packaging/packages/openmpi/-/commit/ca64cda9e8dcf1460936132eb73e666741a5c38e
So you might want to remove the following from the PKGBUILD:
export OMPI_MCA_opal_warn_on_missing_libcuda=0
if [ -z "$(ldconfig -p | grep libamdhip64.so)" ] || [ -z "$(ldconfig -p | grep libucc.so)" ]; then
echo "skipping tests"
else
The petsc check target is still bad though, treating all warnings as errors is very naive...
Pinned Comments
MartinDiehl commented on 2022-10-06 10:26 (UTC)
@jrohwer
When building PETSc (more specifically, petsc4py), one test (ex100 from ksp) will fail if a previous (major) version is installed. I could not figure out why this happens. The solution would be to build in a clean root (which is a little bit complicated due to dependency on other AUR packages) or simply uninstall the old version before.
Any help to solve this issue is welcomed.