summaryrefslogtreecommitdiffstats
path: root/libclc/README.TXT
diff options
context:
space:
mode:
Diffstat (limited to 'libclc/README.TXT')
-rw-r--r--libclc/README.TXT21
1 files changed, 18 insertions, 3 deletions
diff --git a/libclc/README.TXT b/libclc/README.TXT
index 40eddb31e1c..00ae6bfa40a 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
-------
OpenPOWER on IntegriCloud