Skip to content
Snippets Groups Projects
Commit 01354398 authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Extra explanation on how installer relays CMake args

parent 0d287115
No related branches found
No related tags found
No related merge requests found
......@@ -71,11 +71,22 @@ Use HPVM installer script to download, configure and build HPVM along with LLVM
./install.sh
* Without arguments, this script will interactively prompt you for some parameters.
Alternatively, use ``./install.sh -h`` for a list of available arguments
and pass arguments as required.
* ``./install.sh`` can relay additional arguments to CMake, but the dash must be dropped
regardless of using prompt or CLI arguments.
For example,
.. code-block:: shell
./install.sh -j32 DCMAKE_BUILD_TYPE=Release
will compile HPVM with 32 threads in Release mode; similarly, inputting
``DCMAKE_BUILD_TYPE=Release`` to the prompt will also send ``-DCMAKE_BUILD_TYPE=Release``
to CMake which gives a build in Release mode.
After configuring HPVM,
the installer will also compile HPVM by default, which you can opt out of.
If you do so, follow the next section "Manually Build HPVM" to manually compile HPVM,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment