167 Commits

Author SHA1 Message Date
Kent Knox
3042797227 Merge pull request #23 from kknox/develop
Adding documentation about device storage drivers
2017-03-03 15:32:58 -06:00
Kent Knox
f555443d36 Adding documentation about device storage drivers 2017-03-03 15:31:15 -06:00
Kent Knox
d9f4e4e070 Merge pull request #22 from kknox/develop
Fix for building clang_tot_upgrade on ubuntu 16.04
2017-01-31 15:19:05 -06:00
Kent Knox
b1cd3896a0 Fix for building clang_tot_upgrade on ubuntu 16.04
Also change strings to select target ISA for Fiji & Hawaii
2017-01-31 14:48:32 -06:00
Kent Knox
913752eeab Merge pull request #21 from kknox/setup-refactor
Refactoring of the setup script
2017-01-20 16:26:34 -06:00
Kent Knox
01065a6164 Download the latest version of docker-compose
Add hip volume prepare hip files to be imported into other services

Updated readme documentation to reflect changes to setup
2017-01-20 16:20: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
1c9390594d Merge pull request #20 from kknox/build-v1.4
Build v1.4
2016-12-19 19:35:40 -06:00
Kent Knox
0eabd6db87 Modified the rocm-terminal dockerfile
Append /opt/rocm/bin path through dockerfile ENV
Removed cmake as a packaged dependency to reduce image
2016-12-19 19:19:29 -06:00
Kent Knox
125705bddc Changes to build rocr v1.3 from source
Several build definitions changed their name
2016-12-15 16:43:26 -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
7061d64cb4 Upgrading rocm-terminal to ROCm v1.3
Upgraded base distro to Ubuntu:16.04
2016-11-14 13:34:03 -06:00
Kent Knox
66d04fca45 Merge pull request #19 from kknox/hcc-lc-refactor
refactor hcc-lc-clang-tot-upgrade container
2016-11-02 15:50:29 -05:00
Kent Knox
5b1f31b273 Remove comment from hcc cmake command
change path to use /opt/rocm/bin instead of /opt/rocm/hcc-lc/bin
we can only build hcc-lc clang_tot_upgrade at this time
2016-11-02 15:46:49 -05:00
Kent Knox
f9c3299afb Add g++-multilib package, change 'make' to build target 'all'
in hcc-lc dockerfile
2016-10-31 15:45:01 -05:00
Kent Knox
a10546f8a4 Rename the hcc-lc template
It may be necessary to have a different template for each hcc branch,
because building for each branch is sufficiently different that
it is not effective to try to resolve the differences with just a
substitution
2016-10-26 16:45:15 -05:00
Kent Knox
5171ae9c39 Merge pull request #18 from kknox/hcc-clone-recursive
Hcc clone recursive
2016-10-18 11:08:57 -05:00
Kent Knox
e83e68835f Adding -DLLVM_APPEND_VC_REV=ON to clang_tot_upgrade branch
compiler default set to produce FAT binaries for Hawaii & Fiji
2016-10-14 18:13:33 -05:00
Kent Knox
890042b214 hip build & hcc build using git clone --recursive
The hcc repository can track dependent modules better with a
git clone --recursive strategy rather than using the repo tool.  The
repo tool is still used to build ROCm-Device-Libs

Hip is also built inside inside of the container and uses the hcc-lc
build
2016-10-07 16:05:12 -05:00
Kent Knox
986dd219ad Merge pull request #17 from kknox/develop
Removing cmake build artifacts from docker image
2016-10-05 15:39:16 -05:00
Kent Knox
aebb2c67ec Removing cmake build artifacts from docker image
Updated faq in README with 2 new tips
2016-10-05 13:40:38 -05:00
Kent Knox
945f5213bd Merge pull request #16 from kknox/develop
Updating hcc-lc docker to use clang_tot_upgrade branch 👍 💯 : :shipit:
2016-10-03 15:52:02 -05: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
8f79b375e3 Converting hcc-lc dockerfiles to build the newer
clang_tot_upgrade branch
2016-09-28 13:05:39 -05:00
Brandon Potter
9812b971a6 Update cmake version for LLVM (#15)
* Add cmake-3.6.1 build from source for hcc-lc

* Spelling fix in a comment
2016-08-24 09:30:37 -05:00
Kent Knox
937068e1a2 Merge pull request #13 from kknox/develop
Adding a few quick tips for using docker containers
2016-08-16 15:38:34 -05:00
Kent Knox
7ebf750822 Adding quick notes for common docker commands
Typically used while working with ROCm containers
2016-08-12 15:37:09 -05:00
Kent Knox
feb054614f Incomplete fixes to get rocr to compile from src again 2016-07-29 15:07:15 -05:00
Kent Knox
efea7bc857 Adding documentation to Docker Hub hosted rocm-terminal image 2016-07-22 15:06:42 -05:00
Kent Knox
8974fbca5f Adding new asciicast for how to save container state (#12)
Fixing issue in rocm-setup to put #! on the first line
2016-07-20 17:49:46 -05:00
Kent Knox
ac148642e8 Adding rocm-user to sudo group; password no longer required
Removing ENTRYPOINT, adding new CMD to launch bash
2016-06-24 17:04:40 -05:00
Kent Knox
631d65e629 Adding ascii-cast videos of using ROCm-docker to README (#11)
:shipit:
2016-06-02 13:06:51 -05:00
Kent Knox
733ae89dad Merge pull request #10 from kknox/develop
Update to ROCm v1.1 stack
2016-05-13 16:41:44 -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
9b86cff38d Renaming project rocm-project to rocm-terminal
Minor updates to documentation
2016-05-13 10:49:45 -05:00
Kent Knox
56b7a6d283 Merge pull request #9 from kknox/rocr-1.0
:shipit: 

* Refactoring after ROCm 1.0 release

ROCm installation paths have changed, and the 1.0 release created a
new installation heirarchy.

* Refactored rocm-project to use amd apt-get packages repo

In the docker-compose yaml file, a new target to launch rocm-project
without mapping any volumes is available.  This target only uses the
binary bits availalbe from the amd apt-get repo.  The old targets were
merged into a new one, and now map the built from source bits on top
of the amd apt repo data, hiding it.

License changed to MIT

* 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

* 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 16:15:49 -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
3b954c5bbc Refactored rocm-project to use amd apt-get packages repo
In the docker-compose yaml file, a new target to launch rocm-project
without mapping any volumes is available.  This target only uses the
binary bits availalbe from the amd apt-get repo.  The old targets were
merged into a new one, and now map the built from source bits on top
of the amd apt repo data, hiding it.

License changed to MIT
2016-04-27 18:21:12 -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
e5ca14d6cd Fix for hcc-isa build (#7)
* Fixing hcc-isa build

to use install location for amdphdrs

* Adding LICENSE
2016-04-12 16:33:13 -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
d263b2ebf6 Merge pull request #5 from kknox/develop
Updating hcc-isa & hcc-hsails builds 👍
2016-03-29 14:49:11 -05:00
Kent Knox
9f9ab9c000 Updated hcc dockerfiles
hcc-hsail has a new github address
hcc-isa includes new instructions to compile in amdphdrs
roc-setup updated with new command line options for removing images
  and dry-runs
2016-03-29 14:42:30 -05:00
Kent Knox
29a08000c9 Fixes to the hcc-isa dockerfile
Also renamed the hcc-project dockerfile to make it easier to build when
developers derive their own projects.
2016-03-09 18:12:28 -06:00
Kent Knox
33f10a0c41 Merge pull request #4 from kknox/docker-templating
Docker templating 👍
2016-03-09 10:19:38 -06:00
Kent Knox
fcd5cb7983 Merge pull request #3 from kknox/master
Removing hcblas container and adding generic hcc-project container 👍
2016-03-09 10:15:16 -06:00