- Check `delete` in meson.build. Recent versions of tflite need to check
this.
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
## nnapi delegate
if cxx.links('''
#include "tensorflow/lite/delegates/nnapi/nnapi_delegate.h"
- tflite::StatefulNnApiDelegate::StatefulNnApiDelegate ();
- int main() {return 0;}
+ int main() {
+ tflite::StatefulNnApiDelegate *nnapi_delegate = new tflite::StatefulNnApiDelegate ();
+ delete nnapi_delegate;
+ return 0;
+ }
''', dependencies : [tflite2_support_deps], name : 'nnapi delegate')
tflite2_compile_args += '-DTFLITE_NNAPI_DELEGATE_SUPPORTED'
endif