From 204aeb03daf43e73546077c8f72538ad3b6ac75b Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 11 Apr 2024 18:24:47 +0200 Subject: codec, remote-opencl: Trying out opencl and ammending parts of codec for it --- modules/remote-opencl/.nix/derivation.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 modules/remote-opencl/.nix/derivation.nix (limited to 'modules/remote-opencl/.nix/derivation.nix') 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"]; +} -- cgit v1.2.3