diff options
author | 2023-07-28 22:34:37 +0800 | |
---|---|---|
committer | 2023-07-29 10:54:49 +0800 | |
commit | 640e352f19bbc428ce82f043b15f6677dfdc26ea (patch) | |
tree | 6e80ad8f7e7a8c6e6f002e718d52fd38e3811287 /sci-libs/rocSOLVER/files | |
parent | dev-util/roctracer: break the tight version coupling. (diff) | |
download | gentoo-640e352f19bbc428ce82f043b15f6677dfdc26ea.tar.gz gentoo-640e352f19bbc428ce82f043b15f6677dfdc26ea.tar.bz2 gentoo-640e352f19bbc428ce82f043b15f6677dfdc26ea.zip |
sci-libs/rocSOLVER: non-versioned dependency on libfmt.
Version bump to 5.4.2, in line with rocBLAS.
Bug: https://bugs.gentoo.org/908651
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'sci-libs/rocSOLVER/files')
-rw-r--r-- | sci-libs/rocSOLVER/files/rocSOLVER-5.4.2-libfmt9.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-libs/rocSOLVER/files/rocSOLVER-5.4.2-libfmt9.patch b/sci-libs/rocSOLVER/files/rocSOLVER-5.4.2-libfmt9.patch new file mode 100644 index 000000000000..3e0ef897b71e --- /dev/null +++ b/sci-libs/rocSOLVER/files/rocSOLVER-5.4.2-libfmt9.patch @@ -0,0 +1,34 @@ +commit bafa8f30b6f83d5f02bb65bb47b2943a0cb3c290 +Author: Cory Bloor <Cordell.Bloor@amd.com> +Date: Wed Jan 25 14:52:35 2023 -0700 + + Fix use of fmt 9.0 and later in logging test (#515) + + The implicitly defined formatter that rocsolver was using for + std::filesystem::path has been removed from fmt 9.0 and later. + + This change doesn't actually fix compatibility with the official + fmt 9.0 or 9.1 releases, because those releases are still + incompatible with HIP. However, the change is sufficient for using + rocsolver with fmt@9 from Spack (because the fix has been backported). + +diff --git a/clients/gtest/logging_gtest.cpp b/clients/gtest/logging_gtest.cpp +index e4f594a..da7ae04 100644 +--- a/clients/gtest/logging_gtest.cpp ++++ b/clients/gtest/logging_gtest.cpp +@@ -1,5 +1,5 @@ + /* ************************************************************************ +- * Copyright (c) 2022 Advanced Micro Devices, Inc. ++ * Copyright (c) 2022-2023 Advanced Micro Devices, Inc. + * ************************************************************************ */ + + #include <cstdlib> +@@ -49,7 +49,7 @@ protected: + { + if(HasFailure() && std::getenv("ROCSOLVER_TEST_DEBUG")) + fmt::print(stderr, "ROCSOLVER_TEST_DEBUG is set so {} was not removed.\n", +- log_filepath); ++ log_filepath.string()); + else + EXPECT_TRUE(fs::remove(log_filepath)); + } |