Package Details: blas-clblast 1.7.0-1

Git Clone URL: https://aur.archlinux.org/blas-clblast.git (read-only, click to copy)
Package Base: blas-clblast
Description: Tuned OpenCL BLAS library (with Netlib CBlas C API)
Upstream URL: https://github.com/CNugteren/CLBlast
Licenses: Apache-2.0
Conflicts: clblast
Provides: clblast, libclblast.so
Submitter: kaolinite7
Maintainer: kaolinite7
Last Packager: kaolinite7
Votes: 1
Popularity: 0.030264
First Submitted: 2026-03-23 06:46 (UTC)
Last Updated: 2026-08-20 10:51 (UTC)

Required by (11)

Sources (1)

Latest Comments

guiodic commented on 2026-08-22 00:55 (UTC)

src/CLBlast-1.7.0/src/tuning/tuning.cpp:118:34: error: format not a string literal and no format arguments [-Werror=format-security] 118 | const auto size = std::snprintf(nullptr, 0, format, std::forward<Args>(args)...); | ~^ /home/guido/.cache/paru/clone/blas-clblast/src/CLBlast-1.7.0/src/tuning/tuning.cpp:121:16: error: format not a string literal and no format arguments [-Werror=format-security] 121 | std::snprintf(&str[original_size], size + 1, format, std::forward<Args>(args)...); | ~^~~~ cc1plus: some warnings being treated as errors

I suppose you need this:

diff --git a/src/tuning/tuning.cpp b/src/tuning/tuning.cpp
index d8403028..0ac1b081 100644
--- a/src/tuning/tuning.cpp
+++ b/src/tuning/tuning.cpp
@@ -113,6 +113,8 @@ struct ThreadInfo {
   std::vector<size_t> local;
 };

+inline void addPrintInfo(std::string& str, const char text) { str += text; } + template <typename... Args> inline void addPrintInfo(std::string& str, const char format, Args&&... args) { const auto size = std::snprintf(nullptr, 0, format, std::forward<Args>(args)...);