Explain how to enable tests

Fixes: https://github.com/GPUOpen-Drivers/llpc/issues/1826
This commit is contained in:
Jakub Kuderski 2022-05-30 12:08:07 -04:00 committed by Rex Xu
parent 580353bdb0
commit 386aef0e55

View File

@ -74,7 +74,7 @@ Please make each contribution reasonably small. If you would like to make a big
## Build Instructions
### System Requirements
It is recommended to install 16GB RAM in your build system.
It is recommended to install at least 16GB RAM in your build system.
### Build System
* CMake 3.15 or newer is required. [Download](https://cmake.org/download/) and install proper one if the cmake is older than 3.15.
@ -159,6 +159,7 @@ cmake --build builds/Release32
* For RedHat 7.x, please use cmake3(>= 3.15) instead of cmake.
* For debug build, use `-DCMAKE_BUILD_TYPE=Debug -DLLVM_PARALLEL_LINK_JOBS=2` (Linking a debug build of llvm is very memory intensive, so we use only two parallel jobs).
* To enable Wayland support, use `-DBUILD_WAYLAND_SUPPORT=ON`.
* To enable tests, use `-DXGL_BUILD_TESTS=ON`.
## Installation Instructions
### Install Vulkan SDK