Some github tests failing due to missing `config.h` in jit compilation files
Starting tonight (4/11) some (but not all) of the github tests fail, e.g., https://github.com/dune-project/dune-testpypi/actions/runs/11690762289/job/32556451615 The error is
/usr/bin/c++ -DFV_NUM=0 -DHAVE_CONFIG_H -DHAVE_GMP=1 -DHAVE_MPI=1 -DHAVE_PTSCOTCH=1 -DHAVE_QUADMATH=1 -DHAVE_SCOTCH=1 -DHAVE_SUITESPARSE_AMD=1 -DHAVE_SUITESPARSE_BTF=1 -DHAVE_SUITESPARSE_CAMD=1 -DHAVE_SUITESPARSE_CCOLAMD=1 -DHAVE_SUITESPARSE_CHOLMOD=1 -DHAVE_SUITESPARSE_COLAMD=1 -DHAVE_SUITESPARSE_KLU=1 -DHAVE_SUITESPARSE_LDL=1 -DHAVE_SUITESPARSE_SPQR=1 -DHAVE_SUITESPARSE_UMFPACK=1 -DMPICH_SKIP_MPICXX=1 -DMPIPP_H -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -D_GLIBCXX_USE_FLOAT128 -D_MPICC_H -I/usr/include/python3.10 -isystem /usr/include/suitesparse -isystem /usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -O3 -DNDEBUG -O3 -DNDEBUG -fPIC -fext-numeric-literals -MD -MT python/dune/common/CMakeFiles/registerfvector_0.dir/registerfvector.cc.o -MF python/dune/common/CMakeFiles/registerfvector_0.dir/registerfvector.cc.o.d -o python/dune/common/CMakeFiles/registerfvector_0.dir/registerfvector.cc.o -c /tmp/pip-install-4e1m438_/dune-common_f64eb509a0664fd094024d85594e2256/python/dune/common/registerfvector.cc
/tmp/pip-install-4e1m438_/dune-common_f64eb509a0664fd094024d85594e2256/python/dune/common/registerfvector.cc:5:10: fatal error: config.h: No such file or directory
5 | #include <config.h>
| ^~~~~~~~~~
compilation terminated.
Should the config.h
include simply be replace with #include <dune-common-config.hh>
in python/dune/common/registerfvector.cc
?
Edited by Andreas Dedner