[libclc] r200416 - Updated README.TXT with information about using DESTDIR and building with Ninja.

Tom Stellard thomas.stellard at amd.com
Wed Jan 29 12:03:28 PST 2014


Author: tstellar
Date: Wed Jan 29 14:03:28 2014
New Revision: 200416

URL: http://llvm.org/viewvc/llvm-project?rev=200416&view=rev
Log:
Updated README.TXT with information about using DESTDIR and building with Ninja.

Patch by: Dan Liew

Modified:
    libclc/trunk/README.TXT

Modified: libclc/trunk/README.TXT
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/README.TXT?rev=200416&r1=200415&r2=200416&view=diff
==============================================================================
--- libclc/trunk/README.TXT (original)
+++ libclc/trunk/README.TXT Wed Jan 29 14:03:28 2014
@@ -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
 -------





More information about the cfe-commits mailing list