Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
76 lines (47 sloc) 1.83 KB

Installation (Ubuntu 18.04)


Install the following packages in your system if they are still not available:

apt install \
    build-essential \
    cmake \

Install Bazel:

curl | apt-key add -
echo "deb [arch=amd64] stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
apt update
apt install bazel

Install the LunarG Vulkan SDK:

wget -qO - >> lunarg-signing-key-pub.asc
apt-key add lunarg-signing-key-pub.asc
wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.1.121-bionic.list
apt-get update
apt-get install lunarg-vulkan-sdk

Verify that the SDK was successfully installed by running:


C++ Libraries

Clone and compile Lluvia's C++ libraries:

git clone
cd lluvia
CC=clang bazel build //...

Run the tests to verify that your compilation runs properly:

CC=clang bazel test //...

Python3 package

To build the Python3 package, execute the commands below from the repository's top-level directory. You can create a virtual environment to isolate the installation:

cd python
pip3 install -r requirements.txt
CC=clang python3 build
python3 install

Open a Python3 interpreter and import lluvia package

import lluvia as ll
You can’t perform that action at this time.