-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added INSTALL files for Darwin and Linux.
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |