Boost.Multiprecision has some bugs that causes build failures with nvcc (CUDA compiler). This affects DOLFINx when building with nvcc, and when building code against DOLFINx using nvcc because the Boost.Multiprecision gets exposed in the public interface (it would be better if it didn't).
See boostorg/math#1285 and boostorg/multiprecision#695.