aboutsummaryrefslogtreecommitdiffstats
path: root/openvino/openvino.SlackBuild
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-09 21:12:06 +0200
committerDanilo M. <danix@danix.xyz>2026-07-09 21:12:06 +0200
commit6d8c4016c5f135d4a2ecc1247cb14623e4544dbd (patch)
tree42504b4c25ae8474e3e29c5a60b29db0d3174a19 /openvino/openvino.SlackBuild
parent5fce7502014a8629c95eb923d713a2950e707247 (diff)
downloadmy-slackbuilds-6d8c4016c5f135d4a2ecc1247cb14623e4544dbd.tar.gz
my-slackbuilds-6d8c4016c5f135d4a2ecc1247cb14623e4544dbd.zip
openvino: bundle xbyak instead of using the system packagemain
System xbyak's cmake config exports a bare -isystem /usr/include, which makes GCC 15 fail to resolve #include_next <stdlib.h> and aborts the build in src/core/model.cpp. Bundle openvino's pinned xbyak submodule (v7.23.1, commit 0d67fd15) via the bundle_dep helper and drop xbyak from REQUIRES, so find_package(xbyak) finds nothing system-wide and falls back to the bundled copy. Matches the approach the Arch PKGBUILD takes. The xbyak submodule sits directly at thirdparty/xbyak (no nested wrapper dir), so bundle_dep is called with thirdparty as the parent. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'openvino/openvino.SlackBuild')
-rw-r--r--openvino/openvino.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/openvino/openvino.SlackBuild b/openvino/openvino.SlackBuild
index e4c68f3..ec33633 100644
--- a/openvino/openvino.SlackBuild
+++ b/openvino/openvino.SlackBuild
@@ -35,6 +35,7 @@ COMMIT_FLATBUFFERS=595bf0007ab1929570c7671f091313c8fc20644e
COMMIT_ONNX=e709452ef2bbc1d113faf678c24e6d3467696e83
COMMIT_ITTAPI=ca45fef1a12cef3316e6ff362a4d36571270e392
COMMIT_PROTOBUF=f0dc78d7e6e331b8c6bb2d5283e06aa26883ca7c
+COMMIT_XBYAK=0d67fd1530016b7c56f3cd74b3fca920f4c3e2b4
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -116,6 +117,10 @@ bundle_dep thirdparty/flatbuffers flatbuffers "flatbuffers-$COMMIT_FLATBUFFERS.t
bundle_dep thirdparty/onnx onnx "onnx-$COMMIT_ONNX.tar.gz"
bundle_dep thirdparty/ittapi ittapi "ittapi-$COMMIT_ITTAPI.tar.gz"
bundle_dep thirdparty/protobuf protobuf "protobuf-$COMMIT_PROTOBUF.tar.gz"
+# Bundle xbyak rather than use the system package: its cmake config exports a
+# bare -isystem /usr/include, which breaks GCC 15's #include_next <stdlib.h>.
+# Its submodule sits directly at thirdparty/xbyak (no nested wrapper dir).
+bundle_dep thirdparty xbyak "xbyak-$COMMIT_XBYAK.tar.gz"
bundle_dep src/plugins/intel_cpu/thirdparty mlas "mlas-$COMMIT_MLAS.tar.gz"
bundle_dep src/plugins/intel_cpu/thirdparty onednn "oneDNN-$COMMIT_ONEDNN.tar.gz"
bundle_dep src/plugins/intel_gpu/thirdparty onednn_gpu "oneDNN-$COMMIT_ONEDNN_GPU.tar.gz"