From cddc67b403601454d5d64ebe99b4bf745935289d Mon Sep 17 00:00:00 2001 From: Hideto Ueno Date: Fri, 20 Dec 2019 15:19:03 +0900 Subject: [PATCH 1/2] [DOCS] Mention Ninja build system in install/from_source.rst --- docs/install/from_source.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/install/from_source.rst b/docs/install/from_source.rst index acbd9b413d74..02b0a5ad9bcc 100644 --- a/docs/install/from_source.rst +++ b/docs/install/from_source.rst @@ -107,6 +107,14 @@ The configuration of TVM can be modified by `config.cmake`. cmake .. make -j4 + - You can also use Ninja build system instead of Unix Makefiles. It is said that Ninja runs faster than Makefiles. + + .. code:: bash + + cd build + cmake .. -G Ninja + ninja + If everything goes well, we can go to :ref:`python-package-installation` Building on Windows From e410c34cf4f3c401ca085b64189144f1a0e0a438 Mon Sep 17 00:00:00 2001 From: Hideto Ueno Date: Fri, 20 Dec 2019 16:55:05 +0900 Subject: [PATCH 2/2] Address comments --- docs/install/from_source.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install/from_source.rst b/docs/install/from_source.rst index 02b0a5ad9bcc..c4d0c590638d 100644 --- a/docs/install/from_source.rst +++ b/docs/install/from_source.rst @@ -107,7 +107,7 @@ The configuration of TVM can be modified by `config.cmake`. cmake .. make -j4 - - You can also use Ninja build system instead of Unix Makefiles. It is said that Ninja runs faster than Makefiles. + - You can also use Ninja build system instead of Unix Makefiles. It can be faster to build than using Makefiles. .. code:: bash