[libclc] 117/291: Updated README.TXT with information about using DESTDIR and building with Ninja.

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit 9f8cb147592f427f9eff629e04b5004fa6ed888e
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed Jan 29 20:03:28 2014 +0000

    Updated README.TXT with information about using DESTDIR and building with Ninja.
    
    Patch by: Dan Liew
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@200416 91177308-0d34-0410-b5e6-96231b3b80d8
---
 README.TXT | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/README.TXT b/README.TXT
index 40eddb3..00ae6bf 100644
--- a/README.TXT
+++ b/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
 -------

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list