summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2015-04-14 13:04:05 +0800
committerZhigang Gong <zhigang.gong@intel.com>2015-04-14 13:04:05 +0800
commited75dc7af2f8049a1b47e2f1fd7778d07ec8725e (patch)
treeac96c3b1e7a764608b7c31a3d689de4b5172fe4d
parent73a5d9b249f19123ccc4b5a77b5eac61c1ce5a60 (diff)
Doc: add a command to install dependencies.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
-rw-r--r--docs/Beignet.mdwn6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/Beignet.mdwn b/docs/Beignet.mdwn
index e810c00e..5bb6fe01 100644
--- a/docs/Beignet.mdwn
+++ b/docs/Beignet.mdwn
@@ -36,6 +36,12 @@ Note that the compiler depends on LLVM (Low-Level Virtual Machine project).
Right now, the code has been compiled with LLVM 3.3/3.4. It will not compile
with anything older.
+A simple command to install all the above dependencies for ubuntu or debian is:
+
+`sudo apt-get install cmake pkg-config python ocl-icd-dev`
+` ocl-icd-opencl-dev libdrm-dev libxfixes-dev libxext-dev llvm-3.5-dev`
+` clang-3.5 libclang-3.5-dev libtinfo-dev libedit-dev zlib1g-dev`
+
[http://llvm.org/releases/](http://llvm.org/releases/)