From 0d35ed912ad74b7afb0510777240045a10a46c7f Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 29 Jan 2014 20:03:28 +0000 Subject: [PATCH] Updated README.TXT with information about using DESTDIR and building with Ninja. Patch by: Dan Liew llvm-svn: 200416 --- libclc/README.TXT | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/libclc/README.TXT b/libclc/README.TXT index 40eddb31e1cb..00ae6bfa40a1 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 -------