Merge pull request #287992 from trofi/tensorflow-lite-gcc-13-fix
tensorflow-lite: fix `gcc-13` build failure
This commit is contained in:
commit
45c340d06a
1 changed files with 4 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue