2 Commits

Author SHA1 Message Date
Kent Knox
50f2ad2687 Refactor setup file to support debian and source builds
Introduced concept of docker-compose .env file
Both debian and cmake template files are expanded

setup now generates both deb and src dockerfiles at the same time.
docker-compose.yml is changed to not a template file, and can build
both src and debian images

Removed the per-component parameters from setup.sh
renamed template files to change 'cmake' to 'src'

Modifications to src builds of roct & rocr

Neither of these components build into debians yet

Also, it looks like each component is not creating the
softlinks they should.
2017-01-20 16:00:34 -06:00
Kent Knox
3a10ee9adb Adding docker-compose functionality (#6)
* Adding docker-compose

Adding docker-compose configuration file to define how containers
should be linked and what data to share.
Adding setenv files to the hcc containers

* New templating engine to generate dockerfiles on disk

Changing roc-setup script to generate dockerfiles, so
images are built with build contexts.  Now, roc-setup only
generates dockerfiles, and leverages the docker-compose utility to
build images and compose the shared volumes

* Adding thunk and runtime to docker compose file

Building the thunk and runtime components with docker
compose.  Refactoring of various template files.

* Further docker-compose development

Added lots of little features and refactorings
1.  Eliminated remove-image and dry-run options from roc-setup as
redundant
2.  Templated the install location of volumes
3.  Rewrote the README file
4.  Fixes to the install procedure for ROCT

* Extracting binary hsa libraries, adding kfd device passthrough

HSAIL generated binaries need libraries available in the ROCR debian
package to properly function.
The docker-compose yaml file now passes /dev/kfd access through to the
container
Various cleanup of docker template files

* docker-compose.yml.template fix

The image names for the example rocm-project services were the
same
2016-04-07 12:33:30 -05:00