diff options
Diffstat (limited to 'modules/remote-sycl/.nix/derivation.nix')
-rw-r--r-- | modules/remote-sycl/.nix/derivation.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/remote-sycl/.nix/derivation.nix b/modules/remote-sycl/.nix/derivation.nix new file mode 100644 index 0000000..2d095df --- /dev/null +++ b/modules/remote-sycl/.nix/derivation.nix @@ -0,0 +1,34 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +, opencl-clhpp +}: + +let + +in stdenv.mkDerivation { + pname = "forstio-device-opencl"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.codec + forstio.async + forstio.io + forstio.io_codec + opencl-clhpp + ]; + + outputs = ["out" "dev"]; +} |