1
0
Fork 0
skybolt-linux-docker/README.md

52 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2020-12-16 04:34:17 +00:00
# Skybolt Linux
## Introduction
Patches and Dockerfile for building Skybolt on Linux.
## Build procedure
1. Download asset packages (`Core_1_0_0.zip` `EarthMed_1_0_0.zip` and `Seattle_1_0_0.zip`) to current directory. Source: <https://piraxus.com/downloads/assetpackages.html>
2. Build skybolt docker image
2020-12-16 04:34:17 +00:00
```
docker build -f Dockerfile -t skybolt .
```
## Usage
2020-12-16 04:34:17 +00:00
The skybolt docker image requires hardware acceleration. How to enable hardware acceleration varies depending on GPU vendor.
### Intel GPU
Run tests:
```
xhost +
docker run --volume=/tmp/.X11-unix:/tmp/.X11-unix --device=/dev/dri:/dev/dri skybolt sh -c '(cd build && make test)'
```
Run MinimalApp:
2020-12-16 04:34:17 +00:00
```
xhost +
docker run -it --volume=/tmp/.X11-unix:/tmp/.X11-unix --device=/dev/dri:/dev/dri --env="DISPLAY=$DISPLAY" skybolt build/bin/MinimalApp
2020-12-16 04:34:17 +00:00
```
### NVIDIA GPU
See <https://github.com/NVIDIA/nvidia-docker>
## Status
* Libraries and programs building: YES
* Tests passing: YES
* MinimalApp running: YES
2020-12-16 04:34:17 +00:00
## Links
Skybolt project: <https://github.com/Piraxus/Skybolt>