diff options
Diffstat (limited to 'modules/sycl/.nix')
| -rw-r--r-- | modules/sycl/.nix/derivation.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/modules/sycl/.nix/derivation.nix b/modules/sycl/.nix/derivation.nix new file mode 100644 index 0000000..4422739 --- /dev/null +++ b/modules/sycl/.nix/derivation.nix @@ -0,0 +1,43 @@ +{ lib +, stdenv +, scons +, clang-tools +, pname +, version +, forstio +, kel +, adaptive-cpp +}: + +stdenv.mkDerivation { + pname = "${pname}-sycl"; + inherit version; + src = ./..; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.async + forstio.codec + forstio.codec-unit + forstio.codec-json + forstio.remote + #forstio.remote-sycl + kel.lbm.core + adaptive-cpp + ]; + + doCheck = true; + checkPhase = '' + scons test + ./bin/tests + ''; + + preferLocalBuild = true; + + outputs = [ "out" "dev" ]; +} |
