tensorflow-lite: fix gcc-13
build failure
Without the change build fails on `master` as https://hydra.nixos.org/build/249064918: tensorflow/lite/kernels/internal/spectrogram.cc:46:22: error: 'uint32_t' was not declared in this scope 46 | inline int Log2Floor(uint32_t n) { | ^~~~~~~~
This commit is contained in:
parent
ef6206934d
commit
d15e6302d6
@ -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 New Issue
Block a user