onnxruntime: pin to flatbuffers_23

Onnxruntime has hard asserts on major, minor and patch version of
flatbuffers.
This commit is contained in:
Martin Weinelt 2024-07-27 15:24:49 +02:00
parent 6e7c87e6f3
commit 8b5d036655
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -2,13 +2,12 @@
, stdenv
, lib
, fetchFromGitHub
, fetchpatch
, Foundation
, abseil-cpp
, cmake
, cpuinfo
, eigen
, flatbuffers
, flatbuffers_23
, gbenchmark
, glibcLocales
, gtest
@ -184,7 +183,7 @@ effectiveStdenv.mkDerivation rec {
"-DFETCHCONTENT_QUIET=OFF"
"-DFETCHCONTENT_SOURCE_DIR_ABSEIL_CPP=${abseil-cpp.src}"
"-DFETCHCONTENT_SOURCE_DIR_DATE=${howard-hinnant-date}"
"-DFETCHCONTENT_SOURCE_DIR_FLATBUFFERS=${flatbuffers.src}"
"-DFETCHCONTENT_SOURCE_DIR_FLATBUFFERS=${flatbuffers_23.src}"
"-DFETCHCONTENT_SOURCE_DIR_GOOGLETEST=${gtest.src}"
"-DFETCHCONTENT_SOURCE_DIR_GOOGLE_NSYNC=${nsync.src}"
"-DFETCHCONTENT_SOURCE_DIR_MP11=${mp11}"