public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/onednn] xpu-support-single-build: Fix OpenCL build on ppc64le
@ 2026-10-19 21:40 Adam Jackson
0 siblings, 0 replies; only message in thread
From: Adam Jackson @ 2026-10-19 21:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/onednn
Branch : xpu-support-single-build
Commit : f946b4ff0fb4d8a865715daf77aad6d7fb8e4506
Author : Adam Jackson <ajax@redhat.com>
Date : 2024-10-21T10:25:48-04:00
Stats : +3/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/onednn/c/f946b4ff0fb4d8a865715daf77aad6d7fb8e4506?branch=xpu-support-single-build
Log:
Fix OpenCL build on ppc64le
<altivec.h> doesn't work well before C11/C++17 due to the way it
redefines things like 'bool' and 'vector'. While we're here stop
building the examples since they don't get installed.
---
diff --git a/onednn.spec b/onednn.spec
index eeb354b..76e0019 100644
--- a/onednn.spec
+++ b/onednn.spec
@@ -53,13 +53,11 @@ developing applications that use %{name}.
%build
%cmake \
-%ifarch ppc64le
- -DDNNL_ARCH_OPT_FLAGS=""
-%endif
-%ifarch aarch64 x86_64 s390x
-DDNNL_ARCH_OPT_FLAGS="" \
+ -DDNNL_BUILD_EXAMPLES=OFF \
+ -DCMAKE_C_STD=11 \
+ -DCMAKE_CPP_STD=17 \
-DONEDNN_GPU_RUNTIME=OCL
-%endif
%cmake_build
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-19 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 21:40 [rpms/onednn] xpu-support-single-build: Fix OpenCL build on ppc64le Adam Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox