提交 350cdef6 编写于 作者: 李寅

Merge branch 'add-mac_os-install-doc' into 'master'

update doc for mac os users.

See merge request !923
...@@ -18,6 +18,9 @@ Required dependencies ...@@ -18,6 +18,9 @@ Required dependencies
* - Bazel * - Bazel
- `bazel installation guide <https://docs.bazel.build/versions/master/install.html>`__ - `bazel installation guide <https://docs.bazel.build/versions/master/install.html>`__
- 0.13.0 - 0.13.0
* - CMake
- Linux:``apt-get install cmake`` Mac:``brew install cmake``
- >= 3.11.3
* - Jinja2 * - Jinja2
- pip install jinja2==2.10 - pip install jinja2==2.10
- 2.10 - 2.10
...@@ -58,7 +61,7 @@ Optional dependencies ...@@ -58,7 +61,7 @@ Optional dependencies
- apt-get install cmake - apt-get install cmake
- >= 3.11.3 - >= 3.11.3
* - ADB * - ADB
- apt-get install android-tools-adb - Linux:``apt-get install android-tools-adb`` Mac:``brew cask install android-platform-tools``
- Required by Android run, >= 1.0.32 - Required by Android run, >= 1.0.32
* - TensorFlow * - TensorFlow
- pip install tensorflow==1.8.0 - pip install tensorflow==1.8.0
...@@ -87,3 +90,5 @@ For python dependencies, ...@@ -87,3 +90,5 @@ For python dependencies,
- 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 ``gnustl`` if ``NDK version >= r17b`` and ``bazel version >= 0.13.0``, please refer to `NDK cpp-support <https://developer.android.com/ndk/guides/cpp-support>`__. - It will link ``libc++`` instead of ``gnustl`` if ``NDK version >= r17b`` and ``bazel version >= 0.13.0``, please refer to `NDK cpp-support <https://developer.android.com/ndk/guides/cpp-support>`__.
- For Mac, please install Homebrew at first before installing other dependencies. Set ANDROID_NDK_HOME in ``/etc/bashrc`` and then run ``source /etc/bashrc``. This installation was tested with macOS Mojave(10.14).
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册