“e3fb9821eb5d5a567ad3490e1a889fdf66e63de9”上不存在“tools/python/micro/jinja2_files/micro_net_def.h.jinja2”
提交 95e1a6a5 编写于 作者: Y yejianwu

support ndk17

上级 0d94aeae
...@@ -45,7 +45,7 @@ Optional dependencies ...@@ -45,7 +45,7 @@ Optional dependencies
- Remark - Remark
* - Android NDK * - Android NDK
- `NDK installation guide <https://developer.android.com/ndk/guides/setup#install>`__ - `NDK installation guide <https://developer.android.com/ndk/guides/setup#install>`__
- Required by Android build, r15b, r15c, r16b - Required by Android build, r15b, r15c, r16b, r17b
* - ADB * - ADB
- apt-get install android-tools-adb - apt-get install android-tools-adb
- Required by Android run, >= 1.0.32 - Required by Android run, >= 1.0.32
...@@ -64,4 +64,5 @@ Optional dependencies ...@@ -64,4 +64,5 @@ Optional dependencies
.. note:: .. note::
For Android build, `ANDROID_NDK_HOME` must be confifigured by using ``export ANDROID_NDK_HOME=/path/to/ndk`` - For Android build, `ANDROID_NDK_HOME` must be confifigured by using ``export ANDROID_NDK_HOME=/path/to/ndk``
- It will link ``libc++`` instead of ``libgnustl`` if NDK version not less than ``17``
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#define MACE_BENCHMARK_STATISTICS_H_ #define MACE_BENCHMARK_STATISTICS_H_
#include <algorithm> #include <algorithm>
#include <cmath>
#include <iomanip> #include <iomanip>
#include <limits> #include <limits>
#include <map> #include <map>
......
...@@ -57,6 +57,7 @@ class KVStorage { ...@@ -57,6 +57,7 @@ class KVStorage {
virtual const std::vector<unsigned char> *Find(const std::string &key) = 0; virtual const std::vector<unsigned char> *Find(const std::string &key) = 0;
// return: 0 for success, -1 for error // return: 0 for success, -1 for error
virtual int Flush() = 0; virtual int Flush() = 0;
virtual ~KVStorage() {}
}; };
class KVStorageFactory { class KVStorageFactory {
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <functional> #include <functional>
#include <iomanip> #include <iomanip>
#include <iostream> #include <iostream>
#include <numeric>
#include <string> #include <string>
#include <sstream> #include <sstream>
#include <vector> #include <vector>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册