forked from OSchip/llvm-project
Updated README.TXT with information about using DESTDIR and building with Ninja.
Patch by: Dan Liew llvm-svn: 200416
This commit is contained in:
parent
8a3770ab97
commit
0d35ed912a
|
@ -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
|
||||
-------
|
||||
|
|
Loading…
Reference in New Issue