Skip to content

Commit

Permalink
Added INSTALL files for Darwin and Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrprice committed Dec 15, 2014
1 parent 56ee687 commit 7e57c1b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
17 changes: 17 additions & 0 deletions INSTALL.darwin
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
To install Oclgrind, simply copy the bin, lib and include directories
to (for example) /usr/local/, ensuring that file modification times
are preserved. The easiest way to do this is with the following
command:

sudo cp -rp {bin,lib,include} /usr/local

Alternatively, Oclgrind can be used from a non-system directory. To do
so, add $OCLGRIND_ROOT/bin to your PATH environment variable, and
$OCLGRIND_ROOT/lib to your DYLD_LIBRARY_PATH environment variable
(where $OCLGRIND_ROOT is the directory containing this file). If
copying Oclgrind to a new location, ensure that the -p flag is passed
to cp, to ensure that file modification times are preserved.

Information about using Oclgrind can be found on the GitHub wiki page:

http://github.com/jrprice/Oclgrind/wiki
20 changes: 20 additions & 0 deletions INSTALL.linux
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
To install Oclgrind, simply copy the bin, lib and include directories
to (for example) /usr/local/, ensuring that file modification times
are preserved. The easiest way to do this is with the following
command:

sudo cp -rp {bin,lib,include} /usr/local

Alternatively, Oclgrind can be used from a non-system directory. To do
so, add $OCLGRIND_ROOT/bin to your PATH environment variable, and
$OCLGRIND_ROOT/lib to your LD_LIBRARY_PATH environment variable (where
$OCLGRIND_ROOT is the directory containing this file). If copying
Oclgrind to a new location, ensure that the -p flag is passed to cp,
to ensure that file modification times are preserved.

To use Oclgrind with the OpenCL ICD loader (optional), copy
oclgrind.icd to /etc/OpenCL/vendors/.

Information about using Oclgrind can be found on the GitHub wiki page:

http://github.com/jrprice/Oclgrind/wiki

0 comments on commit 7e57c1b

Please sign in to comment.