Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diasurgical/riivaaja
Docker build system for devilution using the original tools
https://github.com/diasurgical/riivaaja
docker toolchain
Last synced: 12 days ago
JSON representation
Docker build system for devilution using the original tools
- Host: GitHub
- URL: https://github.com/diasurgical/riivaaja
- Owner: diasurgical
- License: unlicense
- Created: 2018-08-23T21:28:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-09T20:54:46.000Z (about 5 years ago)
- Last Synced: 2024-07-31T14:10:10.045Z (3 months ago)
- Topics: docker, toolchain
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 4
- Watchers: 12
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Riivaaja
Docker build system for devilution using the original tools.
In order to verify the accuracy of the source code and to generate a binary that is as close as possible to the original one, it is necessary to compile it using the original toolchain. This tool generates a docker image that can be used to compile devilution on any platform with that toolchain.
This build system is used in the devilution CI system as well in order to make sure that all changes can be compiled with the original toolchain and also calculate the accuracy of the binary.
## Running
In order to use it to compile the source simply run the following command from the devilution root folder:
```plain
docker run --rm -v $(pwd):/root/devilution diasurgical/riivaaja
```To have it generate a pdb file for use with [Devilution-comparer](https://github.com/diasurgical/devilution-comparer) simply set the MAKE_BUILD enviroment variable to "pdb":
```plain
docker run --rm -v $(pwd):/root/devilution -e MAKE_BUILD=pdb diasurgical/riivaaja
```## Building a new image
Place the files for Visual C++ 5 SP3 (DevStudio_5.10) and Visual C++ SP5 PP5 (VS6) in the Riivaaja root folder. Make sure the versions of VC actually support optimizations (Professional and higher). Optionally use Devilution-comparer to generate a orig_full.asm and put it in the root to allow Riivaaja to generate a project status.
Then run the following command:
```plain
docker build -t diasurgical/riivaaja:latest .
docker push diasurgical/riivaaja:latest
```Make sure that all the files needed have the right casing (see the `.dockerignore` file).
## In the future
We aim to expand this to support the following:
- Artifact generation