ROCm/rocSOLVER

new rocsolver build error with fmt 9

nidjan opened this issue · 5 comments

Manjaro, aur build rocsolver
`[ 10%] Building CXX object library/src/CMakeFiles/rocsolver.dir/specialized/roclapack_getri_specialized_kernels_c.cpp.o

In file included from /var/tmp/pamac-build-chameleon/rocsolver/src/rocSOLVER-rocm-5.2.3/library/src/common/rocsolver_logger.cpp:12:

In file included from /var/tmp/pamac-build-chameleon/rocsolver/src/rocSOLVER-rocm-5.2.3/library/src/include/rocsolver_logger.hpp:7:

/usr/include/fmt/format.h:3122:38: error: implicit instantiation of undefined template 'fmt::detail::dragonbox::float_info'

const auto f = basic_fp<typename info::carrier_uint>(converted_value);
                                 ^

/usr/include/fmt/format.h:1408:46: error: implicit instantiation of undefined template 'fmt::detail::dragonbox::float_info'

using carrier_uint = typename dragonbox::float_info<Float>::carrier_uint;`
cgmb commented

I will be adding support for building rocSOLVER using fmt v9, but I should be clear that the official AMD releases use fmt v7 and support for newer versions is provided as best-effort.

Have you reported this problem to the AUR package maintainer, @tpkessler? Manjaro is not a platform that AMD officially supports, and figuring out how to adapt a library to the dependency versions provided by the distro is primarily the job of the distro package maintainer.

cgmb commented

The AUR bug report for this issue is rocm-arch/rocm-arch#850. A fix was applied in fmt with fmtlib/fmt@0b0f7cf, but there has not yet been a release.

cgmb commented

As far as I can tell, there's not anything for us to do in rocSOLVER. The problem is due to an unfortunate interaction between clang and fmt, but it should be resolved in the next release of fmt.

ok, and now i simple copy fmt7 files to fmt9 paths, and now build successfully

Closing as the issue seems to be resolved.