Skip to content
Snippets Groups Projects
Commit c959cfa0 authored by Akash Kothari's avatar Akash Kothari :speech_balloon:
Browse files

Update README.md

parent 8c20a590
No related branches found
No related tags found
No related merge requests found
...@@ -16,13 +16,13 @@ You would need to download and install the following components for using AVX an ...@@ -16,13 +16,13 @@ You would need to download and install the following components for using AVX an
Checkout HPVM: Checkout HPVM:
```shell ```shell
git clone https://gitlab.engr.illinois.edu/llvm/hpvm.git git clone https://gitlab.engr.illinois.edu/llvm/hpvm.git
git checkout hpvm-reorg-9 (this step may not be needed once code is mirrored on Github) git checkout hpvm-reorg-9 (this step may not be needed once code is mirrored on Github)
``` ```
HPVM installer script can be used to dowwnload, configure and build HPMV along with LLVM and other subprojects including Clang. HPVM installer script can be used to dowwnload, configure and build HPMV along with LLVM and other subprojects including Clang.
```shell ```shell
bash install.sh bash install.sh
``` ```
Specifically, the HPVM installer downloads the LLVM, Clang, compiler-rt, libcxxabi and lld, copies HPVM source into Specifically, the HPVM installer downloads the LLVM, Clang, compiler-rt, libcxxabi and lld, copies HPVM source into
llvm/tools and build the entire tree. LLVM C-Backend is also built as a part of HPVM and is currently used to perform llvm/tools and build the entire tree. LLVM C-Backend is also built as a part of HPVM and is currently used to perform
...@@ -30,24 +30,16 @@ code generation in OpenCL for GPUs. The script provides you with an option to ch ...@@ -30,24 +30,16 @@ code generation in OpenCL for GPUs. The script provides you with an option to ch
Alternatively, CMake can be run manually. Alternatively, CMake can be run manually.
```shell ```shell
cd hpvm/build cd hpvm/build
cmake ../llvm [options] cmake ../llvm [options]
``` ```
Some common options that can be used with CMake are: Some common options that can be used with CMake are:
```
-DCMAKE_INSTALL_PREFIX=directory
```
--- Specify for directory the full pathname of where you want the HPVM tools and libraries to be installed.
``` * -DCMAKE_INSTALL_PREFIX=directory --- Specify for directory the full pathname of where you want the HPVM tools and libraries to be installed.
-DCMAKE_BUILD_TYPE=type
```
--- Valid options for type are Debug, Release, RelWithDebInfo, and MinSizeRel. Default is Debug.
``` * -DCMAKE_BUILD_TYPE=type --- Valid options for type are Debug, Release, RelWithDebInfo, and MinSizeRel. Default is Debug.
-DLLVM_ENABLE_ASSERTIONS=On
``` * -DLLVM_ENABLE_ASSERTIONS=On --- Compile with assertion checks enabled (default is Yes for Debug builds, No for all other build types).
--- Compile with assertion checks enabled (default is Yes for Debug builds, No for all other build types).
#Building hpvm runtime #Building hpvm runtime
HPVM also includes a runtime library which comprises of low-level, target-specific wrappers required by HPVM's code generation. HPVM also includes a runtime library which comprises of low-level, target-specific wrappers required by HPVM's code generation.
......
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