mherkazandjian commented on a change in pull request #7917: URL: https://github.com/apache/tvm/pull/7917#discussion_r622016346
########## File path: docs/install/from_source.rst ########## @@ -51,27 +51,31 @@ Build the Shared Library Our goal is to build the shared libraries: -- On Linux the target library are `libtvm.so` -- On macOS the target library are `libtvm.dylib` -- On Windows the target library are `libtvm.dll` + - On Linux the target library are `libtvm.so` and `libtvm_runtime.so` + - On macOS the target library are `libtvm.dylib` and `libtvm_runtime.dylib` + - On Windows the target library are `libtvm.dll` and `libtvm_runtime.dll` +It is also possible to :ref:`build the runtime <deploy-and-integration>` library only. + +The minimal building requirements for the ``TVM`` libraries are: + + - A recent c++ compiler supporting C++ 14 (g++-5 or higher) + - CMake 3.5 or higher + - We highly recommend to build with LLVM to enable all the features. + - If you want to use CUDA, CUDA toolkit version >= 8.0 is required. If you are upgrading from an older version, make sure you purge the older version and reboot after installation. + - On macOS, you may want to install `Homebrew <https://brew.sh>` to easily install and manage dependencies. + +To install the these minimal pre-requisites on Ubuntu/Debian like +linux operating systems, execute (in a terminal): .. code:: bash sudo apt-get update sudo apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake libedit-dev libxml2-dev -The minimal building requirements are - -- A recent c++ compiler supporting C++ 14 (g++-5 or higher) -- CMake 3.5 or higher -- We highly recommend to build with LLVM to enable all the features. -- If you want to use CUDA, CUDA toolkit version >= 8.0 is required. If you are upgrading from an older version, make sure you purge the older version and reboot after installation. -- On macOS, you may want to install `Homebrew <https://brew.sh>` to easily install and manage dependencies. - We use cmake to build the library. -The configuration of TVM can be modified by `config.cmake`. +The configuration of TVM can be modified by `config.cmake` (and/or by passing cmake flags to the command line): Review comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
