Merge pull request #287992 from trofi/tensorflow-lite-gcc-13-fix

tensorflow-lite: fix `gcc-13` build failure
This commit is contained in:
Mario Rodas 2024-02-11 14:03:40 -05:00 committed by GitHub
commit 45c340d06a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,6 +84,10 @@ buildBazelPackage rec {
postPatch = ''
rm .bazelversion
# Fix gcc-13 build failure by including missing include headers
sed -e '1i #include <cstdint>' -i \
tensorflow/lite/kernels/internal/spectrogram.cc
'';
preConfigure = ''