From 3e9a0dcdd3cd75e6726fc41584c243380e97df10 Mon Sep 17 00:00:00 2001 From: Tobias Frisch <tfrisch@uni-koblenz.de> Date: Sat, 9 Oct 2021 01:12:52 +0200 Subject: [PATCH] [#19] Adjusted build details for clang to be more accurate Signed-off-by: Tobias Frisch <tfrisch@uni-koblenz.de> --- doc/BUILD_LINUX.md | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/doc/BUILD_LINUX.md b/doc/BUILD_LINUX.md index 61087182..ac37950e 100644 --- a/doc/BUILD_LINUX.md +++ b/doc/BUILD_LINUX.md @@ -27,25 +27,4 @@ cmake --build . ## How to build with Clang on Archlinux by the way -1. Install required and useful tools to develop: -``` -sudo pacman -S cmake clang vulkan-icd-loader vulkan-headers vulkan-validation-layers vulkan-tools -``` -2. Install the matching Vulkan drivers for your system: -``` -# For discrete Nvidia GPUs: -sudo pacman -S nvidia - -# For integrated or discrete Radeon GPUs: -sudo pacman -S vulkan-radeon - -# For integrated or discrete Intel GPUs: -sudo pacman -S vulkan-intel -``` -3. Clone the repository and run the following commands: -``` -mkdir debug -cd debug -cmake -DCMAKE_C_COMPILER="/usr/bin/clang" -DCMAKE_CXX_COMPILER="/usr/bin/clang++" -DCMAKE_BUILD_TYPE=Debug .. -cmake --build . -``` +Just follow the steps of "How to build with GCC on Archlinux by the way" but replace `gcc` with `clang` and `g++` with `clang++`. -- GitLab