forked from rarias/jungle
Compare commits
2 Commits
87be9325db
...
pkgs/pocl
| Author | SHA1 | Date | |
|---|---|---|---|
|
aacfbbd4a1
|
|||
|
13f075e9e6
|
@@ -1,31 +0,0 @@
|
|||||||
{
|
|
||||||
stdenv,
|
|
||||||
clang-ompss2,
|
|
||||||
nanos6,
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
version = "0.0.1";
|
|
||||||
name = "test-clang-ompss2";
|
|
||||||
src = ./.;
|
|
||||||
buildInputs = [
|
|
||||||
clang-ompss2
|
|
||||||
nanos6
|
|
||||||
];
|
|
||||||
|
|
||||||
env = {
|
|
||||||
# NIX_DEBUG = 1;
|
|
||||||
OCL_ICD_VENDORS = "";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
clang -fompss-2 hello.c -o hello
|
|
||||||
./hello
|
|
||||||
clang++ -fompss-2 hello.cc -o hello
|
|
||||||
./hello
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user