diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-04-11 18:24:47 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-04-11 18:24:47 +0200 |
commit | 204aeb03daf43e73546077c8f72538ad3b6ac75b (patch) | |
tree | 91525622dd7dddb9586ad176b298b579cbdf6a16 /modules/remote-opencl/.nix/derivation.nix | |
parent | 5969e94c88f7db8cfe017190a27faf86b42b1a5f (diff) |
codec, remote-opencl: Trying out opencl and ammending parts of codec for
it
Diffstat (limited to 'modules/remote-opencl/.nix/derivation.nix')
-rw-r--r-- | modules/remote-opencl/.nix/derivation.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/remote-opencl/.nix/derivation.nix b/modules/remote-opencl/.nix/derivation.nix new file mode 100644 index 0000000..564a27f --- /dev/null +++ b/modules/remote-opencl/.nix/derivation.nix @@ -0,0 +1,29 @@ +{ lib +, stdenv +, scons +, clang-tools +, version +, forstio +}: + +let + +in stdenv.mkDerivation { + pname = "forstio-device-opencl"; + inherit version; + src = ./..; + + enableParallelBuilding = true; + + nativeBuildInputs = [ + scons + clang-tools + ]; + + buildInputs = [ + forstio.core + forstio.codec + ]; + + outputs = ["out" "dev"]; +} |