From 828014831f922ef1d70fa62a0345d499ca459e9a Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Wed, 26 Jul 2017 05:20:30 -0700 Subject: [PATCH] reformat and update README.md --- README.md | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 1e4a75e..23db8a2 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,20 @@ -# Build under Ubuntu - -```sudo apt install software-properties-common wget -wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - -sudo apt-add-repository 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main' -sudo apt update -sudo apt install build-essential git clang-4.0 llvm-4.0-dev cmake zlib1g-dev -git clone https://github.com/programmerjake/vulkan-cpu.git -cd vulkan-cpu -mkdir build -cd build -cmake .. -DCMAKE_CXX_COMPILER="`which clang++-4.0`" -DCMAKE_C_COMPILER="`which clang-4.0`" -DCMAKE_BUILD_TYPE=Debug -make -``` \ No newline at end of file +# Vulkan-cpu + +Work-in-progress for Vulkan implementation on cpu + +## Build under Ubuntu 16.04 (xenial) + + sudo apt install software-properties-common wget + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - + sudo apt-add-repository 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main' + sudo apt update + sudo apt install build-essential git clang-4.0 llvm-4.0-dev cmake zlib1g-dev + git clone https://github.com/programmerjake/vulkan-cpu.git + cd vulkan-cpu + mkdir build + cd build + cmake .. -DCMAKE_CXX_COMPILER="`which clang++-4.0`" -DCMAKE_C_COMPILER="`which clang-4.0`" -DCMAKE_BUILD_TYPE=Debug + make + +Using the version of LLVM that comes with Ubuntu doesn't work. +See [Issue #1](https://github.com/programmerjake/vulkan-cpu/issues/1) for more details. -- 2.30.2