added list of package dependencies needed for source build
@@ -107,24 +107,27 @@ The last two commads could be put into your .bash_profile file so you can always
### Source Install
Build and install from sources is possible. However, the source build for AOMP is complex for several reasons.
- Many repos are required. The clone_aomp.sh script ensures you have all repos and the correct branch.
-- Requires that both the Cuda SDK and ROCm are installed regardless of which graphic cards you have.
+- Requires that Cuda SDK 10 is installed. ROCm does not need to be installed for AOMP.
- It is a bootstrapped build. The built and installed LLVM compiler is used to build library components.
- Additional package dependencies are required that are not required when installing the AOMP package.
-To build AOMP from source run these commands.
+To build AOMP from source on ubuntu 16.04, run these commands.
```
- sudo apt-get install FIXME GET DEPS FIXME
+ sudo apt-get install cmake g++-5 g++ pkg-config libpci-dev libnuma-dev libelf-dev libffi-dev
+ sudo dpkg -i cuda-repo-ubuntu1604-10-0-local-10.0.130-410.48_1.0-1_amd64.deb
+ sudo apt-get install cuda
+ sudo apt-key add /var/cuda-repo-10-0-local-10.0.130-410.48/7fa2af80.pub
+ sudo apt-get update
sudo apt-get install cuda
cd $HOME ; mkdir -p git/aomp ; cd git/aomp
git clone https://github.com/rocm-developer-tools/aomp
cd $HOME/git/aomp/aomp/bin
git checkout master
./clone_aomp.sh
- unset LD_LIBRARY_PATH
./build_aomp.sh
```
-Depending on your system, the last two commands could take a very long time.
+Depending on your system, the last two commands and the cuda install could take a very long time.
The source build process above builds the development version of AOMP by checking out the master branch of AOMP. The development version is the next version to be released. It is possible that the development version is broken due to regressions that often occur during development. If you want to build from the sources of a previous release such as 0.6-0, run these commands before running clone_aomp.sh.
```
