aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-22 11:32:12 +0200
committerDanilo M. <danix@danix.xyz>2026-09-22 11:32:12 +0200
commite130e07d9d0341b49c3d2f8fb2693fd822b69066 (patch)
treecdcc02262844c22a71e43acf09541dbd9690e484
parent2b2215d9bb7863c4ffa2224c43bc7195f53b7237 (diff)
downloadmy-slackbuilds-e130e07d9d0341b49c3d2f8fb2693fd822b69066.tar.gz
my-slackbuilds-e130e07d9d0341b49c3d2f8fb2693fd822b69066.zip
openvino: bundle abseil for protobufmain
Configuring 2026.4.0 failed with "The source directory thirdparty/protobuf/protobuf/third_party/abseil-cpp does not contain a CMakeLists.txt file". The protobuf commit this tag pins is 5.26.0, where the old one was 3.21, and 5.26.0 builds utf8_range, which pulls abseil in as a nested submodule of its own. Like every other submodule here it ships as an empty placeholder directory. Pinned to the abseil commit that protobuf commit references, and unpacked after protobuf so the path it goes into exists. The system protobuf cannot be used instead: openvino asks find_package for 5.26.0, and protobuf's cmake config only accepts a matching major, so Slackware's 36.1 is rejected rather than treated as newer. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
-rw-r--r--openvino/openvino.SlackBuild4
-rw-r--r--openvino/openvino.info2
2 files changed, 6 insertions, 0 deletions
diff --git a/openvino/openvino.SlackBuild b/openvino/openvino.SlackBuild
index 9e68adf..738ee0f 100644
--- a/openvino/openvino.SlackBuild
+++ b/openvino/openvino.SlackBuild
@@ -36,6 +36,9 @@ COMMIT_FLATBUFFERS=595bf0007ab1929570c7671f091313c8fc20644e
COMMIT_ONNX=2bb50465112feca9003e1ed654d77f01ff1415ca
COMMIT_ITTAPI=ca45fef1a12cef3316e6ff362a4d36571270e392
COMMIT_PROTOBUF=d6511091a0cab1ad13f676a02676ad2a0e5eb9ae
+# protobuf 5.26.0 needs utf8_range, which needs abseil as its own nested
+# submodule; pinned to the commit that protobuf commit references.
+COMMIT_ABSEIL=4a2c63365eff8823a5221db86ef490e828306f9d
COMMIT_XBYAK=431abd865e70a46d56f5aa0e1f87572decb60169
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -118,6 +121,7 @@ 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_dep thirdparty/protobuf/protobuf/third_party abseil-cpp "abseil-cpp-$COMMIT_ABSEIL.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).
diff --git a/openvino/openvino.info b/openvino/openvino.info
index 0297342..15b45a4 100644
--- a/openvino/openvino.info
+++ b/openvino/openvino.info
@@ -11,6 +11,7 @@ DOWNLOAD_x86_64="https://github.com/openvinotoolkit/openvino/archive/2026.4.0/op
https://github.com/onnx/onnx/archive/2bb50465112feca9003e1ed654d77f01ff1415ca/onnx-2bb50465112feca9003e1ed654d77f01ff1415ca.tar.gz \
https://github.com/intel/ittapi/archive/ca45fef1a12cef3316e6ff362a4d36571270e392/ittapi-ca45fef1a12cef3316e6ff362a4d36571270e392.tar.gz \
https://github.com/protocolbuffers/protobuf/archive/d6511091a0cab1ad13f676a02676ad2a0e5eb9ae/protobuf-d6511091a0cab1ad13f676a02676ad2a0e5eb9ae.tar.gz \
+ https://github.com/abseil/abseil-cpp/archive/4a2c63365eff8823a5221db86ef490e828306f9d/abseil-cpp-4a2c63365eff8823a5221db86ef490e828306f9d.tar.gz \
https://github.com/herumi/xbyak/archive/431abd865e70a46d56f5aa0e1f87572decb60169/xbyak-431abd865e70a46d56f5aa0e1f87572decb60169.tar.gz"
MD5SUM_x86_64="960ed31f149ffd06133890e46b41d6bc \
0e87473410db355fd9251a2e1337dc32 \
@@ -20,6 +21,7 @@ MD5SUM_x86_64="960ed31f149ffd06133890e46b41d6bc \
db6e4fd04dde8fa2c24ebb1eda1a7e41 \
66726ae396392a1fa43156a0c764ec5e \
3621730f9f5f183e4a59509e18ea5022 \
+ 5eabd519696e04d8c56566322cc63d65 \
781dbe38cb13c35947391500464a597f"
REQUIRES="pugixml tbb snappy OpenCL-CLHPP"
MAINTAINER="danix"