aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-01-29 20:03:28 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-01-29 20:03:28 +0000
commit0d35ed912ad74b7afb0510777240045a10a46c7f (patch)
tree524fbd65279e9a347eddc02b122f3c0036e40c0a
parent8a3770ab971dd50d40b3465d4ff725755ab8763a (diff)
downloadllvm-0d35ed912ad74b7afb0510777240045a10a46c7f.zip
llvm-0d35ed912ad74b7afb0510777240045a10a46c7f.tar.gz
llvm-0d35ed912ad74b7afb0510777240045a10a46c7f.tar.bz2
Updated README.TXT with information about using DESTDIR and building with Ninja.
Patch by: Dan Liew llvm-svn: 200416
-rw-r--r--libclc/README.TXT21
1 files changed, 18 insertions, 3 deletions
diff --git a/libclc/README.TXT b/libclc/README.TXT
index 40eddb3..00ae6bf 100644
--- a/libclc/README.TXT
+++ b/libclc/README.TXT
@@ -26,10 +26,25 @@ functions.
libclc currently only supports the PTX target, but support for more
targets is welcome.
-Compiling
----------
+Compiling and installing with Make
+----------------------------------
-./configure.py --with-llvm-config=/path/to/llvm-config && make
+$ ./configure.py --with-llvm-config=/path/to/llvm-config && make
+$ make install
+
+Note you can use the DESTDIR Makefile variable to do staged installs.
+
+$ make install DESTDIR=/path/for/staged/install
+
+Compiling and installing with Ninja
+-----------------------------------
+
+$ ./configure.py -g ninja --with-llvm-config=/path/to/llvm-config && ninja
+$ ninja install
+
+Note you can use the DESTDIR environment variable to do staged installs.
+
+$ DESTDIR=/path/for/staged/install ninja install
Website
-------