19 Commits

Author SHA1 Message Date
Kent Knox
078b40bad5 Adding dev/* dockerfiles meant to serve as base images
New dockerfiles exist in a subdirectory called /dev.  These are
meant to serve as base docker images downstream dockerfiles
use in FROM statements

Fixed stale URL's and fixed up the name of the rocm kernel packages.
2017-11-08 10:26:27 -06:00
Kent Knox
a56a4bc80a hcc-lc builds a debian package and then installs the deb
The .deb automates the setting up of symbolic links

hcc-lc service exports compiler into named volume
2017-01-20 16:19:41 -06:00
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
ff4adb7fb0 Added new dockerfiles that install from binary debians
Renamed existing files to distinguish cmake builds from debian builds
Renamed rocm-setup to be shorter
Refactored parameter parsing in setup.sh to use getopt
2017-01-05 14:42:55 -06:00
Kent Knox
ee13500099 Updating rocm-terminal to install rocm v1.3 packages
Base image updated to Ubuntu 16.04
Removed build-essential
added sudo
2016-11-16 11:03:27 -06:00
Kent Knox
56c07b9609 hcc-lc configuration changes to build clang_tot_upgrade
Cleaning up dockerfiles to remove entrypoints; these containers are
meant to be used more as data containers
Updated readme
Problems getting roct to build with cmake; using deb package for now
2016-10-03 13:55:04 -05:00
Kent Knox
5d75555923 Fixing install path for roct
Not compiling llvm-amdgpu-assembler-extra examples in hcc-lc
2016-05-13 16:31:31 -05:00
Kent Knox
a3746b2bbf Updates to README to describe new 1.0 containers
Removed the setenv scripts which are no longer needed
Refactored 'lib' install path
Changed the names of application targets in .yml file
2016-04-29 15:54:13 -05:00
Kent Knox
0161194416 Adding HSAIL binary blogs to rocr container
Removing WORKPATH from most data-only containers
Reverted hcc-hsail to master branch for --develop based on
failure to build
2016-04-28 15:22:55 -05:00
Kent Knox
24318085b7 Refactoring after ROCm 1.0 release
ROCm installation paths have changed, and the 1.0 release created a
new installation heirarchy.
2016-04-26 11:56:36 -05:00
Kent Knox
58afacef99 Opt rocm dir (#8)
* Changes to the installation directory for roct & rocr

Both projects are adopting a new directory layout convention

* Updating install paths in roct and hcc-isa projects
2016-04-14 17:34:41 -05: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
Kent Knox
ad74514f86 Updating README documentation
Updated main README file to contain new instruction for the tempating
preprocessor.  Removed stale README files from all sub-projects.

Fixed roc-setup to execute docker build
2016-03-09 10:01:59 -06:00
Kent Knox
e114a18a69 Changing docker build scripts into a templating engine
The ROC infrastructure has a few permutations that are useful
in different circumstances.  Namely, the branch to build source from
and the build configuration.  Instead of creating seperate dockerfiles
for each variant, which could explode, the setup script has been
changed into a templating engine, wherin it transforms a docker template
file into a real dockerfile by substituting keywards.  It is similar
to a pre-processor for the dockerfiles.
2016-03-09 09:13:11 -06:00
Kent Knox
a2211fd8e1 Defaulting to dev branch on components
The /dev branch is receiving updates, and it's not sure when the /master
branch will be pushed into.  Switching the dockerfiles to use the /dev
branch so that we can test out the latest features.
2016-03-08 12:16:38 -06:00
Kent Knox
227e6879f0 Changing dockerfiles to pull from develop branches
Dockerfiles have been changed to pull from the develop
branches by default.  Release dockerfiles will now clean
up the entire build trees to keep the images as small as
possible.
2016-03-07 12:00:53 -06:00
Kent Knox
69825abcdf Significant refactoring of dockerfiles
-  created separate debug and release builds
-  optimized build steps in several layers
Readme files refreshed and redesigned
2016-02-15 15:58:16 -06:00
Kent Knox
5159f96239 Added readme files for how to build docker containers.
Added different dockerfiles to build the runtime or to install
from prepackaged ubuntu packages.  Refactored a lot of the
dockerfiles, to minimize install size and to install libraries and
configuring their location with ldconfig
2016-02-12 14:46:39 -06:00
Kent Knox
5e18be02e2 Adding docker build contexts for rock and roct 2016-02-10 17:28:43 -06:00