Updated README.TXT with information about using DESTDIR and building with Ninja.

Patch by: Dan Liew

llvm-svn: 200416
This commit is contained in:
Tom Stellard 2014-01-29 20:03:28 +00:00
parent 8a3770ab97
commit 0d35ed912a
1 changed files with 18 additions and 3 deletions

View File

@ -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
-------