summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiyang Wu <xgreenlandforwyy@gmail.com>2022-07-15 00:36:01 +0800
committerBenda Xu <heroxbd@gentoo.org>2022-09-22 09:07:53 +0800
commitbf026781f7abcde5aa1626abeefea7cfa7ea0a7d (patch)
tree357fc34e49374fbb0b4877bf4ca11273752d75ea /sci-libs/rocSPARSE/files
parentsci-libs/rocPRIM: add 5.1.3, using rocm.eclass (diff)
downloadgentoo-bf026781f7abcde5aa1626abeefea7cfa7ea0a7d.tar.gz
gentoo-bf026781f7abcde5aa1626abeefea7cfa7ea0a7d.tar.bz2
gentoo-bf026781f7abcde5aa1626abeefea7cfa7ea0a7d.zip
sci-libs/rocSPARSE: add 5.1.3, using rocm.eclass, enable py3.11
Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'sci-libs/rocSPARSE/files')
-rw-r--r--sci-libs/rocSPARSE/files/rocSPARSE-5.1.3-add-stdexcept-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-libs/rocSPARSE/files/rocSPARSE-5.1.3-add-stdexcept-header.patch b/sci-libs/rocSPARSE/files/rocSPARSE-5.1.3-add-stdexcept-header.patch
new file mode 100644
index 000000000000..c61c723ef4ad
--- /dev/null
+++ b/sci-libs/rocSPARSE/files/rocSPARSE-5.1.3-add-stdexcept-header.patch
@@ -0,0 +1,12 @@
+This fixes compilation issue with gcc-12
+===================================================================
+--- rocSPARSE-rocm-5.1.3.orig/clients/common/utility.cpp
++++ rocSPARSE-rocm-5.1.3/clients/common/utility.cpp
+@@ -29,6 +29,7 @@
+
+ #include <chrono>
+ #include <cstdlib>
++#include <stdexcept>
+
+ #ifdef WIN32
+ #define strcasecmp(A, B) _stricmp(A, B)