2020-12-15 23:34:17 -05:00
# Skybolt Linux
## Introduction
Patches and Dockerfile for building Skybolt on Linux.
## Build procedure
2020-12-20 04:03:05 -05:00
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-15 23:34:17 -05:00
```
docker build -f Dockerfile -t skybolt .
```
2020-12-20 04:03:05 -05:00
## Usage
2020-12-15 23:34:17 -05:00
2020-12-20 04:03:05 -05: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-15 23:34:17 -05:00
```
2020-12-20 04:03:05 -05: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-15 23:34:17 -05:00
```
2020-12-20 04:03:05 -05:00
### NVIDIA GPU
See < https: / / github . com / NVIDIA / nvidia-docker >
## Status
* Libraries and programs building: YES
* Tests passing: YES
* MinimalApp running: YES
2020-12-15 23:34:17 -05:00
## Links
Skybolt project: < https: / / github . com / Piraxus / Skybolt >