* [gentoo-commits] repo/gentoo:master commit in: dev-libs/oneDNN/, dev-libs/oneDNN/files/
@ 2024-01-24 13:39 Alfredo Tupone
0 siblings, 0 replies; only message in thread
From: Alfredo Tupone @ 2024-01-24 13:39 UTC (permalink / raw
To: gentoo-commits
commit: 1148e3c7e08031e186abfb5a472d0d9293018424
Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Wed Jan 24 12:17:28 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jan 24 13:38:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1148e3c7
dev-libs/oneDNN: musl: fix compilation failure due to missing header
Upstream PR: https://github.com/oneapi-src/oneDNN/pull/1792
Closes: https://bugs.gentoo.org/922778
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34987
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-libs/oneDNN/files/oneDNN-3.3.3-include-cstdint.patch | 13 +++++++++++++
dev-libs/oneDNN/oneDNN-3.3.3.ebuild | 4 ++++
2 files changed, 17 insertions(+)
diff --git a/dev-libs/oneDNN/files/oneDNN-3.3.3-include-cstdint.patch b/dev-libs/oneDNN/files/oneDNN-3.3.3-include-cstdint.patch
new file mode 100644
index 000000000000..024c1350340e
--- /dev/null
+++ b/dev-libs/oneDNN/files/oneDNN-3.3.3-include-cstdint.patch
@@ -0,0 +1,13 @@
+Fix for dims.hpp:25:28: error: int64_t was not declared in this scope
+Bug: https://bugs.gentoo.org/922778
+Upstream fix: https://github.com/oneapi-src/oneDNN/pull/1792
+--- a/tests/benchdnn/utils/dims.hpp
++++ b/tests/benchdnn/utils/dims.hpp
+@@ -18,6 +18,7 @@
+ #define UTILS_DIMS_T_HPP
+
+ #include <cassert>
++#include <cstdint>
+ #include <iostream>
+ #include <string>
+ #include <vector>
diff --git a/dev-libs/oneDNN/oneDNN-3.3.3.ebuild b/dev-libs/oneDNN/oneDNN-3.3.3.ebuild
index 88b11ae05e38..6ce3ea96e786 100644
--- a/dev-libs/oneDNN/oneDNN-3.3.3.ebuild
+++ b/dev-libs/oneDNN/oneDNN-3.3.3.ebuild
@@ -31,6 +31,10 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}/${PN}-3.3.3-include-cstdint.patch"
+)
+
src_configure() {
local mycmakeargs=(
-DDNNL_LIBRARY_TYPE=$(usex static-libs STATIC SHARED)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-24 13:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-24 13:39 [gentoo-commits] repo/gentoo:master commit in: dev-libs/oneDNN/, dev-libs/oneDNN/files/ Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox